Kikusui BIM1000 Series User Manual page 78

Battery impedance meter
Table of Contents

Advertisement

Remote Control | Using Visual Basic 2017
The I/O resource syntax is shown below. The parts surrounded by square brackets ([ ]) can be omitted.
Enter the appropriate values in the parts written in italics.
Serial (RS232C)
USB
In VISA, you can use aliases for I/O resources.
If you use an alias for an I/O resource, even if the alias name is hard-coded in the application, the I/O
resource name can still be changed to an appropriate value when the application runs.
Example: Using an alias (MYDEV1) for an I/O resource
Set msg = rm.Open("MYDEV1", NO_LOCK, 0, "")
When you use aliases, specify the actual I/O resources through an external configuration table or similar
tool. Refer to the VISA manual.
Controlling the instrument
Next, we will use commands such as read and write commands to control the instrument. You must
include line-feed codes in the command strings.
Examples:
msg.WriteString ("TRIG:SOUR INT" & vbLf) ' Set the trigger source to internal trigger.
Closing VISA
Finally, close VISA.
In a sequence of operations, you only have to open and close VISA once.
msg.Close
78
User's Manual
ASRL[board][::INSTR]
Example: A measuring instrument connected to serial port COM1
ASRL1::INSTR
USB[board]::VendorID::ProductID::SerialNumber[::InterfaceNumber][::INSTR]
Example: A USBTMC measuring instrument whose vendor ID (VID) is 2878, product
ID (PID) is 4182, and serial number is 00000001
USB0::0x0B3E::0x1056::00000001::INSTR
BIM1000 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bim1030Bim1100

Table of Contents