NIDCPOWER_ATTR_DRIVER_SETUP

NI-DCPower Function Reference

NIDCPOWER_ATTR_DRIVER_SETUP

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViString RO Device None niDCPower_InitWithOptions

Description

Indicates the Driver Setup string that the user specified when initializing the driver. Some cases exist where the user must specify instrument driver options at initialization time. An example of this is specifying a particular device model from among a family of devices that the driver supports. This is useful when simulating a device.

The user can specify driver-specific options through the DriverSetup keyword in the optionsString parameter in the niDCPower_InitWithOptions function. If the user does not specify a Driver Setup string, this attribute returns an empty string.