LABDMM2
32. DATALOGGER COMUNICATION PROTOCOL
Commands format for comunication protocol for DataLogger
In the protocol management the host program sends a command containing an information request (read commands)
or the setting of a parameter (write commands).
The Manometer checks the message format and if valid it executes it and sends a reply string.
In case of error the command is not executed and no answer is provided.
The commands to manage the Datalogger communication protocol are ASCII strings of 8 characters: LCXXXXX<cr>
where:
L
C
XXXXX : Parameter
Warning: do not use spaces for the XXXXX parameter, see examples: '00037'
A DataLogger cycle can be set with just two parameters :
-
Time interval between two acquisition in seconds
-
Total time duration in minutes
READ Time interval between two acquisitions in seconds
command
L800000<cr>
answer
L8YNNNNNN<cr>
Y is 'R' when a datalogger cycle is running otherwise Y =' ' (space)
NNNNNN Time interval between two acquisitions of last datalog cycle recorded (6 ASCII char)
NOTE
SET Time interval between two acquisitions in seconds
command
L4XXXXX<cr>
answer
L8YNNNNNN<cr>
Y is 'R' when a datalogger cycle is running otherwise Y =' ' (space)
NNNNNN Time interval between two acquisitions of last datalog cycle recorded (6 ASCII char)
NOTE
READ Time Duration of a dataLog Cycle in minutes
command
L900000<cr>
answer
L9YNNNNNN<cr>
Y is 'R' when a datalogger cycle is running otherwise Y =' ' (space)
NNNNNN time duration of last datalog cycle recorded (6 ASCII char)
NOTE
SET number of acquisitions to perform
command
L5XXXXX<cr>
answer
L9YNNNNNN <cr>
Y is 'R' when a datalogger cycle is running otherwise Y =' ' (space)
NNNNNN time duration of last datalog cycle recorded (6 ASCII char)
NOTE
Start / Stop DataLog commands
START DATALOG COMMAND
command
LXY0000<cr>
Where
X : 1 character :
X='0' : Start a Datalog cycle without temperature
USER GUIDE
: Start of message
: Type of request
DATALOG PARAMETERS SETTING
: 1 character
: 'L'
: 1 character
: from '0' a '>' - ( HEX : 0x30 to 0x3E)
: 5 digit : X from '0' a '9':
: right
' 37'
Pag. 24
MO.LABDMM2.560.ENG.R1
: wrong
Need help?
Do you have a question about the LABDMM2 and is the answer not in the manual?
Questions and answers