![](/images/new-backgrounds/1185842/18584233x1.webp)
Programming messages formats | Interfacing the XMP 2600 |
Here is an example of a Program Message:
| VSET 1,10.2 ; VLOAD? 1 <LF> |
|
Command |
| Program |
Program |
| Message |
Header |
| Terminator |
<ch> |
| <ch> |
|
| |
Program |
| Query |
Data |
| |
Separator | Program | Program |
| Header | |
| Unit | |
|
| |
<value> | Message |
|
| Separator |
|
Talking Formats
Response Messages sent by the XMP 2600 are comprised of the following elements:
Response Message ......................... a message sent by the XMP 2600 in response to a
Query received from the Controller. The Response Message is made out of the following elements:
Response Data...... one or more Response Data elements separated by a
Response Data Separator may be included in the Response Message (as required by the specific Query that generated that Response). A Response Data element may be one of the following:
<value> ....... a Decimal Value expressed either in implicit or
explicit point format. In some cases a sign (“+” or
may precede it. |
|
| |
<int>............ a Decimal Integer Value 0 to 255. |
| ||
<string>....... a series of ASCII characters. |
|
| |
Response Data Separator | separates | Response | Data |
elements. It is the ASCII character “,” and may have | |||
<white space> characters surrounding it. |
| ||
Response Message Terminator | terminates the | Response | Message. |
Together they form a complete transmission. The Terminator is <CR><LF> (Carriage Return and Line Feed ASCII codes 13 and 10). For GPIB the <LF> character will have <EOI> asserted.
4 | XMP 2600 Programming Manual rev. 1.1 |