Socket server examples, Visual basic example – GW Instek PSW-Series Programming & Command manual User Manual

Page 45

Advertising
background image

REMOTE CONTROL

45

Socket Server Examples

Visual Basic Example ............................................................ 45

C++ Example ........................................................................ 46

LabVIEW Example ............................................................... 48

Visual Basic Example

Background

The following visual basic programming
example uses the VISA COM 3.0 Type Library.
The example will connect to the PSW using the
IP address of 172.15.5.133 over port 2268. The
program will send the *IDN? to the PSW, print
the return string and then close the connection.

Advertising