SCPI.SYSTem.SET

Object Type

Method (Write Only)

Syntax

SCPI.SYSTem.SET = Value

Description

This command recalls the state of the instrument when the *LRN? query is executed. The contents to be recalled depends on the contents of the block data.

If the block data contains trace state, the trigger source (:SCPI.TRIGger.SEQuence.SOURce) becomes "MANual".  The result of *LRN? query contains ":SYSTem:SET " prefix. Hence, the *LRN? simply executes this command.

This command requires instrument settings by binary block data (same as Save/Recall state file contents).

 

This command is available at the revision A.11.0x and above.

This command appears on the VBA editor with Auto_complete_Feature, however, this is not supported on VBA/COM.

Variable

Parameter

Value

Description

This command recalls the state of the instrument when the *LRN? query is executed.

Data Type

Binary (byte)

Related objects

SCPI.IEEE4882.LRN

Equivalent Key

No equivalent key is available on the front panel.

Equivalent SCPI Command

Syntax

:SYSTem:SET

Example of use (VISA-COM)

 

    Dim SETData() As Byte, NoofByte As Double

 

    '*** Recall the State data from the file, State01.sta is a state file saved by E5071C

    Open "C:\State01.sta" For Binary As #1

        NoofByte = LOF(1)

        ReDim SETData(NoofByte)

        Get #1, , SETData()

    Close

           

    '*** Send the State file data to E5071C

    Age507x.WriteIEEEBlock ":SYST:SET ", SETData, True