![]() |
CNiIviDmm()







Public Constructor |
Declared in: NiIviDmm.h |
Declaration
inline CNiIviDmm( const CString &resourceName, bool idQuery = true, bool reset = true, const CString &options = "");
Description
Constructor. This constructor uses the resource descriptor you provided to create a new instrument driver session and initialize the object with the resource descriptor.
Parameters
Logical name that identifies the particular virtual instrument to use. The virtual instrument, in turn, identifies a specific driver and device and specifies the initial settings for the session. You configure the logical name, virtual instrument, specific driver, and device with National Instruments Measurement and Automation Explorer.
If you want to use your program with a different physical instrument, change the configuration of the logical name to use the virtual instrument for the new physical instrument. You can change the initial settings for the session by changing the configuration of the virtual instrument.
Specifies if you want the instrument driver to verify that the instrument you initialize is a type that this driver supports.
Specifies if you want to reset the instrument during the initialization procedure.
Set the initial values for the following properties:
- RangeCheck
- QueryInstrStatus
- Cache
- Simulate
- RecordCoercions
- Spy
- InterchangeCheck
The format of this string is "propertyName=value" where propertyName is the name of the property and value is the value to which the property will be set. To set multiple properties, separate their assignments with a comma. If you do not specify a value for a property, the driver uses the value from National Instruments Measurement and Automation Explorer.