beautypg.com

2 functional elements of response message, 1

Page 48: 2 -3

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

background image

4.2 Functionai Elements of Response Message

4.2

Functional Elements of Response Message

4.2.1

I ' h c < r r . R M I N , ‘ \ T E D R F . S P O N S K M F S S A G E > i s d e f i n e d a s f o l l o w s .

:RESPONSE MESSAGE>

Refer to 4.2.3

fyiESSAGE

TERMINATOR>

Refer to 4.2.2

T h e < T l i R M l N A T T , D P R O G R . A M M E S . S . A G F > c o n s t i t u t e s ; i d a t a m e s s a g e t h a t i n c o r p o i a i t e s a l l t h e f u n c t i o n a l e l e m e n t s

n e c e s s a r c ' f o r t h e t t i l k e r d e \ i c e t o s e n d d a t a t o t h e c o n t r o l l e r .

T o c o m p l e t e t h e t r a n s f e r o f t h e < R E P O N . S H M E . S . S A G E > . t h e < R E P O N S H M E . S . S A G E T E R M I N A T O R > i s a d d e d t o t h e

e n d o f t h e < R E P O N S E M E . S . S A G E > .

Example: concatenating two message units

Listener i.

(

(device) L

s e s p o n

.

s e

m e s s a g e

_________

e-HIINATED -E.o'^GNSE MESSAGE-

U!4 ; M9953

" V V i A

Address 3

Talker

(controlier)

Functional elements

4.2.2

( I i r i l e < R E . S P O N . S E M E . S . S . A G E r E R M [ N . A T ' O R > i n c a s e t h e G P I B i n t e r f a c e i s u s e d i s d e f i n e d a s f o l l o w s .

- NL

sEND

T h e < R E . S P O N , S E M E . S . S A G E T E R M l N ' A T O R > c o m e s a f t e r t h e l a s t o R E S P O N S i - i M E S S A G E U N l T o . a n d e n d s a

s e q u e n c e o f o n e o r m u l t i p l e < R E S P O N S F : M E S S . A G E L f N I T > e l e m e n t s o f a c e r t a i n l e n g t h .

Example: Indicates an example of the program to read the state of receiving jitter range currently set.

10 WRITE @03 ; SENS : TEL ; RANG'!’"

20 READ @03 : A$

30 PRINT AS

40 END

4-3

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