Fluke PM6685 사용자 설명서
n
Example
SEND→ :SYST:TOUT8ON or
:SYST:TOUT81
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.
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:IMP850;SENS810
3-12 Parameters
Introduction to SCPI
H e a d e r s e p a r a t o r
s e p a r a t e s t h e
d i f f e r e n t p a r t s o f a
c o m p o u n d h e a d e r
S i n g l e o r d o u b l e
q u o t e i n d i c a t e s
s t r i n g d a t a
S e m i c o l o n
s e p a r a t e s s e v e r a l
p r o g r a m m e s s a g e s
i n a s t r i n g
A q u e s t i o n
m a r k i n d i c a t e s
t h a t a r e s p o n s e
i s r e q u e s t e d
S q u a r e b r a c k e t s
i n d i c a t e s t h a t t h e
t e x t i n s i d e i s
o p t i o n a l
S p a c e
s e p a r a t e s
h e a d e r s
f r o m d a t a
C o m m a s e p a r a t e s
s e v e r a l d a t a f i e l d s
f r o m e a c h o t h e r
A l e a d i n g c o l o n
s h o w s t h a t t h e
f o l l o w i n g
c o m m a n d
s t a r t s f r o m t h e
r o o t l e v e l o f t h e
c o m m a n d t r e e
P a r e n t h e s i s
i n d i c a t e s
e x p r e s s i o n
d a t a
N e w l i n e
e n d s a
m e s s a g e
[ : S E N S ] : F U N C " F R E Q : R A T 3 , 1 " ; : C A L C : M A T H ( X - 2 ) ; : R E A D ?
Summary