beautypg.com

Programming the bnc model 835-3 – BNC 835-3 Programmer Manual User Manual

Page 6

background image

2. Programming the BNC MODEL 835-3

The BNC Model 835-3 signal generator can be remotely programmed via a 10/100/1000Base-T

LAN interface and LAN-connected computer using one of several LAN interface protocols. The

LAN allows instruments to be connected together and controlled by a LAN- based computer.

LAN and its associated interface operations are defined in the IEEE 802.2 standard.

The BNC MODEL 835-3 support the following LAN interface protocols:

1) Socket based LAN: the application programming interface (API) provided with the

instrument supports general programming using the LAN interface under Windows

operating system.

2)

VXI-11/SCPI (version 1999) commands

3) Telephone Network (TELNET): TELNET is used for interactive, one command at a

time instrument control.

4)

Internet protocol using a web browser (Firefox, Internet Explorer) (firmware 2.2

upwards)

For LAN operation, the signal generator must be connected to the LAN, and an IP address must

be assigned to the signal generator either manually or by using DHCP client service. Your

system administrator can tell you which method to use. (Most current LAN networks use

DHCP.)

DHCP Configuration

If the DHCP server uses dynamic DNS to link the hostname with the assigned IP address, the

hostname may be used in place of the IP address. Otherwise, the hostname is not usable.

Using Sockets LAN

Sockets LAN is a method used to communicate with the signal generator over the LAN

interface using the Transmission Control Protocol/Internet Protocol (TCP/IP). A socket is a

fundamental technology used for computer networking and allows applications to communicate

using standard mechanisms built into network hardware and operating systems. The method

accesses a port on the signal generator from which bidirectional communication with a network

computer can be established.

Sockets LAN can be described as an internet address that combines Internet Protocol (IP) with

a device port number and represents a single connection between two pieces of software. The

socket can be accessed using code libraries packaged with the computer operating system.

Two common versions of socket libraries are the Berkeley Sockets Library for UNIX systems

and Winsock for Microsoft operating systems.

Your signal generator implements a socket Applications Programming Interface (API) that is

compatible with Berkeley socket for UNIX systems, and Winsock for Microsoft systems. The

signal generator is also compatible with other standard sockets APIs. The signal generator can