Technical data

6 Agilent Connectivity Guide
6 Programming Your Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . .133
Programming Overview . . . . . . . . . . . . . . . . . . . . . 134
Obtaining Instrument Drivers . . . . . . . . . . . . . . . 135
Using Agilent IO Libraries Suite Sample Code . 136
Using VISA COM in Other
Visual Basic Projects . . . . . . . . . . . . . . . . . . . 136
Addressing Instruments . . . . . . . . . . . . . . . . . . . . . . 138
Addressing Instruments via GPIB . . . . . . . . . . . . 139
Addressing Instruments via USB . . . . . . . . . . . . 142
Addressing Instruments via LAN . . . . . . . . . . . . 143
Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
7 TCP/IP Network Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
LAN Interface Overview . . . . . . . . . . . . . . . . . . . . . 160
Typical Network Topologies . . . . . . . . . . . . . . . . 160
LAN Hardware Architecture . . . . . . . . . . . . . . . . 162
TCP/IP Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
The TCP/IP Network Model . . . . . . . . . . . . . . . . 165
The Network Interface Layer . . . . . . . . . . . . . . . 167
The Internet Layer . . . . . . . . . . . . . . . . . . . . . . . . 168
The Transport Layer . . . . . . . . . . . . . . . . . . . . . . 169
The Application Layer . . . . . . . . . . . . . . . . . . . . 171
IP Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
IP Address Classes . . . . . . . . . . . . . . . . . . . . . . . 175
Subnets and Subnet Masks . . . . . . . . . . . . . . . . . 177
Local and Remote Networks . . . . . . . . . . . . . . . . 178
IP Address Configuration Methods . . . . . . . . . . . . . 180
Configuration Methods Overview . . . . . . . . . . . . 180
Dynamic Host Configuration Protocol (DHCP) . 181