Starting The Instrument Control - Keysight Technologies B2961B Programming Manual

Low noise power source
Hide thumbs Also See for B2961B:
Table of Contents

Advertisement

Starting the Instrument Control

The following program code is one of the simple program template for starting and
ending the communication between the computer and the instrument. For using
the code, the instrument address must be set to the
Sub Main()
End Sub
The
Keysight B2961B/B2962B Programming Guide, Edition 1
Dim rm As Ivi.Visa.Interop.ResourceManager
Dim ioObj As Ivi.Visa.Interop.FormattedIO488
Dim address As String =
rm = New Ivi.Visa.Interop.ResourceManager
ioObj = New Ivi.Visa.Interop.FormattedIO488
ioObj.IO = rm.Open(address)
' insert your code for instrument control
ioObj.IO.Close()
value depends on the interface as shown below.
address
For using the GPIB interface
The
value is the VISA GPIB Connect String displayed on the GPIB
address
Configuration dialog box opened by pressing the More > I/O > GPIB function
keys.
Example:
address = "GPIB0::23::INSTR"
For using the USB interface
The
value is the VISA USB Connect String displayed on the USB
address
Status dialog box opened by pressing the More > I/O > USB function keys.
Example:
address = "USB0::10893::12345::XY00001234::0::INSTR"
For using the LAN interface
The
value is as follows.
address
address = "TCPIP0::xxx.yyy.zzz.aaa::5025::SOCKET"
Where, xxx.yyy.zzz.aaa is the IP Address displayed on the LAN Configuration
dialog box opened by pressing the More > I/O > LAN > Config function keys.
Example:
address = "TCPIP0::192.168.0.1::5025::SOCKET"
Controlling the Keysight B2961B/B2962B
"enter address of your instrument"
Before Starting
variable correctly.
address
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

B2962b

Table of Contents