Language Reference

TRSTAT

TRSTAT

Return the status of the active trace.

Example

10

ALLOCATE Status$[40]

De￿ne computer array for storing characters .

 

20

OUTPUT 723;"TRSTAT?;"

Query trace states .

 

30

ENTER 723 USING "-K";States$

Store response in States$, including line

 

 

 

feeds.

Description

Query Response

The TRSTAT query returns the status of traces A, B, and C. The status can be clear-write, blank, max-hold, min-hold, on (view mode), or o￿.

In a query response, trace A is described ￿rst, followed by trace B and trace C. Writing status describes how the trace data is updated with each sweep. Display status tells whether the trace is displayed on the display.

￿MAX is queried when trace data is updated using positive-peak detection.

￿WRITE is queried when the trace is updated with normal detection.

￿ON is queried when the trace is displayed.

￿OFF is queried for both writing and display status when the trace is not updated with each sweep.

7-511