
Page 2.6
** Command and Response Terminators **
(Message Terminators)
- Command (Program Message) Terminators
A code is needed at the end of each command to tell the
ScopeMeter that the command is ended, and that it
can start executing the command. This code is called the
Program Message Terminator. The code needed for the
ScopeMeter is carriage return (ASCII code 13 decimal).
Notes:
1. The carriage return code is a non-visible ASCII
character. Therefore this code is represented as <cr>
in the Command Syntax and Response Syntax lines given
for each command.
2. The QBASIC programming language, which is used for
all program examples, automatically adds a carriage
return to the end of the command output. (In the QBASIC
language, this is the PRINT #.... statement.)
After <cr> is recognized by the ScopeMeter, the
entered command is executed. After EACH command the
ScopeMeter returns <acknowledge><cr> to the
computer to signal the end of the command processing (also
see the section ’Acknowledge’.)
- Response (Message) Terminators
The response from the ScopeMeter ends with a
carriage return (ASCII 13). This is indicated as <cr> in
the Response Syntax for each command.
Summary of Contents for ScopeMeter 190 Series
Page 40: ...Page 3 29 Response Syntax acknowledge cr See an example for this command under QUERY PRINT QP...
Page 42: ...to the ScopeMeter...
Page 64: ......
Page 68: ...Resp Count Resp Count 2 PRINT x_divisions X Divisions...
Page 70: ...PRINT x_step X Step...
Page 72: ...nb nb ASC MID Resp Resp Count 1 1 ELSE...
Page 74: ......
Page 76: ...PRINT SumCheck so far MOD 256 SumCheck1 MOD 256 CLOSE END...
Page 78: ...END IF...
Page 80: ...END IF NEXT j...
Page 83: ...Resp Count Resp Count Sample Bytes...