Programming instructions
Getting Started
Using GPIB
Chapter 1 9
GPIB Function Statements
Function statements are the basis for GPIB programming and instrument control. These
function statements combined with SCPI provide management and data communication for the
GPIB interface and the signal generator.
This section describes functions used by different I/O libraries. Refer to the NI-488.2 Function
Reference Manual for Windows, Agilent Standard Instrument Control Library reference
manual, and Microsoft
®
Visual C++ 6.0
documentation for more information.
Abort Function
The Agilent BASIC function ABORT and the other listed I/O library functions terminate
listener/talker activity on the GPIB and prepare the signal generator to receive a new command
from the computer. Typically, this is an initialization command used to place the GPIB in a
known starting condition.
Agilent BASIC The ABORT function stops all GPIB activity.
VISA Library In VISA, the viTerminate command requests a VISA session to terminate
normal execution of an asynchronous operation. The parameter list describes
the session and job id.
NI-488.2
Library The NI-488.2 library function aborts any asynchronous read, write, or
command operation that is in progress. The parameter ud is the interface or
device descriptor.
SICL The Agilent SICL function aborts any command currently executing with the
session id. This function is supported with C/C++ on Windows 3.1 and Series
700 HP-UX.
Microsoft is a registered trademark of Microsoft Corporation.
Table 1-5
Agilent BASIC VISA NI-488.2 Agilent SICL
10 ABORT 7 viTerminate (parameter
list)
ibstop(int ud) iabort (id)