8
M-CVM-B-DATALOGGER XML Manual
Instruction Manual
Tabla 3 (Continuation) : Parameter description (2�2)�
Parameter
Description
type
Type of device (for example CVM144)
typeDescription
A description of the type of device (for example: CVM-144)
var
Name of each of the variables of the device. The name will be
expressed as device.variable
2.3.- /services/user/varInfo.xml?var=dispositivo.variable?...?id=dispositivo?...
/services/user/varInfo�xml?var=dispositivo�variable?���?id=dispositivo?���
Returns variable information when carrying out the XML request. Each of the variables from
which a value is desired should be included in the request as:
?var=device�variable
And if you want to get information from all the variables of a device this must be indicated as:
?id=device
With it being possible to request information from one or more variables and one or more
devices in the same request.
<varInfo>
<var>
<id> … </id>
<title> … </title>
<hasValue> T </hasValue>
<hasLogger> T </hasLogger>
<sampleMode> … </sampleMode>
<measureUnits> … </measureUnits>
<unitsFactor> … </unitsFactor>
<decimals> … </decimals>
</var>
…
<varInfo>
Where:
Table 4: Parameter description (2�3)�
Parameter
Description
varInfo
Main field which identifies the XML as a response to the request for
information about variables
var
Information from each of the variables requested:
id
Name of the variable in device.variable format
title
Brief description of the variable.
hasValue
Indicates if it is possible to ask the instantaneous value of the variable (T)
or not (F).