Attributes for Controlling IviFgen Simulation

CVI/LabWindows IVI Class Driver

Attributes for Controlling IviFgen Simulation

Two sets of attributes exist for use with the IviFgen 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.

Attributes for Controlling IviFgen 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 IviFgen_self_test function is called, the self-test code parameter (second parameter) returns this value.
SELF_TEST_MSG ViString W N/A Specifies the self-test message. When the IviFgen_self_test function is called, the self-test message parameter (third parameter) returns this string.
ERROR_QUERY_CODE ViInt32 W N/A Specifies the error-query code. When the IviFgen_error_query function is called, the error-query code parameter (second parameter) returns this value.
ERROR_QUERY_MSG ViString W N/A Specifies the error-query message. When the IviFgen_error_query function is called, the error-query message parameter (third parameter) returns this string.
DRIVER_REV_QUERY ViString W N/A Specifies the instrument driver revision message. When the IviFgen_revision_query function is called, the instrument driver revision message parameter (second parameter) returns this string.
INSTR_REV_QUERY ViString W N/A Specifies the firmware revision message. When the IviFgen_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 IviFgen driver functions. Refer to the IviFgen Attributes for Status Simulation table.

Related Topics

Setting Up Simulated Errors

Setting Up Simulation for VXIplug&play