Click or drag to resize

NRT_NO_VISA Symbol

The NRT_NO_VISA preprocessor symbol is used to control whether or not the Nimbus Runtime Library is compiled with support for the VISA library.

#define NRT_NO_VISA
Remarks

When NRT_NO_VISA is defined, then VISA is not required to be installed on the driver developer computer nor on the end user computer using the compiled driver, as no VISA dependencies will be included when building the driver. Such drivers must implement specific I/O functions that would otherwise be implemented using VISA library calls. These functions are discussed in the section on I/O Functions. In addition to these functions, the driver developer must use an alternate mechanism, such as a custom DLL or support library, for all driver and attribute implementations.

When NRT_NO_VISA is not defined, then the Nimbus Runtime Library compiles in calls into the VISA library. Thus, VISA must be installed on the driver developer and on the end user computer using the driver, as VISA dependencies will be included in the driver. When VISA support is compiled into the driver, the Nimbus Runtime Library implements several important I/O Functions automatically. Also, Nimbus can be instructed to implement driver functions and attributes using standard VISA function calls such as viPrintf and viScanf.

Important note Important

This NRT_NO_VISA symbol should not be explicitly defined in driver developer code. This symbol is controlled by an MSBuild property in the IVI-C driver project file.

Download a complete CHM version of this documentation here.