...
The output of the protocol handler provides the following attributes that can be used through the schema of the access operator:
Name | Type | Description | ||
---|---|---|---|---|
TimestampTIMESTAMP | Long | The time of measurement in UTC | ||
VersionVERSION | String | The version of the laser scanner | ||
DeviceDEVICE | String | The device ID | ||
SerialSERIAL | String | The factory serial number | ||
StatusSTATUS | Integer | The status of the scanner | ||
MessageCountMESSAGECOUNT | Integer | The message counter starting at the first measured value message. When the upper limit is reached, the counter starts again at 0. | ||
ScanCountSCANCOUNT | Integer | The scan counter starting with the first scan after confirmation of the measured value message. When the upper limit is reached, the counter starts again at 0. | ||
PowerUpDurationPOWERUPDURATION | Long | The time since the scanner was switched on. | ||
TransmissionDurationTRANSMISSIONDURATION | Long | The time since the transfer of the measured values | ||
InputStatusINPUTSTATUS | Boolean | The state of the digital inputs | ||
OutputStatusOUTPUTSTATUS | Boolean | The state of the digital outputs | ||
ScanningFrequencySCANNINGFREQUENCY | Long | The scanning frequency | ||
MeasurementFrequencyMEASUREMENTFREQUENCY | Long | The frequency between two separate measurements | ||
POSITION | Matrix | The position | ||
POSITIONROTATIONTYPE | Integer | The position rotation type | ||
DISTANCE8BIT | Matrix | The measured distance values (8bit) | ||
REMISSION8BIT | Vector | The measured remission (8bit) | ||
DISTANCE8BIT2 | Matrix | Dist1 | List<SpatialPolarCoordinate> | The measured distance values (8bit) |
REMISSION8BIT2 | Vector | The measured remission (8bit) | ||
DISTANCE16BIT | Matrix | The measured distance values (16bit) | ||
REMISSION16BIT | Vector | Rssi1 | List<Double> | The measured remission (16bit) |
Dist2DISTANCE16BIT2 | List<SpatialPolarCoordinate>Matrix | The measured distance values (16bit) | ||
Rssi2REMISSION16BIT2 | List<Double>Vector | The measured remission (16bit) |
Example
PQL
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
input = ACCESS({source='lms1', wrapper='GenericPush', transport='TCPClient',protocol='SICKLMS1xx', dataHandler='SICKKeyValueObject',options=[['host','192.168.1.20'],['port','2111']], schema=[ ['dist1','SpatialPolarCoordinate'] ] }) |
CQL
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CREATE STREAM lms1 (dist1 SpatialPolarCoordinate) WRAPPER 'GenericPush' PROTOCOL 'SICK' TRANSPORT 'File' DATAHANDLER 'Tuple' OPTIONS ( 'host' '192.168.1.20', 'port' '2111' out = KEYVALUETOTUPLE({ schema=[['DISTANCE16BIT', 'Matrix']], type='Tuple', keepinput='false' }, input ) |