Справочник Пользователя для Agilent Technologies A.18.00

Скачать
Страница из 581
 485
Chapter 8, Programming the Call Processing Subsystem
Programming the CALL BIT Screen
Querying Multiple Fields With Single OUTPUT/ENTER
When multiple querries are combined into one command string the Test Set 
responds by sending one response message containing individual response 
message units separated by a response message unit separator (;).
Example of Multiple Querries Combined Into One Command String
OUTPUT 714;"CALLP:MESS ’SPC WORD1’"
OUTPUT 714;"CALLP:SPOM1:DCC?;SID?;OHD?"
ENTER 714;Message$ 
PRINT Message$ 
Printed Test Set Response Message
"01";"00000001110011";"110"
In order to read individual response message units into individual string variables 
combined into one ENTER statement the programming language used must 
recognize the response message unit separator (;) as an entry terminator for each 
string in the input list. If the programming language used cannot recognize the 
response message unit separator (;) as an entry terminator then the response 
message must be read into one string and individual responses parsed out.