6-6 USING 488.1 GPIB IEEE 488.1 level com mands are in the form of data byte codes with the
attention ( ATN ) line set. A separate function is normally pro vided to drive
these commands from a GPIB pro gram. A typical GPIB driver library call for
488.1 and 488.2 is given for each of the following com mands. Refer to the
IEEE 488.1 and IEEE488.2 device driver manu als for full definitions of the re -
sponses, and to find the actual command format for your GPIB driver li brary.
Com mands
De vice CLear ( DCL )
and Se lected De vice
Clear ( SDC )
These com mands clear the GPIB de vice in ter face and have the fol low ing
ef fects:
q All buff ered mes sages wait ing to be proc essed are cleared.
q All buff ered data wait ing to be read from the de vice is cleared.
q Stop any pend ing ac tions.
For ex am ple, if a re quest for data has been sent, and the sys tem is wait ing for
the read ing to be trig gered, the sys tem would wait un til the read ing has been
pro vided be fore any fur ther GPIB com mands can be proc essed. The de vice
clear will clear the data re quest so fur ther GPIB com mands af ter the de vice
clear has com pleted can be ac tioned .
Typi cal de vice li brary calls are 488.1 'ibclr' and 488.2 'DevClear' .
De vice trig ger (GET) This com mand trig gers a GPIB de vice. An ac tion pre de fined by the setup of
the de vice be ing trig gered will take place. On the ML2400A Se ries, the de vice
trig ger pro vides a trig ger of the type de fined by the GTn com mands pre vi ously
sent and a read ing put into the out put buffer for each dis play chan nel that is
not OFF. In Pro file mode, the pro file dis play for the se lected chan nel only is
out put.
Typi cal de vice li brary calls are 488.1 'ibtrg' and 488.2 'Tri gger'.
Goto lo cal ( GTL ) This com mand forces the de vice out of re mote mode and into lo cal op era tion
mode. The lo cal op era tion keys and menus are now avail able.
Typi cal de vice li brary calls are 488.1 'ibloc' and 488.2 'E nabl eL ocal' .
In ter face clear (IFC) This is part of the GPIB ini tiali za tion and forces the board to the con trol ler in
charge.
Typi cal de vice li brary calls are 488.1 'ibsic' and 488.2 'Se ndIFC' .
Lo cal lock out (LLO) Sends the lo cal lock out to all de vices. The lo cal lock out dis ables the 'LOCAL'
key on all the de vices.
Typi cal de vice li brary calls are 488.1 'i bco nfig' plus cor rect op tion and 488.2
'SendLLO'.
6-6 ML2400A OM
USING 488.1 GPIB GPIB OPERATION