Add to My manuals
88 Pages

advertisement

 | Manualzz

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