Programming Interfaces
Agilent 81250 String Interface Library
22
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
Agilent 81250 String Interface
Library
The Agilent 81250 String Interface library provides basic functions for
connecting to an Agilent 81250 firmware server either on the local
machine or via LAN.
C Implementation
To implement the Agilent 81250 String Interface library in C, include
the file
hp81200.h
.
VB Implementation
To implement the Agilent 81250 String Interface library in
VisualBasic, import the file
hp81200.bas
into your project.
The following commands are available:
A program using the Agilent 81250 String Interface library has the
following structure:
• Connect to the firmware server.
• Send any SCPI commands or queries.
• Handle errors as necessary.
• Disconnect from the firmware server.
N O T E
It is recommended that you explicitly disconnect from the firmware
server at the end of your program. Otherwise, it may not be possible to
connect again.
See
“Example Implementations” on page 26
for code examples in C
and VisualBasic.
C Command
VB Command
Described under:
Connect_HP81200
VB_CONNECT_HP81200
“Connect_HP81200” on
page 23
Call_HP81200
VB_CALL_HP81200
“Call_HP81200” on page 24
GetErrStr_HP81200
VB_GETERRSTR_HP81200
“GetErrStr_HP81200” on
page 25
Disconnect_HP81200
VB_DISCONNECT_HP81200
“Disconnect_HP81200” on
page 25
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com