E4990A Help
646
Examples
Dim Var as Long
Ana.WriteString ":SYST:SERV?", True
Var=Ana.ReadNumber
Equivalent Softkey
Displayed on the instrument status bar (at the bottom of the LCD display).
COM Command Syntax (Internal Control Only)
SCPI.SYSTEM.SERVICE
:SYST:SET
Type
Command
Syntax
: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 (:TRIG:SOUR)
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).
Variable
Parameter Value
Description
Command Setup
Data Type Binary Type
Examples
Dim SETData() As Byte, NoofByte As Double
'*** Recall the State data from the file, State01.sta is a state file saved by E4990A
Open "C:\State01.sta" For Binary As #1
NoofByte = LOF(1)
ReDim SETData(NoofByte)
Get #1, , SETData()
Close
'*** Send the State file data to E4990A