beautypg.com

Service request enable query, Read status byte query – Anritsu MP1777A User Manual

Page 56

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

5.1 Common IEEE488.2

SRE

Service Request Enable Command

[ ’ a r a m e t c r

P i i n c t i o i i

P x a m p i e o f u s e

< D F X ' 1 M A L . N U M f - T R I C P R O G R A M D A ' 1 ' A >

I n t e g e r v a l u e b e t w e e n 0 a n d 2 5 5 .

S e t a s t h e p a r a m e t e r t h e s u m t o t t i l o f t h e h i t s d e s i r e d t o b e e n a b l e d a m o n g t h e s e r \ i c e r e q u e s t

e n a b l e r e g i s t e r .

S e t 1 f o r e n a b l e a n d 0 f o r d i s a b l e .

S e e t l i e S e c t i o n f o r t h e " S t a t u s B \ t e " f o r t h e c o m p o s i t i o n o t t h e r e g i s t e r o f t h i s d e v i c e .

S e t s ; i n d c l e a r s t h e s e r v i c e r e q u e s t e n a b l e r e g i s t e r .

S e t s b i t 4 o f t h e s e r v i c e r e q u e s t e n a b l e r e g i s t e r .

> r S R F 1 0

SRE?

Service Request Enable Query

R e s p o n s e

0

h u n c t i o n

E x a m p l e o f u s e

< N R 1 N U M E R I C R E S P O N S E D . A 1 A >

I n t e g e r v a l u e b e t w e e n 0 a n d 2 5 5 .

S e t a s t h e r e s p o n s e t i i e s u m t o t a l o f t h e b i t s o f t l i e s e r v i c e e n t t b l e r e g i s t e r .

S e e t h e S e c t i o n f o r t h e " S t a t u s B y t e " f o r t h e c o m p o s i t i o n o l ’ t h e r e g i s t e r o f t h i s d e v i c e .

I n q u i r e s a b o u t t h e c u r r e n t v a l u e o f t h e s e r v i c e r e q u e s t e n t i b l e r e g i s t e r .

> ’ S R E ?

< 1 6

STB?

Read Status Byte Query

R e s p o n s e

• u n c t i o n

f r x a m p l e o f u s e

< N R 1 N L A I E R I C R E S P O N S E D A r ' A >

I n t e g e r v a l u e b e t w e e n 0 a n d 2 5 5 .

S e t a s t l i e r e s p o n s e t h e s u m t o t a l o f t h e h i t s o f t h e s t a t u s b y t e r e g i s t e r .

S e e t h e S e c t i o n f o r t h e " S t a t u s B v t c " f o r t h e c o m p o s i t i o n o f t h e r e g i s t e r o f t h i s d e v i c e .

I n q u i r e s a b o u t t h e c u r r e n t v a l u e o f t h e s t a t u s b v t c r e g i s t e r i n c l u d i n g t h e M S S ( M a s t e r S u m -

n i a r v S t a t u s ) b i t .

I n t h e a b s e n c e o f e r r o r s o r e v e n t q u e u e

> - S I B ’

< 4

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com