Fluke PM6681R Expression Data, Summary, Other Data Types, Example, S E N S F U N C F R E Q R

Models: PM6685 PM6685R PM6681 PM6681R

1 276
Download 276 pages 1.51 Kb
Page 32
Image 32
Expression Data

Introduction to SCPI

￿Example

SEND:SYST:TOUT￿ON or :SYST:TOUT￿1

This switches timeout monitoring on.

A query, for instance :SYSTem:TOUT?, will return 1 or 0; never ON or OFF.

Expression Data

You must enclose expression program data in parenthesis (). Three possibilities of expression data are as follows:

<numeric expression data> <parameter list>

<channel list>

An example of <numeric expression data> is: (X – 10.7E6) This subtracts a 10.7 MHz intermediate frequency from the mea- sured result.

An example of <parameter list> is: (5,0.02) This is a list of two parameters; the first one is 5 and the second one 0.02.

An example of <channel list> is: (@3),(@1) This specifies channel 3 as the main channel and channel 1 as the second

channel.

Summary

Other Data Types

Other data types that can be used for pa- rameters are the following:

String data: Always enclosed between sin- gle or double quotes, for example

“This is a string” or ‘This is a string.’

Character data: For this data type, the same rules apply as for the command header mnemonics. For example: POSitive, NEG- ative, EITHer.

Non-decimal data: For instance, #H3A for hexa decimal data.

Block data: Used to transfer any 8-bit coded data. This data starts with a pream- ble that contains information about the length of the parameter.

Example:

#218INP:IMP￿50;SENS￿10

H e a d e r s e p a r a t o rS e m ic o lo n

 

 

 

 

 

 

 

 

s e p a r a t e s S tinh eg le

 

o r d o u b le

A

q u e s t

io n

 

 

 

s e p a r a t e s s e v e r a l

 

d if f e r e n t

qpuaortes

inofd aic a t e s

 

m a r k

 

in

d ic a t e s

 

 

 

p r o g r a m

m e s s a g e s

 

 

c o m p o u n d

shteraind eg r d a t a

 

t h a t

a

r e s p o n s e

 

 

 

in a s t r in g

 

 

 

 

 

 

 

 

 

 

 

 

is

r e q u e s t e d

 

 

 

 

[ : S E N S ] : F U N C " F R E Q : R

A

 

T 3 , 1 " ; : C

 

S p a c e

 

A le a d in g c o lo n

lin e

s e p a rCaotme ms

a

 

 

 

N e w

s he op wa rs a Pt hea asr et ntthhee s is

S q u a r e b r a c k e t s

 

 

 

 

 

 

 

 

 

 

h e a d es resv e r a lf odlloataw inf iegd ldic saetnedss

 

a

in d ic a t e s t h a t t h e

 

 

m e s s a g e

f r o m fdrao tma

e accohm mo tahneedxrp r e s s io n

t e x t in s id e is

 

s t a r t s dfartoam

t h e

 

 

o p t io n a l

 

 

 

 

 

 

r o o t le v e l o f t h e

 

 

 

 

 

 

c o m m a n d t r e e

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3-12 Parameters
Page 32
Image 32
Fluke PM6681R manual Expression Data, Summary, Other Data Types, Example, S E N S F U N C F R E Q R, T 3 , 1 C, Parameters