This dialog box includes the following components:
Leave VI Front Panels OpenCauses the converter to leave VIs in memory with their front panels open when conversion is complete rather than disposing of each VI after it is saved to disk. (Off by default.)
Create Library Call on Block DiagramCauses the converter to place a Call Library Function Node on the block diagram of each VI and wire all front panel terminals appropriately. If this option is off, the converter creates only the front panel, and nothing appears on the block diagram. (On by default.)
Use C-Decl Instead of StdCall Calling ConventionSets the default calling convention to cdecl instead of the stdcall. (Off by default.)
Map VISession type to VISA resource nameMaps the VISession type to a VISA resource name. (On by default.)
Add Instrument Error I/O CheckingCauses the converter to place error handling code on the block diagram of each VI that it creates. If you select this option, Error In and Out clusters appear on the front panel, positioned below all other controls and indicators derived from the LabWindows/CVI function panel. A Case structure encloses the front panel terminals and Call Library Function Node on the block diagram, and this Case structure executes only when the status field of Error In is FALSE, indicating no error. (On by default.)
Use SubVI for CVI Error ConversionPlaces a subVI on the block diagram of each VI to map LabWindows/CVI-style error codes to LabVIEW-style error clusters suitable for passing to the General Error Handler. The converter passes to the subVI the integer return value from the Call Library Function Node, the Error In cluster, and the name of the current VI. If the subVI detects an error, it passes the error to Error Out, with status set to TRUE. If the subVI detects a warning, it passes the warning to Error Out, but with status set to FALSE. Otherwise, Error In is passed to Error Out. If you do not select this option, no subVI is placed, and the converter constructs the block diagram so that an error is indicated in Error Out only if the Call Library Function Node return value is less than zero. (On by default.)
Create instr.lib menu mirroring CVI Class HierarchyCauses the converter to create an instr.lib menu that mirrors the LabWindows/CVI class hierarchy. (On by default.)
Include CVI Class Names in VI NamesAutomatically creates a name for each VI based on either the function panel name or the C function name for each instrument driver option. If you select this option, the converter adds the Class name associated with the LabWindows/CVI function panel to the automatically generated name for the function. (Off by default.)
Use C Function Names for VIsCauses the converter to construct VI names from the actual C function names the FP items correspond to, thereby guaranteeing unique results. Normally, the converter constructs the names of the VIs it generates directly from the function panel item names by merely prepending the instrument prefix and appending .vi. Unfortunately, this approach does not always produce unique names for each item, because LabWindows/CVI does not require the leaves of the function panel tree to have unique names.
To avoid problems caused by duplicate names, the converter checks to see if all items are unique when it builds the list of function panel items to be displayed. The converter flags nonunique items with a null symbol and you cannot select them by double-clicking. To prevent problems caused by duplicate names, the converter invokes a one button alert when it first opens its dialog box when it detects such name conflicts and automatically turns on the Use C Function Names option. If you prefer to use the function panel names instead, you can turn off this option manually and then individually rename the items with name conflicts. Renamed items retain their user-supplied names even when you change the Use C Function Names option. (Off by default.)
Capitalize and Remove Underscores in NamesBecause names built from C function names tend to be less readable than those derived from the function panel item names, this option attempts to make them more readable by capitalizing initial letters and replacing underscores with spaces. Because it cannot expand abbreviations, the results still might not be as readable as the FP names, but this problem is inevitable when you have duplicate FP item names and you do not want to rename them individually.
Convert All Control Names to LowercaseConverts object names to lowercase to conform to VXIplug&play standards. (On by default.)
Assign Instrument Driver Icon Based on NameAssigns icons to VIs based on the name of the generated VIs. The converter searches for keywords such as initialize, close, selftest, reset, configure, or measure in the name of the function and uses the corresponding icon. If it finds no keywords, the converter uses a default icon. Additionally, the instrument prefix appears in the icon at the top left, displaying up to a maximum of seven characters. (On by default.)
Add Front Panel Controls for Size of Array ParametersCauses the converter to place objects on the front panel of the VI that set the size of array parameters. Remember that when an instrument driver DLL function outputs an array, you must allocate memory for that array and pass that memory into the DLL beforehand. (On by default.)
Default Size for Array ParametersSets the default size, in elements, to allocate for arrays. When a Call Library Function Node has an array as an argument, the converter drops an Initialize Array function to create an array to pass into the node. The Default Size for Array Parameters option specifies the initial size of such arrays. The converter generates a warning in the .out file so that you can easily find VIs that contain this construct and handle special cases individually.