Agilent Technologies E8285A manual Querying a Single Field Example of Querying a Single Field

Models: E8285A

1 464
Download 464 pages 57.8 Kb
Page 98
Image 98

Chapter 3, Description of Screens

Call Control Screens

Querying a Single Field

Example of Querying A Single Field

OUTPUT 714;"CALLP:DATA ’RECCW A’"

OUTPUT 714;"CALLP:RECA:SCM?"

ENTER 714;Scm$

PRINT Scm$

Example Printout

"1110"

Querying Multiple Fields With Single OUTPUT/ENTER

When multiple queries 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 Queries Combined Into One Command String

OUTPUT 714;"CALLP:RECA:NAWC?;SER?;EXT?;SCM?;MIN?"

OUTPUT 714;"CALLP:DATA ’RECCW A’"

ENTER 714;Message$

PRINT Message$

Printed Test Set Response Message

"010";"1";"1";"1110";"110111100101101111010101"

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.

98

S:\agilent\e8285\REFGUIDE\MANUAL\screens.chp

Page 98
Image 98
Agilent Technologies E8285A manual Querying a Single Field Example of Querying a Single Field