6 - 34
Example: (of user text)
Read the user text from the screen of an oscilloscope:
90 DIM USERTXT$ (64)
100 PRINT #1,"QT"
110 GOSUB 1000
120 LINE INPUT #1,USERTXT$
130 PRINT USERTXT$
The text on the screen of the oscilloscope will be printed, e.g.:
Measurement 15
Note:
Example: (of setup text)
Read the text from setup register 7 of an oscilloscope:
90 DIM SETUP$ (22)
100 PRINT #1,"QT S 7"
110 GOSUB 1000
120 LINE INPUT #1,SETUP$
130 PRINT SETUP$
The ASCII presentation of the oscilloscope character set is
printed, e.g. :
• dec 25 = oscilloscope character
• dec 25 = ASCII character
THE CPL PROTOCOL
:'Query user Text command
:'Sync on acknowledge
:'Read text characters
:'Print user text
:'Query setup Text command
:'Sync on acknowledge
:'Read text characters
:'Print setup text