I have a device that sends binary data. This binary data populates a read parameter of rawtype (other) and type (string). Does dataminer convert the binary data into an ascii string or does it leave it alone?
Hi Laurens!
It is through serial connection
Hello!
I believe it leaves it alone.
According to the Dataminer ECS XML agent on copilot CLI:
With rawtype="other" + type="string", DataMiner treats the value as an opaque byte sequence. It does not interpret, transcode, or null-terminate the data. What the device sends is what gets stored in the parameter.
If you need to process the binary data, you'd typically trigger a QAction on that parameter and handle the conversion yourself using protocol.GetParameter(), which returns it as a string (byte array marshalled as a .NET string).
Through what connector connection type is the binary data received? Is it through SNMP connection (e.g. octetstring type), or through an HTTP connection type, websocket, (smart)-serial connection?