I want to change UUID in agent by sending * uuid command from the adapter as a part of SHDR stream.
PreserveUUID is set to false.
I observed in REST output that UUID is changing, but none of the data items for the device is not getting recognized as below
024-03-06T09:30:53.442189Z (0x00007fccfd8b9b38) [trace] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->DataItemMapper.ShdrTokenMapper.mapTokensToDataItem: Could not find data item: y1_abs
2024-03-06T09:30:53.442200Z (0x00007fccfd8b9b38) [trace] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->DataItemMapper.ShdrTokenMapper.mapTokensToDataItem: Could not find data item: 0.000000
2024-03-06T09:30:53.442211Z (0x00007fccfd8b9b38) [trace] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->DataItemMapper.ShdrTokenMapper.mapTokensToDataItem: Could not find data item: y1_axis_interlock
I also observed that UUID is changed for first * uuid command. Any repeated command with different UUID did not reflect in REST output.
Agent configuration as below
Devices = devices.xml
ServerIP = 0.0.0.0
Port = 5000
AllowPut = false
AllowPutFrom = localhost
ReconnectInterval = 1000
WorkerThreads = 2
BufferSize = 17
MaxAssets = 8096
IgnoreTimestamps = true
SchemaVersion = 2.0
ShdrVersion = 2.0 # Set Default on all Adapters
JsonVerson = 2.0
SuppressIPAddress = true
MonitorConfigFiles = true
ConversionRequired = false
UpcaseDataItemValue = true
EnableSourceDeviceModels = false
VersionDeviceXml = false
Pretty = true
Adapters {
Saw {
RealTime = false
Protocol = shdr
Host = 192.168.88.105
Port = 9800
PreserveUUID = false
}
}
I expected to change UUID based on the machine connected to. Adapter streams the uuid command whenever there is change in machine and UUID of that machine is reflected in REST output of agent.
Is this a issue or expected behaviour?
Thanks
I want to change UUID in agent by sending
* uuidcommand from the adapter as a part of SHDR stream.PreserveUUIDis set to false.I observed in REST output that
UUIDis changing, but none of the data items for the device is not getting recognized as belowI also observed that
UUIDis changed for first* uuidcommand. Any repeated command with differentUUIDdid not reflect in REST output.Agent configuration as below
I expected to change
UUIDbased on the machine connected to. Adapter streams the uuid command whenever there is change in machine and UUID of that machine is reflected in REST output of agent.Is this a issue or expected behaviour?
Thanks