advertisement
Chapter 1 Overview
1.2 Native Mode
In this instrument, the syntax/format types of the remote control commands are defined as “Language mode.” The language mode has two modes: SCPI and Native.
The SCPI mode processes commands conforming to the syntax/format defined in SCPI (ver1999.0). For programming, you can use character strings in long/short form and can omit definition character strings within square brackets ([ ]).
On the Configuration screen, the SCPI mode is automatically set after transmitting command SYST:LANG SCPI.
The Native mode processes commands that are in this instrument's own definition type. Unless otherwise specified, the character string of a command header is fixed. If application commands are defined only by the SCPI mode, character strings converted according to the conversion rules are the commands in the Native mode. For programming, you cannot use the grammar of the SCPI mode, such as character strings in long/short form and cannot omit any definition character strings within square brackets ([ ]).
On the Configuration screen, the Native mode is automatically set after transmitting SYST:LANG NAT.
Note:
The STATus:QUEStionable and STATus:OPERation registers cannot be used in the Native mode, even if the corresponding commands are converted to Native-mode commands according to the conversion rules.
1-4
SCPI Mode
Command definition
AAAAaa:BBBBbb[:CCCCcc]:D|E <n>
Programming examples:
AAAAaa:BBBBbb:CCCCcc:D 0
AAAA:BBBB:CCCC:D 0
AAAA:BBBB:D 0
AAAA:BBBB:CCCC:E 0
AAAA:BBBB:E 0
SYST:LANG SCPI
Native Mode (Initial setting)
Command definition(Original)
VWXYZ1 <n>
Programming examples:
VWXYZ 0
Command Definition (Converted from SCPI) AAAA:BBBB:D <n>
Programming examples:
AAAA:BBBB:D 0
SYST:LANG NAT
Figure 1.2-1 SCPI and Native modes
This application is only defined as the SCPI mode commands. You need to follow the conversion rules below in order to control this application by using the Native mode.
1
Conversion Rules
[1] Move the numeric parameter in the program header of an SCPI command before the argument. Delete a numeric parameter which only has one value and can be deleted. Describe the argument if it cannot be deleted.
[2] Use the first one if multiple nodes can be selected.
[3] Delete those layers which can be deleted.
[4] Alter all long forms into short forms.
[5] Delete the colon mark (“:”) at the head.
Example
To convert :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel <real> into a Native mode command.
[1] Delete a numeric parameter in the program header which only has one value and can be deleted.
:DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel <real>
↓
:DISPlay:WINDow:TRACe:Y:[SCALe]:RLEVel <real>
1-5
Chapter 1 Overview
[2] Delete those layers which can be deleted.
:DISPlay:WINDow:TRACe:Y[:SCALe]:RLEVel <real>
↓
:DISPlay:WINDow:TRACe:Y:RLEVel <real>
[3] Alter all long forms into short ones.
:DISPlay:WINDow:TRACe:Y:RLEVel
<real>
↓
:DISP:WIND:TRAC:Y:RLEV <real>
[4] Delete the colon mark (“:”) at the head.
:
DISP:WIND:TRAC:Y:RLEV <real>
↓
DISP:WIND:TRAC:Y:RLEV <real>
1-6
advertisement
Related manuals
advertisement
Table of contents
- 1 Cover
- 2 Safety Symbols
- 5 About This Manual
- 7 Table of Contents
- 9 Chapter 1 Overview
- 10 1.1 Overview
- 10 1.1.1 Interface
- 11 1.1.2 Controlled Application
- 12 1.2 Native Mode
- 15 1.3 Setting Numeric Program Data
- 17 Chapter 2 SCPI Device Message Details
- 20 2.1 Selecting Application
- 21 2.1.1 Load Application
- 21 :SYSTem:APPLication:LOAD PNOISE
- 21 :SYSTem:APPLication:UNLoad PNOISE
- 22 2.1.2 Selecting Application
- 22 :INSTrument[:SELect] PNOISE|SIGANA|SPECT|CONFIG
- 23 :INSTrument[:SELect]?
- 24 :INSTrument:SYSTem PNOISE,[ACTive]|INACtive|MINimum
- 25 :INSTrument:SYSTem? PNOISE
- 26 2.1.3 Initialization
- 26 :INSTrument:DEFault
- 26 :SYSTem:PRESet
- 27 2.2 Setting Basic Parameter
- 28 2.2.1 Carrier Frequency
- 28 [:SENSe]:FREQuency:CENTer <freq>
- 29 [:SENSe]:FREQuency:CENTer?
- 30 2.2.2 Start Offset
- 30 [:SENSe]:FREQuency:OFFSet:STARt <rel_freq>
- 30 [:SENSe]:FREQuency: OFFSet:STARt?
- 31 2.2.3 Stop Offset
- 31 [:SENSe]:FREQuency:OFFSet:STOP <rel_freq>
- 31 [:SENSe]:FREQuency: OFFSet:STOP?
- 32 2.2.4 Reference Level
- 32 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel <real>
- 33 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel?
- 34 2.2.5 RF Attenuator
- 34 [:SENSe]:POWer[:RF]:ATTenuation <rel_ampl>
- 35 [:SENSe]:POWer[:RF]:ATTenuation?
- 36 2.2.6 RF Attenuator Auto/Manual
- 36 [:SENSe]:POWer[:RF]:ATTenuation:AUTO OFF|ON|0|1
- 36 [:SENSe]:POWer[:RF]:ATTenuation:AUTO?
- 37 2.2.7 Level Offset
- 37 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel:OFFSet <rel_power>
- 37 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel:OFFSet?
- 38 2.2.8 Level Offset State
- 38 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel:OFFSet:STATe OFF|ON|0|1
- 38 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RLEVel:OFFSet:STATe?
- 39 2.2.9 Pre Amp
- 39 [:SENSe]:POWer[:RF]:GAIN[:STATe] OFF|ON|0|1
- 39 [:SENSe]:POWer[:RF]:GAIN[:STATe]?
- 40 2.2.10 Log Scale Line
- 40 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:LINE <line>
- 40 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:LINE?
- 41 2.2.11 Reference Value
- 41 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]:RVALue <real>
- 41 :DISPlay:WINDow[1]:TRACe:Y[:SCALe]: RVALue?
- 42 2.2.12 External Mixer
- 42 [:SENSe]:MIXer[:STATe] ON|OFF|1|0
- 43 [:SENSe]:MIXer[:STATe]?
- 44 [:SENSe]:MIXer:BAND VHP|EHP
- 45 [:SENSe]:MIXer:BAND?
- 46 2.3 Utility Function
- 47 2.3.1 Erase Warm Up Message
- 47 :DISPlay:ANNotation:WUP:ERASe
- 47 2.3.2 Display Title
- 47 :DISPlay:ANNotation:TITLe[:STATe] OFF|ON|0|1
- 48 :DISPlay:ANNotation:TITLe[:STATe]?
- 48 2.3.3 Title Entry
- 48 :DISPlay:ANNotation:TITLe:DATA <string>
- 49 :DISPlay:ANNotation:TITLe:DATA?
- 50 2.4 Common Measurement Function
- 51 2.4.1 Measurement and Control
- 51 :INITiate:CONTinuous OFF|ON|0|1
- 51 :INITiate:CONTinuous?
- 52 :INITiate:MODE:CONTinuous
- 52 :INITiate:MODE:SINGle
- 53 :INITiate[:IMMediate]
- 53 :CONFigure?
- 54 2.4.2 Save Result Data
- 54 :MMEMory:STORe:TRACe [<filename>[,<device>]]
- 55 2.5 Log Plot Measurement
- 57 2.5.1 Measure
- 57 :CONFigure:LPLot
- 57 :INITiate:LPLot
- 58 :FETCh:LPLot[n]?
- 59 :READ:LPLot[n]?
- 59 :MEASure:LPLot[n]?
- 60 2.5.2 Average Count
- 60 [:SENSe]:LPLot:AVERage:COUNt <integer>
- 60 [:SENSe]:LPLot:AVERage:COUNt?
- 61 2.5.3 Marker Mode
- 61 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:MODE NORMal|INTEgralnoise|RMSNoise|JITTer|RESIdualfm|OFF
- 62 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:MODE?
- 63 2.5.4 Analysis Width
- 63 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:WIDTh:STARt <rel_freq>
- 64 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:WIDTh:STARt?
- 65 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:WIDTh:STOP <rel_freq>
- 66 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:WIDTh:STOP?
- 67 2.5.5 Marker Frequency Offset
- 67 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:X <rel_freq>
- 68 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:X?
- 69 2.5.6 Marker Result
- 69 :CALCulate:LPLot:MARKer[1]|2|3|4|5|6|7|8:Y?
- 71 Chapter 3 SCPI Status Register
- 72 3.1 Querying Measurement Status
- 72 :STATus:ERRor?
- 73 3.2 STATus:QUEStionable Register
- 75 :STATus:QUEStionable[:EVENt]?
- 75 :STATus:QUEStionable:CONDition?
- 76 :STATus:QUEStionable:ENABle <integer>
- 76 :STATus:QUEStionable:ENABle?
- 77 :STATus:QUEStionable:NTRansition <integer>
- 77 :STATus:QUEStionable:NTRansition?
- 78 :STATus:QUEStionable:PTRansition <integer>
- 78 :STATus:QUEStionable:PTRansition?
- 79 :STATus:QUEStionable:MEASure[:EVENt]?
- 79 :STATus:QUEStionable:MEASure:CONDition?
- 80 :STATus:QUEStionable:MEASure:ENABle <integer>
- 80 :STATus:QUEStionable:MEASure:ENABle?
- 81 :STATus:QUEStionable:MEASure:NTRansition <integer>
- 81 :STATus:QUEStionable:MEASure:NTRansition?
- 82 :STATus:QUEStionable:MEASure:PTRansition <integer>
- 82 :STATus:QUEStionable:MEASure:PTRansition?
- 83 3.3 STATus:OPERation Register
- 84 :STATus:OPERation[:EVENt]?
- 84 :STATus:OPERation:CONDition?
- 85 :STATus:OPERation:ENABle <integer>
- 85 :STATus:OPERation:ENABle?
- 86 :STATus:OPERation:NTRansition <integer>
- 86 :STATus:OPERation:NTRansition?
- 87 :STATus:OPERation:PTRansition <integer>
- 87 :STATus:OPERation:PTRansition?