Data; Tstamp:format <Name - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

Description
Program fragment
3.22.6
Description
Program fragment
3.22.7
Parameters
Query
Description
Program fragment
This command is used to select the buffer control. With NEVer selected, storage into the buffer
is disabled. After cycling power, NEVer is selected. With any of the other selections, storage is
performed as long as buffer feed is not set for NONE (see :TRACe:FEED NONE). When
NEXT is selected, the storage process starts, fills the buffer and then stops. The buffer size is
specified by the :POINts command.
When ALWays is selected, the storage process starts and continues to store readings even after
the buffer fills. After the buffer fills, readings overwrite the previously stored readings.
When PRETrigger is selected, the buffer stores 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 fill with new readings. The storage process stops when
the post trigger portion of the buffer becomes full with new readings (see
:TRACe:FEED:PRETrigger).
PRINT #1, "output 16; :trac:feed:cont next; cont?"
PRINT #1, "enter 16"

:DATA?

:TRACe:DATA?
Send buffer readings
When this command is sent and the Model 2002 is addressed to talk, all the readings stored in
the buffer are sent to the computer. The format that readings are sent over the bus is controlled
by the :FORMat subsystem.
PRINT #1, "output 16; :trac:data?"
PRINT #1, "enter 16"
:TSTamp:FORMat <name>
:TRACe:TSTamp:FORMat <name>
<name> = ABSolute
DELTa
:FORMat? Query timestamp format
This command is used to select the timestamp format for buffer readings. With ABSolute
selected, each timestamp is referenced to the first reading stored in the buffer. With DELTa
selected, timestamps provide the time between each buffer reading. See paragraphs 3.14
(:FORMat: ELEMents) and 3.21.14 (:SYSTem:TSTamp) for more information.
PRINT #1, "output 16; :trac:tst:form delt; form?"
PRINT #1, "enter 16"
' Read entire buffer
' Get readings from 2002
Select timestamp format
Reference to first buffer reading
Time between buffer readings
IEEE-488 Reference
' Fill buffer and stop
' Get response from 2002
' Select DELTa timestamp and
query
' Get response from 2002
3-151

Advertisement

Table of Contents
loading

Table of Contents