Properties for Controlling IviScope Simulation
Note You can set Simulation Attributes 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»Configuring Your System for more information. |
Two sets of properties exist for use with the IviScope Simulation Driver. The following table describes properties that control behavior of the driver. Another table lists properties that simulate the status of specific driver functions.
An IviScope Simulator Setup Dialog Box exists to help you configure the measurement simulation for the IviScope Simulator driver.
Properties for Controlling IviScope 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 uses pop-up user interface panels for getting information from you. 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 IviScope 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 IviScope 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 IviScope Error-Query VI is called, the error-query code parameter returns this value. |
ERROR_QUERY_MSG | String | W | No | Specifies the error-query message. When the IviScope 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 IviScope 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 IviScoope Revision Query VI is called, the firmware revision parameter returns this string. |
WAVEFORM | Int32 | 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 | Real64 | W | Yes | Specifies the frequency of the waveform to simulate at the selected channel. This property does not affect simulation behavior when the NISSCOPE_ATTR_WAVEFORM property is set to 6(DC). Valid Range: 100.0 to 15.0E6 Hz |
AMPLITUDE | Real64 | 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 NISSCOPE_ATTR_WAVEFORM property is set to 6(DC). Valid Range: 50.0E-3 to 10.0 VPP |
DC_OFFSET | Real64 | 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 | Real64 | W | Yes | Specifies the duty cycle to simulate for a square waveform at the selected channel. This property affects simulation behavior only when the NISSCOPE_ATTR_WAVEFORM property is set to 2(Square). Valid Range: 20.0 to 80.0 percent |
PHASE_SHIFT | Real64 | 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 NISSCOPE_ATTR_WAVEFORM property is set to 6(DC). Valid Range: 0.0 to 360.0 degrees |
SNR | Real64 | 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 IviScope driver functions. Refer to the IviScope Properties for Status Simulation table. |