HP Sander 16500C manual System Status, More, Installed modules

Models: Sander 16500C

1 252
Download 252 pages 12.2 Kb
Page 37
Image 37

Example

Example

Introduction to Programming

System Status

The response of the query :SYSTEM:HEADER?:LONGFORM? with HEADER and LONGFORM turned on is:

:SYSTEM:HEADER 1;:SYSTEM:LONGFORM 1

If you do not need to see the headers when the numeric values are returned, then you could use numeric variables. When you are receiving numeric data into numeric variables, the headers should be turned off. Otherwise the headers may cause misinterpretation of returned data.

The following program message in HP BASIC is used to read the query :SYSTEM:HEADERS?;LONGFORM? into multiple numeric variables:

ENTER XXX; Result1, Result2

 

System Status

 

Status registers track the current status of the mainframe and the installed

 

modules. By checking the system status, you can find out whether an

 

operation has been completed, whether a module is receiving triggers, and

 

more.

See Also

Chapter 7, "Status Reporting," explains how to check the status of the system

 

and the installed modules.

1–23

Page 37
Image 37
HP Sander 16500C manual System Status, More, Installed modules