Specifications

University of Hertfordshire
31
MTA: Set Controller to Talker
MLA: Set Controller to Listen
REN: Remote Enable
TALK <adr>: Set device address as talker
UNL: Unlisten
UNT: Untalk
Shortcuts for above commands
RECEIVE <adr>: same as “MLA TALK <adr>, this command is used to start receiving the
data from the specified address (GPIB device).
SEND <adr> <data>: same as “MTA LISTEN <adr> DATA <data>, this command is used
to send the data to specified address (GPIB device).
6.3 Spectrum Analyser Control on Linux
To preset the Spectrum Analyser:
c460-00:~ # echo MTA LISTEN 18 DATA IP| cat -> /dev/gpib0
or shortcut as:
c460-00:~ # echoSEND 18 IP’”| cat - > /dev/gpib0
MTA will set the Linux machine as talker, LISTEN will put the Spectrum Analyser in listen mode,
18 is the default address of HP 8591 EM Spectrum Analyser. IP is a Spectrum Analyser
programming command, which is used to preset the Spectrum Analyser. /dev/gpib0/ stands for the
device currently connected with GPIB Card, the Spectrum Analyser in this case.