Agilent Technologies E8663B Portable Generator User Manual


 
Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide 65
Programming Examples
GPIB Programming Interface Examples
Clear Function
The HP Basic function CLEAR and the other listed IO library functions clear the signal generator.
Output Function
The HP Basic IO function OUTPUT and the other listed IO library functions put the signal generator
into a listen mode and prepare it to receive ASCII data, typically SCPI commands.
NI-488.2 The NI-488.2 library function places the interface in local
mode and allows operation of the signal generator’s front
panel keys. The ud parameter in the parameter list is the
interface or device descriptor.
ibloc (int ud)
SICL The Agilent SICL function puts the signal generator into
Local operation; enabling front panel key operation. The id
parameter identifies the session.
iloc(id)
Library Function Statement Initialization Command
HP Basic The CLEAR 719 function halts all pending output-parameter
operations, resets the parser (interpreter of programming
codes) and prepares for a new programming code, stops any
sweep in progress, and turns off continuous sweep.
10 CLEAR 719
VISA Library The VISA library uses the viClear function. This function
performs an IEEE 488.1 clear of the signal generator.
viClear(ViSession vi)
NI-488.2 The NI-488.2 library function sends the GPIB Selected
Device Clear (SDC) message to the device described by ud.
ibclr(int ud)
SICL The Agilent SICL function clears a device or interface. The
function also discards data in both the read and write
formatted IO buffers. The id parameter identifies the
session.
iclear (id)
Library Function Statement Initialization Command
HP Basic The function OUTPUT 719 puts the signal generator into
remote mode, makes it a listener, and prepares it to receive
data.
10 OUTPUT 719
VISA Library The VISA library uses the above function and associated
parameter list to output data. This function formats
according to the format string and sends data to the device.
The parameter list describes the session id and data to send.
viPrintf(parameter list)
Library Function Statement Initialization Command