beautypg.com

Ommand overview, Configuri ng the u sb i nterf ace, Command syntax – GW Instek GDS-1000A Series Programming Manual User Manual

Page 3

background image

INTE

RFACE

O

V

ERVIEW

5

C

onfiguri

ng the

U

SB I

nterf

ace

USB co

nnecti

on

PC side

conne

ctor

Type A, host

GDS-10

00A

si

de

connector

Type B,

slave

Speed

1.

1/2

.0

(f

ul

l s

peed)

Pane

l operatio

n

1.

Connect the USB c

able to

the

U

SB s

la

ve por

t on the

rear

.

2.

When the PC

ask

s

for the

U

SB dr

iver, se

lect

dso_

cdc_10

00a

.inf

whi

ch

is

downl

oa

d

ab

le f

rom

the GW Instek website,

w

ww.gwin

stek.com

, in

the GDS-1

000A downl

oa

d

s secti

on.

3.

On the PC,

ac

ti

va

te a termina

l a

ppli

ca

ti

on such

as

MTTTY (Mult

i-Threaded TTY). To check the

COM port No., see the De

vice M

an

ager

in the

PC. For

W

ind

owsXP,

select

Cont

rol pan

el

System

H

ardware

tab.

4.

R

u

n thi

s

query comma

nd vi

a the termi

nal

applic

at

ion

.

*idn?

This comm

an

d shou

ld

ret

urn t

he man

u

fa

ct

urer

,

model n

u

mber, serial num

ber, an

d

firm

ware

version

in t

he

fol

lowin

g

for

m

at

.

GW,

GDS-

115

2A, 00

000

000

1, V

1.00

5.

Config

urin

g t

he command

int

erf

ace

is

compl

eted.

Ref

er to the ot

her cha

pters for more

details.

Pa

ge6

: list of

comma

nds

and comma

nd

synta

x

Page

13:

detail

s of

each

com

m

and

GDS-1000A

Pr

ogramming

Manual

6

C

OMMAND OVERVIEW

The Comman

d

overview

c

hapter lists all GDS-

1000

A comm

an

ds i

n

fu

nct

iona

l order as

wel

l as

alph

abetical

order. The co

mmand syntax section

shows yo

u th

e bas

ic

syntax

rules

you

have to

apply when using comma

nds.

C

ommand Syntax

Co

m

pa

ti

bl

e

standard

USB CDC_ACM comp

atible

SC

PI, 1

99

4 (p

art

ial

ly

com

pat

ib

le

)

C

ommand format

trig:del

:mod

<

NR1>

LF

12

3

4

1: com

m

and

header

2: sin

gle

spac

e

3:

pa

ra

me

te

r

4: m

ess

age

te

rm

inat

or

Parameter

T

ype

Description

Example

boolean

logic

0,

1

R1>

Int

egers

0, 1,

2

, 3

R2>

decim

al

nu

m

bers

0.

1, 3.

14

, 8.

5

R3>

fl

oa

ti

ng poi

nt

4.

5e

-1

, 8.25

e+1

Rf>

any o

f NR

1,

2

, 3

1,

1.

5,

4

.5

e-

1

Mes

sa

ge

term

ina

tor

LF^END

line

fee

d

code

(hex

adec

ima

l 0A)

with END

me

ssage

LF

lin

e f

eed

c

od

e

^EN

D

la

st da

ta

byte wi

th END m

essa

ge

Note

Commands

are non-c

ase sensitive.