Download Print this page

Agilent Technologies E3632A User Manual page 103

Dc power supply
Hide thumbs Also See for E3632A:

Advertisement

Chapter 4 Remote Interface Reference
The SCPI Status Registers
The SCPI Status Registers
A l l S C P I i n s t r u m e n t s i m p l e m e n t s t a t u s r e g i s t e r s i n t h e s a m e w a y . T h e s t a t u s
s y s t e m r e c o r d s v a r i o u s i n s t r u m e n t c o n d i t i o n s i n t h r e e r e g i s t e r g r o u p s : t h e
S t a t u s B y t e r e g i s t e r , t h e S t a n d a r d E v e n t r e g i s t e r , a n d t h e Q u e s t i o n a b l e S t a t u s
r e g i s t e r g r o u p s . T h e s t a t u s b y t e r e g i s t e r r e c o r d s h i g h - l e v e l s u m m a r y
i n f o r m a t i o n r e p o r t e d i n t h e o t h e r r e g i s t e r g r o u p s . T h e d i a g r a m o n t h e
s u b s e q u e n t p a g e s i l l u s t r a t e s t h e S C P I s t a t u s s y s t e m u s e d b y t h e p o w e r s u p p l y .
W h a t i s a n E v e n t R e g i s t e r ?
e v e n t r e g i s t e r
A n
i s a r e a d - o n l y r e g i s t e r t h a t r e p o r t s d e f i n e d c o n d i t i o n s w i t h i n
t h e p o w e r s u p p l y . B i t s i n a n e v e n t r e g i s t e r
a r e l a t c h e d
. O n c e a n e v e n t b i t i s s e t ,
s u b s e q u e n t s t a t e c h a n g e s a r e i g n o r e d . B i t s i n a n e v e n t r e g i s t e r a r e
*ESR?
a u t o m a t i c a l l y c l e a r e d b y a q u e r y o f t h a t r e g i s t e r ( s u c h a s
o r
STAT:QUES:EVEN?
*CLS
) o r b y s e n d i n g t h e
( c l e a r s t a t u s ) c o m m a n d . A r e s e t
* RST
(
) o r d e v i c e c l e a r w i l l n o t c l e a r b i t s i n e v e n t r e g i s t e r s . Q u e r y i n g a n e v e n t
r e g i s t e r r e t u r n s a d e c i m a l v a l u e w h i c h c o r r e s p o n d s t o t h e b i n a r y - w e i g h t e d s u m
o f a l l b i t s s e t i n t h e r e g i s t e r .
W h a t i s a n E n a b l e R e g i s t e r ?
A n
e n a b l e r e g i s t e r
d e f i n e s w h i c h b i t s i n t h e c o r r e s p o n d i n g e v e n t r e g i s t e r a r e
l o g i c a l l y O R e d t o g e t h e r t o f o r m a s i n g l e s u m m a r y b i t . E n a b l e r e g i s t e r s a r e b o t h
*CLS
w i l l n o t
r e a d a b l e a n d w r i t a b l e . Q u e r y i n g a n e n a b l e r e g i s t e r
c l e a r i t . T h e
( c l e a r s t a t u s ) c o m m a n d d o e s n o t c l e a r e n a b l e r e g i s t e r s b u t i t d o e s c l e a r t h e
b i t s i n t h e e v e n t r e g i s t e r s . T o e n a b l e b i t s i n a n e n a b l e r e g i s t e r , y o u m u s t w r i t e
a d e c i m a l v a l u e w h i c h c o r r e s p o n d s t o t h e b i n a r y - w e i g h t e d s u m o f t h e b i t s y o u
w i s h t o e n a b l e i n t h e r e g i s t e r .
100

Advertisement

loading