Programming
1381
returns a value so that the VISA functions can apply it to the specified
instrument. The parameters of this function are startup information
(Defrm), the address information of the specified instrument
("GPIB0::17::INSTR" in ctrl_ext.vba), access mode (0 in ctrl_ext.vba),
timeout (0 in ctrl_ext.vba), and connection information (Equip in
ctrl_ext.vba).
Syntax
viOpen(param1, param2, param3, param4, param5)
Parameters
Parameter (param1)
Description Startup information (input)
Data type Long integer type
Parameter (param2)
Description Address information of the specified instrument (input)
Data type Character string type
Syntax "GPIB0::gpib address::INSTR"
"USB0::manufacturer ID::model code::serial
number::0::INSTR"
(ex. "USB0::2391::2312::MY12345678::0::INSTR")
"TCPIP0::IP address::inst0::INSTR"
Parameter (param3)
Description Access mode (Enter 0)
Parameter (param4)
Description Timeout (Enter 0)
Parameter (param5)