Properties for Controlling IviDigitizer Simulation
Note You can set Simulation properties in MAX on the Initial Settings tab of IVI Drivers»Advanced»Simulation Driver Sessions»nisIviClass or in the simulation interactive panels. Refer to National Instruments IVI Driver Help»IVI Driver Help Introduction»Configuring Your System for more information. |
You can use two sets of properties with the IviDigitizer Simulation Driver. One set of properties, described in the following table, controls the behavior of the driver. The other set of properties simulates the status of specific driver VIs.
Use the IviDigitizer Simulator Setup Dialog Box to configure the measurement simulation for the IviDigitizer Simulator Driver.
Properties for Controlling IviDigitizer Simulation
Name | Data Type | Access | Applies To | Description |
---|---|---|---|---|
INTERACTIVE_SIMULATION | Boolean | W | No | Specifies whether to set the driver to interactive mode. In interactive mode, the simulation driver displays 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 | Integer | W | No | Specifies the self-test code. When the IviDigitizer Self-Test VI is called, the self-test result parameter returns this value. |
SELF_TEST_MSG | String | W | No | Specifies the self-test message. When the IviDigitizer Self-Test VI is called, the self-test message parameter returns this string. |
ERROR_QUERY_CODE | Integer | W | No | Specifies the error-query code. When the IviDigitizer Error-Query VI is called, the error code parameter returns this value. |
ERROR_QUERY_MSG | String | W | No | Specifies the error-query message. When the IviDigitizer Error-Query VI is called, the error message parameter returns this string. |
DRIVER_REV_QUERY | String | W | No | Specifies the instrument driver revision message. When the IviDigitizer Revision Query VI is called, the instrument driver revision parameter returns this string. |
INSTR_REV_QUERY | String | W | No | Specifies the firmware revision message. When the IviDigitizer Revision Query VI is called, the firmware revision parameter returns this string. |
WAVEFORM | Double | W | Yes | Specifies the waveform to simulate at the selected channel. Defined Values: 1—Sine 2—Square 3—Triangle 4—Ramp-up 5—Ramp-down 6—DC |
FREQUENCY | Double | W | Yes | Specifies the frequency of the waveform to simulate at the selected channel. This property does not affect simulation behavior when the NISDIGITIZER_ATTR_WAVEFORM property is set to 6 (DC). Valid Range: 100.0 to 15.0E6 Hz |
AMPLITUDE | Double | W | Yes | Specifies the peak-to-peak amplitude of the waveform to simulate at the selected channel. This property does not affect simulation behavior when the NISDIGITIZER_ATTR_WAVEFORM property is set to 6 (DC). Valid Range: 50.0E–3 to 10.0 VPP |
DC_OFFSET | Double | W | Yes | Specifies the DC offset of the waveform to simulate at the selected channel. Valid Range: –5.0 to 5.0 V |
DUTY_CYCLE | Double | W | Yes | Specifies the duty cycle to
simulate for a square waveform at the selected channel. This property affects simulation behavior only when the NISDIGITIZER_ATTR_WAVEFORM property is set to 2 (Square). Valid Range: 20.0 to 80.0 percent |
PHASE_SHIFT | Double | W | Yes | Specifies the start phase shift to simulate for a waveform at the selected channel. This property does not affect simulation behavior when the NISDIGITIZER_ATTR_WAVEFORM property is set to 6 (DC). Valid Range: 0.0 to 360.0 degrees |
SNR | Double | W | Yes | Specifies the signal-to-noise ratio to simulate at the selected channel. The signal-to-noise ratio determines the amount of noise to simulate during waveform acquisition. Valid Range: 0.001 to +inf |
SIMULATE_STATUS_CODE | Boolean | W | No | Specifies whether to simulate return codes from the IviDigitizer driver VIs. |