Home : Support : Online Help : MapleSim Toolboxes : MapleSim Connector for LabVIEW and NI VeriStand Software : LabVIEWConnector Package : Deprecated Components : LabVIEWConnector/VCprojGeneration(deprecated)

LabVIEWConnector

 VCprojGeneration
 generate a project file for Visual Studio(R)

 Calling Sequence VCprojGeneration(ModelName, opts)

Parameters

 ModelName - string; name of the Visual Studio project file opts - (optional) equation(s) of the form name = value

Options

 Specifies the additional include directories for the Visual Studio project.
 Specifies the additional header files to be included in the Visual Studio project.
 Specifies the additional source files to be included in the Visual Studio project.
 • outputdirectory = string
 Specifies the output directory of the shared library generated from the Visual Studio project. The default value is "$(SolutionDir)/$(ConfigurationName)".
 Specifies a header file with the model name, created in the Visual Studio project. Set this option to false when generating a model for LabVIEW SIT. The default value is true.
 • MSlibrary = truefalse
 Specifies whether the MSVCRT.lib or LIBCMT.lib library is used in the code generation project. When this option is set to true, the MSVCRT.lib library is used. To create a LabVIEW SIT model, set this option to true. The default value is false.

Description

 • Important: The VCprojGeneration command has been deprecated. Use the superseding commands LabVIEWConnector[GenerateCode] and LabVIEWConnector[CompileCode] instead.
 • The VCprojGeneration command returns a string that contains the Visual Studio project file in XML format. This project file is compatible with Visual Studio 2003, Visual Studio 2005, and Visual Studio 2008. To create a project file for LabVIEW EMI and SIT code generation, set the additionalinclude option to \$LABVIEWPath + "/CCodeGen/Simulation".