Q U E R Y I N G P A R A M E T E R S E T T I N G; S C P I C O M M A N D T E R M I N A T O R; I E E E - 4 8 8 . 2 C O M M O N C O M M A N D - Agilent Technologies E3633A Operating Manual

Hide thumbs Also See for E3633A:
Table of Contents

Advertisement

Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
Querying Parameter Settings
Y o u c a n q u e r y t h e v a l u e o f m o s t p a r a m e t e r s b y a d d i n g a
t h e c o m m a n d . F o r e x a m p l e , t h e f o l l o w i n g c o m m a n d s e t s t h e o u t p u t c u r r e n t
t o 5 a m p s :
' '
Y o u c a n q u e r y t h e v a l u e b y e x e c u t i n g :
' '
Y o u c a n a l s o q u e r y t h e m i n i m u m o r m a x i m u m v a l u e a l l o w e d w i t h t h e p r e s e n t
f u n c t i o n a s f o l l o w s :
' '
' '
C a u t i o n
If you send two query commands without reading the response from the first, and then
attempt to read the second response, you may receive some data from the first response
followed by the complete second response. To avoid this, do not send a query
command without reading the response. When you cannot avoid this situation, send
a device clear before sending the second query command.
SCPI Command Terminators
A c o m m a n d s t r i n g s e n t t o t h e p o w e r s u p p l y
c h a r a c t e r . T h e I E E E - 4 8 8 E O I ( e n d - o r - i d e n t i f y ) m e s s a g e i s i n t e r p r e t e d a s a
<
n e w l i n e
o f a <
a l s o a c c e p t e d . C o m m a n d s t r i n g t e r m i n a t i o n w i l l a l w a y s r e s e t t h e c u r r e n t S C P I
c o m m a n d p a t h t o t h e r o o t l e v e l . T h e <
d e c i m a l c o d e o f 1 0 .
IEEE-488.2 Common Commands
T h e I E E E - 4 8 8 . 2 s t a n d a r d d e f i n e s a s e t o f c o m m o n c o m m a n d s t h a t p e r f o r m
f u n c t i o n s l i k e r e s e t , s e l f - t e s t , a n d s t a t u s o p e r a t i o n s . C o m m o n c o m m a n d s
a l w a y s b e g i n w i t h a n a s t e r i s k ( * ) , a r e f o u r t o f i v e c h a r a c t e r s i n l e n g t h , a n d
m a y i n c l u d e o n e o r m o r e p a r a m e t e r s . T h e c o m m a n d k e y w o r d i s s e p a r a t e d
f r o m t h e f i r s t p a r a m e t e r b y a
m u l t i p l e c o m m a n d s a s s h o w n b e l o w :
104
C URR 5
' '
C URR?
' '
C URR? MAX
' '
C URR? MIN
' '
> c h a r a c t e r a n d c a n b e u s e d t o t e r m i n a t e a c o m m a n d s t r i n g i n p l a c e
n e w l i n e
> c h a r a c t e r . A <
* RST; *CLS; *ESE 32; *OPC?
' '
m u s t
t e r m i n a t e w i t h a <
c a r r i a g e r e t u r n
> f o l l o w e d b y a <
n e w l i n e
> c h a r a c t e r h a s t h e A S C I I
b l a n k s p a c e
. U s e a
s e m i c o l o n
"
q u e s t i o n m a r k
( ? ) t o
n e w l i n e
>
n e w l i n e
> i s
( ; ) t o s e p a r a t e

Advertisement

Table of Contents
loading

This manual is also suitable for:

E3634a

Table of Contents