beautypg.com

V 1 = 0 1 0 a – GW Instek GRS-6000A Series User Manual

Page 36

background image

GRS-6052A/6032A OSCILLOSCOPE

USER MANUAL

⎯ ⎯

66

5-8.2. RS-232 Remote Control

Command Syntax

All commands syntax is ASCII format. If you want to transfer any of the

instructions to an instrument, there are five basic elements must be included.

z

Command header:

Distinguish commands

z

Command type:

Equal mark (=): Sets instrument state

Question mark (?): Queries instrument state

z

Parameter (if required)

Instrument states value

z

Target (if required)

Some commands need to be assigned specific channel

z

Message terminator or separator

Command

Header

Command

Type

Parameter

Target

Message

terminator

or separator

2 bytes

1 byte

3 bytes

1 byte

1 byte

GRS-6052A/6032A OSCILLOSCOPE

USER MANUAL

⎯ ⎯

67

Here are some valid examples remote control commands (not including message

terminator):

V 1 = 0 1 0 A

H 4 = 0 0 1

M2?

* I D N ?

The following example includes the header, type, value for the parameter, and target

(This command will set channel 1 vertical gain at 20mV/DIV):

V 1 = 0 1 0 A

Command Header: V1

Command Type: =

Parameters: 010

Target: A

Note: The GRS-60X2A is sensitive to the case of command characters. All of the

commands are uppercase.