beautypg.com

BNC 835-3 Programmer Manual User Manual

Page 7

background image

be controlled using predefined SCPI functions once the socket connection is established in your

program. Socket connection is available on port 18.

Using and Configuring VXI-11 (VISA)

The signal generator supports the LAN interface protocol described in the VXI- 11 standard.

VXI- 11 is an instrument control protocol based on Open Network Computing/Remote

Procedure Call (ONC/RPC) interfaces running over TCP/IP.

A range of standard software such as NI-VISA or Agilent IO Config is available to setup the

computer/signal generator interface for the VXI- 11 protocol. Please refer to the applicable

software user manual and documentation for information on running the program and

configuring the VXI-11 interface. The program is used to configure the LAN client. Once the

computer is configured for a LAN client, you can use the VXI- 11 protocol and the VISA library

to send SCPI commands to the signal generator over the LAN interface. Example programs are

available on request under

support@Berkeley Nucleonics.com

.

VISA is an IO library used to develop IO applications and instrument drivers that comply with

industry standards. It is recommended that the VISA library be used for programming the

signal generator. The NI-VISA and Agilent VISA libraries are similar implementations of VISA

and have the same commands, syntax, and functions.

Using SCPI for BNC MODEL 835-3

The Standard Commands for Programmable Instrumentation (SCPI) provides a uniform and

consistent language to control programmable test and measurement devices in

instrumentation systems. The SCPI Standard is built on the foundation of IEEE-488.2,

Standard Codes and Formats. It requires conformance to IEEE-488.2, but is pure software

standard. SCPI syntax is ASCII text, and therefore can be attached to any computer test

language, such as BASIC, C, or C++. It can also be used with Test Application Environments

such as LabWindows/CVI, LabVIEW™, or Matlab®. SCPI is hardware independent. SCPI strings

can be sent over any instrument interface. It works equally well over GPIB, RS-232, VXIbus or

LAN networks.

Please see the chapter 4 for detailed description of supported SCPI commands.

Using Telnet LAN

Telnet provides a means of communicating with the signal generator over the LAN. The Telnet

client, run on a LAN connected computer, will create a login session on the signal generator. A

connection, established between computer and signal generator, generates a user interface

display screen with “>” prompts on the command line.

Using the Telnet protocol to send commands to the signal generator is similar to

communicating with the signal generator over LAN. You establish a connection with the signal