SCPI.DISPlay.USER(Ch).TRACe(Tr).STATe

Object Type

Property (Read-Write)

Syntax

SCPI.DISPlay.USER(Ch).TRACe(Tr).STATe = Value

Value = SCPI.DISPlay.USER(Ch).TRACe(Tr).STATe

Description

This command sets/gets trace state i.e. enable/disable. At least one trace must be turned on., for the selected trace Tr of the selected channel Ch.

Variable

Parameter

   Value

Description

Trace state

Data Type

Boolean type (Boolean)

Range

ON|OFF|1|0

Preset Value

ON

Unit

-

Resolution

-

Preset Effect

Yes

Save-Recall Effect

Yes

Error

61, "Failed to hide trace"

Examples

Dim Var as Boolean
Var= 1
SCPI.DISPlay.USER1.TRACe8.STATe = Var
Var = SCPI.DISPlay.USER1.TRACe8.STATe

Equivalent Key

USER Menu: Trace View > Enable Trace > Trace 1

Equivalent SCPI Command

Syntax

:DISPlay:USER[1-1]:TRACe[1-8]:STATe {ON|OFF|1|0}

:DISPlay:USER[1-1]:TRACe[1-8]:STATe?

Query Response

{ON|OFF|1|0} <newline><^END>

Example of use

10 OUTPUT 717;":DISPlay:USER1:TRACe8:STATe 1"
20 OUTPUT 717;":DISPlay:USER1:TRACe8:STATe ?"
30 ENTER 717;A