![Kikusui BIM1000 Series Скачать руководство пользователя страница 77](http://html.mh-extra.com/html/kikusui/bim1000-series/bim1000-series_user-manual_1966754077.webp)
BIM1000 Series
User’s Manual
77
Remote Control
Using Visual Basic 2017
This appendix will explain how to use Visual Basic 2017 and the VISA library to communicate with the
product through its RS232C or USB interface.
Configuring a project
First, add the communication middleware (VISA library) to the project.
Click References on the Project menu to open the Reference Manager window. On the navigation pane,
click COM and then Type Libraries.
From the list in the center of the window, select “VISA COM *.* Type Library” (where *.* is the VISA library
version number), and select the check box.
Click OK to close the dialog box.
Communicating through RS232C or USB
Opening VISA
Before you can use the VISA library to communicate with RS232C and USB devices, you have to open
VISA. Specify an I/O resource to open VISA.
Example: Opening VISA when using USB on the BIM1000 series
Set rm = CreateObject("VISA.GlobalRM")
Set msg = rm.Open("USB::0x0B3E::0x1056::00000001::INSTR", NO_LOCK, 0, "")
“USB::0x0B3E::0x1056::00000001::INSTR” is an I/O resource.
Содержание BIM1000 Series
Страница 93: ......