I have a string returned by a device, representing an array where each element is a pair <time, value>:
- each pair is separated by "|": <timestamp>|<value>
- each element of the array separated by ","
- all values are floats
- the timestamp increment may not be linear (that is why it needs to be recorded)
Is it possible to parse this using stream device (into two waveform records)?
Or do I have to use something more powerful such as asynDriver?
I have seen several examples, but only with using simple type elements, not like this.
As a followup, is it possible to do the inverse, merging two waveform records into a string?
Thank you in advance,