Polling For Status Messages - Tektronix DS1001 User Manual

Ds1000 series television demodulators
Hide thumbs Also See for DS1001:
Table of Contents

Advertisement

Appendix B: Remote Control
If the byte 10 hex is part of the data, this byte is sent twice so that it is
not confused with DLE ETX (10 hex), which ends the data phase.

Polling for Status Messages

If a television demodulator has a message, it does not send it to the
PC, because more than one television demodulator can be connected
to the same remote interface bus. To avoid data contention, the PC
uses polling to check for messages.
Polling is done with the PATH? command. PATH? returns an empty
string if the television demodulator has no message, and returns the
path if a message is available. The path contains the addresses Ad and
Ars (see Addresses on page B–3).
The following example is one continuous polling communication
between the PC and the television demodulator. The values for Ad,
Ars, and Arr can be calculated according to instructions on page B–3.
The PC addresses a television demodulator that is busy, repeats the
addressing phase until the television demodulator returns a ready
phase, then the PC sends the "PATH?" command.
PC > [DLE] [ENQ] [Ad] [Ars]
DS1000 >[DLE] [WACK]
PC > [DLE] [ENQ] [Ad] [Ars]
DS1000 > [DLE] [ACKO] [Ad] [Ars]
PC > [DLE] [STX] ['PATH?'] [DLE] [ETX]
After receiving the PATH? command, the television demodulator
places its answer in its transmit buffer. The PC tries to retrieve the
message with a receive cycle, but the television demodulator has not
processed the answer yet.
PC > [DLE] [ENQ] [Ad] [Arr]
DS1000 > [DLE] [WACK]
The PC repeats the addressing phase until the television demodulator
is ready and transmits its data phase. There is no data included,
because the television demodulator has no message.
PC > [DLE] [ENQ] [Ad] [Arr]
B–8
Send Addressing phase
Not Ready response
Send Addressing phase
Ready response
Data phase
Receive Addressing phase
Not Ready phase
Receive Addressing phase
DS1000 Series User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds1002Ds1003

Table of Contents