Appendix A
API Command Reference
NetScan User’s Manual
A-45
U
- User Status
TYPE
System
EXECUTION
Immediate
SYNTAX
Ureq
Request information about various internal conditions of the unit where
req
refers to one of the following request types:
0
- Query and clear the Event Status Register (ESR)
1
- Query the Status Byte Register (STB)
2
- Query and clear Calibration Status Register (CSR)
3
- Query system settings
4
- Query current High/Low/Last registers
5
- Query and clear current High/Low/Last
6
- Query the Buffer Status String
7
- Query assigned alarm outputs
8
- Query configured channels
9
- Query digital inputs
10
- Query memory option (in Kbytes)
11
- Query all channels having programmed valid alarm setpoints
12
- Query last calibration time/date
13
- Query last scan read
14
- Query card IDs
15
- Query product information
16
- Query measuring mode parameters
17
- Query root mean square (RMS)
18
- Query acquisition states and various system flags
DESCRIPTION
The User Status (
U
) command is used to return information about various conditions of the unit, and may be sent
at any time without interfering with normal operation. Any error conditions, except Calibration Errors, are cleared
after the status string is read by the controller. Calibration errors are cleared when the unit is calibrated.
Status strings are returned when the unit is next addressed to Talk. The terminators used and the use of the End
Or Identify (EOI) line can be changed with the Set Query Terminator (
Q
) and Set User Terminator (
V
) commands.
If the unit is configured to trigger on Talk, requesting a status report will not cause the unit to trigger.
The following paragraphs provide more detailed information about the
U
responses.
U0
: Reads and clears the Event Status Register (ESR). Refer to the Status and Event Reporting sections of
Appendix D for details on status reporting.
U0
responds with:
001
- Acquisition Complete
016
- Execution Error
002
- Stop Event
032
- Command Error
004
- Query Error
064
- Buffer 75% Full
008
- Device Dependent Error
128
- Power-On
U1
: Read the Status Byte register (STB). The Status Byte register is a read-only register. It responds with:
001
- Alarm
016
- Message Available
002
- Triggered
032
- Event Detected
004
- Ready
128
- Buffer Overrun
008
- Scan Available
U2
: Read and clear the Calibration Status Register (CSR). The response to this request is the current contents
of the Calibration Status Register. This register contains information regarding the calibration of the unit and any
errors encountered while attempting to calibrate the unit. Refer to the following figure for details about the
Calibration Status Register.
Содержание OMB-NETSCAN 1500
Страница 6: ...iv NetScan User s Manual...
Страница 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Страница 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Страница 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Страница 111: ...NetScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 118: ...6 20 Calibration NetScan User s Manual...
Страница 140: ...A ii NetScan User s Manual...
Страница 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Страница 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Страница 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Страница 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Страница 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Страница 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Страница 254: ...NetScan User s Manual...