RPM4™ OPERATION AND MAINTENANCE MANUAL

Examples:

IEEE-488 enhanced mode command series using query operator:

“*CLS?” (Clear the error queue. Wait for reply)

“UNIT? KPA” (Generates a reply. User must wait for reply before continuing) “MMODE? A” (Generates a reply. User must wait for reply before continuing)

“PR?” (Generates a reply. User must wait for reply before continuing)

IEEE-488 enhanced mode commands without query operator:

“*CLS”

(Clear the error queue. No reply)

“UNIT KPA”

(No reply)

“MMODE A”

(No reply)

“ERR?”

(Wait for reply. User should use “ERR?” query following a

 

series of non query commands to check for errors that may

 

have occurred)

IEEE-488 enhanced mode multiple commands without query operator:

“*CLS”

(Clear the error queue. No reply)

“UNIT KPA;MMODE A”

(Two command at once. No reply)

“ERR?”

(Wait for reply. User should use “ERR?”

 

query following a series of non query

 

commands to check for errors that may

 

have occurred)

COM1 enhanced mode command:

“*CLS” or “*CLS?”(Clear the error queue. Wait for reply)

“UNIT KPA” or “UNIT? KPA” (Generates a reply. User must wait for reply before continuing)

“MMODE A” or “MMODE? A”

(Generates

a

reply. User must wait for

 

reply before continuing)

“PR” or “PR?”

(Generates

a

reply. User must wait for

 

reply before continuing)

4.3.2.2USING QUERY TYPE COMMANDS

The QUERY type of program message just requests data from the RPM4. Placing the query operator “?” immediately after the command creates a query. You must wait for a reply with a query. If you send any type of program message to the RPM4 after a query before receiving a reply, the program message is discarded and an error is generated. Errors are reported using the IEEE Std. 488.2 status reporting model. A Query program message always ends with a question mark. Most queries return a reply within 200 ms except:

“PR?”, “PRR?”, “SR?”, “ATM?”, “RATE?”: Up to 2 seconds. “RPT”, “ARANGE”, “AUTOZERO RUN”: Up to 3 seconds

The syntax for using a QUERY program message is listed next to the keyword “Query:” in each program message summary in Section 4.4.4. Please note that queries in enhanced mode via the IEEE-488 port that results in an error will not result in a reply. You must check the error queue (use the “ERR” querie) to see if an error has occurred.

© 2004-2007 DH Instruments, a Fluke Company

Page 84

Page 94
Image 94
Fluke RPM4 manual Using Query Type Commands