![Tektronix PFG 5105 Скачать руководство пользователя страница 73](http://html1.mh-extra.com/html/tektronix/pfg-5105/pfg-5105_instruction-manual_1077779073.webp)
Programming
Multiple Messages
The Input Buffer has finite capacity and thus a single
message may be long enough to fill it. In this case,
a portion of the message is processed before the
instrument accepts additional input. During command
processing, the instrument holds off additional data
(by asserting N RFD) until space is available in the
buffer. When space is available, the instrument can
accept a second message before the first has been
processed. However, it holds off additional messages
with NRFD until it completes processing the first.
After the instrument executes a
query-output
com
mand
in a message, it holds the response in its
Output Buffer until the controller makes the instrument
a talker. If the instrument receives a new message
before all of the output from the previous message
is read, it clears the Output Buffer before executing
the new message. This prevents the controller from
getting unwanted data from old messages.
One other situation may cause the instrument to
delete output. The execution of a long message might
cause both the Input and Output Buffers to become
full. When this occurs, the instrument cannot finish
executing the message because it is waiting for the
controller to read the data it has generated; but the
controller cannot read the data because it is waiting
to finish sending its message. Because the instrument
Input Buffer is full and it is holding off the rest of the
controller's message with NRFD, the system is hung
up with the controller and instrument waiting for each
other. When the instrument detects this condition, it
generates an error, asserts SRQ and deletes the data
in the Output Buffer. This action allows the controller
to transmit the rest of the message, and informs the
controller that the message was executed and that
the output was deleted.
A TM 5000 instrument can be made a talker without
having received a message that specifies the output.
In this case, an acquisition instrument (a counter or
a multimeter) returns a measurement if one is ready.
If no measurement is ready, it returns a single byte
message with all bits equal to 1 (with message
terminator). Non-acquisition TM 5000 instruments will
return only this message.
3-28
Instrument Response to IEEE-488
Interface Messages
Interface messages and the effects of those messages
on the instrument interface functions are defined in
IEEE Standard 488.1-1987. Abbreviations from the
standard are used in this discussion, which describes
the effects of interface messages on instrument opera
tion. Where appropriate, the GPIB code is listed, in
decimal.
UNL -Unlisten (63 with ATN))
UNT -Untalk (95 with ATN)
When the UNL command is received, the instrument
listener function goes to its idle state (unaddressed).
In the idle state, the instrument will not accept
instrument commands from the I EEE-488 bus.
The talker function goes to its idle state when the
instrument receives the UNT command. In this state,
the instrument cannot supply output data via the bus.
The addressed indicator is off when both the talker
and listener functions are idle. If the instrument is
either talk-addressed or listen-addressed, the indicator
is on.
IFC -lnterface Clear (Bus pin 9)
This uniline message has the same effect as both
the UNT and UNL messages. The front panel AD
DRESSED indicator is off.
DCL -Device Clear (20 with ATN)
The Device Clear message reinitializes communication
between the instrument and controller. In response
to DCL, the instrument clears any input and output
messages and any unexecuted settings in the Pending
Settings Buffer. Also cleared are any errors or events
waiting to be reported, except the power-on event.
If the SRQ line is asserted for any reason other than
power-on when DCL is received, SRQ is unasserted.
SOC -Selected Device Clear (4 with ATN)
This message performs the same function as DCL;
however, only instruments that are listen-addressed
respond to SDC.
GET -Group Execute Trigger (8 with ATN)
The instrument responds to < GET > only if it is
listen-addressed and the instrument device trigger
function has been enabled by the Device Trigger
· command (DT). The < GET > message is ignored
and an SRQ generated if the OT function is disabled
(DT OFF), the instrument is in the local state, or if
a message is being processed when < GET > is
received.
PFG 5105/5505 Instruction Manual
Содержание PFG 5105
Страница 1: ...PFG 5105 PF G 5505 Programmable Pulse Function Generator...
Страница 9: ...i I...
Страница 27: ......
Страница 87: ......
Страница 89: ......