THE CPL PROTOCOL

6 - 31

QUERY SETUP

QS

Purpose:

To query the oscilloscope for its current setup.

This Query Setup (QS) command and the Program Setup (PS) command can be used together in order to retrieve and restore a complete or partical setup of the oscilloscope. Optionally a parameter can be added to the command to query a particular part of the setup. When this parameter is omitted, the complete setup is returned.

The response can be stored as an array of strings in the computer to be sent back later using the PS command. Each string that is received describes a setup node in the oscilloscope.

(Refer to Program Setup (PS) and section 6.8 SETUP)

Command:

bypass to ask all nodes

"QS"

pds

node number

CR

<node number> optional parameter, in decimal ASCII, to query only one setup node. Refer to section 6.8 SETUP for the setup node numbers.

Response 1:

acknowledge

CR

Response 2:

count

","

node

CR

more nodes to follow

<count>

number of strings to follow

<node>

string of decimal characters representing a setup node in

 

the oscilloscope, e.g. 16 (=10 hex.)

Page 248
Image 248
Fluke PM3370B user manual Query Setup, Count Number of strings to follow Node, Oscilloscope, e.g =10 hex