Getting A Message - Tektronix DS1001 User Manual

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

Advertisement

DS1000 > [DLE] [STX] [Ad] [Arr] [DLE] [ETX]
The PC continuously polls the television demodulator.
PC > [DLE] [ENQ] [Ad] [Ars]
DS1000 > [DLE] [ACKO] [Ad] [Ars]
PC > [DLE] [STX] ['PATH?'] [DLE] [ETX]
PC > [DLE] [ENQ] [Ad] [Arr]
The television demodulator responds with data when it has a message.
The [data] is the path, Ad Ars, which indicates that a message is
available from the responding television demodulator.
DS1000 >[DLE] [STX] [Ad] [Arr] [data] [DLE] [ETX]

Getting a Message

Polling a television demodulator only tells the PC if a message is
available. To receive the message, you must use the MSG? command.
The following example shows how to use the MSG? command to
retrieve a status message from a television demodulator.
The PC addresses a television demodulator that is busy and repeats the
addressing phase until the television demodulator returns a ready
phase. The PC then sends the "MSG?" command.
PC >[DLE] [ENQ] [Ad] [Ars]
DS1000 > [DLE] [ACKO] [Ad] [Ars]
PC > [DLE] [STX] ['MSG?'] [DLE] [ETX]
After receiving the MSG? command, the television demodulator
places its answer in its transmit buffer, and the PC retrieves the
message with a receive phase. The data in this example (20h) is the
test message. Other bit patterns are listed with the MSG? command.
PC > [DLE] [ENQ] [Ad] [Arr] Receiving addressing phase
DS1000 > [DLE] [STX] [Ad] [Arr] [20h] [DLE] [ETX]
DS1000 Series User Manual
Appendix B: Remote Control
Data phase
Send Addressing phase
Ready phase
Data phase
Receive Addressing phase
Data phase
Send Addressing phase
Ready phase
Data phase
Data phase
B–9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds1002Ds1003

Table of Contents