
2260B
Series
Programming Manual
32
Socket Server Examples
Visual Basic Example........................................................... 32
C++ Example ....................................................................... 33
LabVIEW Example .............................................................. 35
Visual Basic Example
Background
The following visual basic programming
example uses the VISA COM 3.0 Type Library.
The example will connect to the 2260B using the
IP address of 172.15.5.133 over port 2268. The
program will send the *IDN? query to the
2260B, print the return string and then close the
connection.