Programming
1383
in ctrl_ext.vba), the format parameter for the output variable (%t in
ctrl_ext.vba), and the output variable (Prod in ctrl_ext.vba).
Syntax
viVScanf(param1, param2, param3)
Parameters
Parameter (param1)
Description Connection information (input)
Data type Long integer type
Parameter (param2)
Description Format parameter for the output variable
Data type Character string type
Parameter (param3)
Description Output variable (output)
Data type Character string type
STEP 4. Disconnection
The disconnection session is handled in Line 280. VISA's viClose function
disconnects communication and terminates the VISA system. The
parameter of this function is startup information (Defrm in ctrl_ext.vba).
Syntax
viClose(param)
Parameter
Parameter (param)
Description Startup information (input)
Data type Long integer type
Sample Program to Read Out the Product Information of Peripheral (Instrument)