IEEE-488 Reference
4-218
Programming example 10 OUTPUT 716; “:trac:feed:pret:sour bus; sour?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Two commands in this program message; the first selects a bus trigger as the pre-
trigger source event, and the second queries the source.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays the source event (BUS).
:CONTrol [BUFFER,] <name>
:TRACe:FEED:CONTrol [BUFFER,] <name> Specify buffer control
Parameters <name> = NEVer Disables buffer storage
= NEXT Fills buffer and stops
= ALWays Continuously stores readings in buffer
= PRETrigger Use pre-trigger mode to store readings
Format :trac:feed:cont <name>
Defaults Power-up NEVer
*RST No effect
:SYSTem:PRESet No effect
Query :CONTrol? [BUFFER,] Query buffer control
Short-form format: :trac:feed:cont?
Response message: NEV, NEXT, ALW or PRET
Description This command is used to select the buffer control. With NEVer selected, storage into the buffer
is disabled. With any of the other selections, storage will be performed as long as buffer feed is
not set for NONE (see :TRACe:FEED NONE). When NEXT is selected, the storage process
will start, fill the buffer and then stop. The buffer size is specified by the :POINts command.
When ALWays is selected, the storage process will start and continue to store readings even after
the buffer fills. After the buffer fills, readings will overwrite the previously stored readings.
When PRETrigger is selected, the buffer will store readings continuously (like ALWays) until
the programmed pre-trigger event occurs. When the pre-trigger event occurs, the section of the
buffer specified for post-trigger readings will fill with new readings. The storage process will
stop when the post-trigger portion of the buffer becomes full with new readings (see
:TRACe:FEED:PRETrigger).