Parsing Bytes from RS232 in VL

Parsing data streams in VVVV tends to be a bit tricky sometimes, so I thought: "This time I’ll try it in VL!! :)
The topic is coming up rather regularly, when using external devices, so I’m sharing my findings here. Thanks Joreg for the support. :)

The task is to parse a data stream from an external device (a fancy knob encoder) which sends his output via Serial Port in 6 byte packages.
The first and last bytes are the pre and post fix.
The second byte is the type of the message (81, 82, 83… etc. 81 stands for angle, 82 is velocity, etc.
The third and forth byte is the actual data, which I like to extract, matching the type of the (10.4 KB)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.