SCPI Data Formats
All data programmed to or returned from the power supply is ASCII. The data may be numerical or character string.
Numerical Data
Table
|
|
| Table | |||||
Symbol |
|
|
|
| Data Form | |||
|
|
|
|
| Talking Formats | |||
<NR1> | Digits with an implied decimal point assumed at the right of the | |||||||
|
| digit. Examples: 273 | 0273 |
|
|
| ||
<NR2> | Digits with an explicit decimal point. Example: 273. .0273 | |||||||
<NR3> | Digits with an explicit decimal point and an exponent. Example: 2.73E+2 | |||||||
|
|
|
|
| Listening Formats | |||
|
|
|
|
| ||||
<NRf> | Extended format that includes <NR1>, <NR2> and <NR3>. Examples: 273 273. | |||||||
|
| 2.73E2 |
|
|
|
|
| |
<NRf+> | Expanded decimal format that includes <NRf>, MIN and MAX. Examples: 273 | |||||||
|
| 273. 2.73E2 MAX. MIN and MAX are the minimum and maximum limit values | ||||||
|
| that are implicit in the range specification for the parameter. | ||||||
|
|
|
|
|
|
| ||
|
|
| Table | |||||
| Class |
| Suffix |
| Unit |
| Unit with Multiplier |
|
|
|
|
|
|
|
|
|
|
| Current |
| A |
| Ampere |
| MA (milliampere) |
|
| Amplitude |
| V |
| Volt |
| MV (millivolt) |
|
| Time |
| S |
| second |
| MS (millisecond) |
|
|
|
| Common Multipliers |
| ||||
|
|
| lE3 |
| K |
| kilo |
|
|
|
|
| M |
| milli |
| |
|
|
|
| U |
| micro |
|
Boolean Data
Either form {10} or {ONOFF} may be sent with commands. Queries always return 1 or 0.
OUTPut OFF
CURRent:PROTection 1
Character Data
For query statements, character strings may be returned in either of the forms shown in Table
| Table |
<CRD> | Character Response Data. Permits the return of character strings. |
<AARD> | Arbitrary ASCII Response Data. Permits the return of undelimited |
| an implied message terminator. |
Note: | The IEEE 488.2 format for a string parameter requires that the string be enclosed within either single |
| (’ ’) or double (" ") quotes. Be certain that your program statements comply with this requirement. |
Remote Programming 51