15 Ethernet interface
Program:
You can create your own software under Visual Basic, Visual C++ or many other, for example by using the Winsock.dll driver by Microsoft.
You only have then to send to the appliance the orders as defined in the following paragraphs.
14.2.Programming language
14.2.1.Format of the reception messages
In all the following examples, the <Space> character is represented by a blank space.
Exchanges from a captor to the recorder are made as messages made of a succession of ASCII characters (and possibly of binary bytes) with a termination sequence at the end of the message.
Syntax of a reception message
Message unit |
; |
Message
terminator
Message unit: is the message includes several message units, they are separated by a ";" and possibly preceded and/or followed by one or several "filling" characters in ASCII code (0 to 32, in decimal value except 10 and 13).
The message termination sequence (TERM) for the Ethernet link is : - LF: Line Feed (10 in decimal)
The message termination sequence can be preceded by one or several "filling" characters in ASCII code (0 to 32, in decimal value except 10 and 13).
Example of messages made of 3 message units:
MESSAGE 1; MESSAGE 2 ; MESSAGE 3 TERM
CHANNEL 1; TYPE:VOLTAGE DC;:CALDEC ? TERM
Header
:
Header separator | Data |
| , |
Page 2