Attributes for IviDCPwr Simulation
Two sets of attributes exist for use with the IviDCPwr Simulation Driver. The following table describes attributes that control behavior of the driver. Another table lists attributes that simulate the status of specific driver functions.
An IviDcPwr Simulator Setup Dialog Box exists to help you configure the measurement simulation for the IviDcPwr Simulator driver.
IviDCPwr Attributes for Controlling Simulation
Name | Data Type | Access | Applies To | Description |
---|---|---|---|---|
INTERACTIVE_SIMULATION | ViBoolean | W | N/A | Specifies whether to set the driver to interactive mode. In interactive mode, the simulation driver provides you with pop-up user interface panels in which to enter information. Non-interactive mode is useful when you do not want the interactive panels to interrupt your test program. |
SELF_TEST_CODE | ViInt32 | W | N/A | Specifies the self-test code. When the IviDCPwr_self_test function is called, the selfTestCode parameter (second parameter) returns this value. |
SELF_TEST_MSG | ViString | W | N/A | Specifies the self-test message. When the IviDCPwr_self_test function is called, the selfTestMessage parameter (third parameter) returns this string. |
ERROR_QUERY_CODE | ViInt32 | W | N/A | Specifies the error-query code. When the IviDCPwr_error_query function is called, the errorQueryCode parameter (second parameter) returns this value. |
ERROR_QUERY_MSG | ViString | W | N/A | Specifies the error-query message. When the IviDCPwr_error_query function is called, the errorQueryMessage parameter (third parameter) returns this string. |
DRIVER_REV_QUERY | ViString | W | N/A | Specifies the instrument driver revision message. When the IviDCPwr_revision_query function is called, the instrument driver revision message parameter (second parameter) returns this string. |
MEASUREMENT_BASEV | ViReal64 | W | Channel | Specifies the value of computer generated measurement for this channel. Simulated measurements fall between the range of the value of the NISDCPWR_ATTR_MEASUREMENT_NOISEV attribute plus this value and the value of the NISDCPWR_ATTR_MEASUREMENT_NOISEV attribute minus this value. |
MEASUREMENT_NOISEV | ViReal64 | W | Channel | Specifies the reading noise of the computer generated measurement for this channel. Simulated measurements fall between the range of the value of the NISDCPWR_ATTR_MEASUREMENT_BASEV attribute plus this value and the value of the NISDCPWR_ATTR_MEASUREMENT_BASEV attribute minus this value. |
MEASUREMENT_BASEA | ViReal64 | W | Channel | Specifies the value of computer generated measurement for this channel. Simulated measurements fall between the range of the value of the NISDCPWR_ATTR_MEASUREMENT_NOISEA attribute plus this value and the value of the NISDCPWR_ATTR_MEASUREMENT_NOISEA attribute minus this value. |
MEASUREMENT_NOISEA | ViReal64 | W | Channel | Specifies the reading noise of the computer generated measurement for this channel. Simulated measurements fall between the range of the value of the NISDCPWR_ATTR_MEASUREMENT_BASEA attribute plus this value and the value of the NISDCPWR_ATTR_MEASUREMENT_BASEA attribute minus this value. |
INSTR_REV_QUERY | ViString | W | N/A | Specifies the firmware revision message. When the IviDCPwr_revision_query function is called, the firmware revision message parameter (third parameter) returns this string. |
SIMULATE_STATUS_CODE | ViBoolean | W | N/A | Specifies whether to simulate return codes from the IviDCPwr driver functions. Refer to the Attributes for IviDCPwr Simulation table for more information. |