Unsupported — We cannot guarantee that this software will work properly on Mac OS 10.8 and above. Please be careful.

Release: Serial IO, v20071230

Release Type: Beta
Version: 20071230
Release Notes

This SerialIO Beta adds support for sending Binary data.

To send binary data, 2 new inputs were created on the Serial Output patch: Binary Data, which takes a string input, and Binary Trigger, which sends the binary data.

Instructions: The string input needs to be formatted in hexadecimal with no spaces ('00ffeedd', not '00 ff ee dd'). It accepts lower or upper case ('00FFEEDD' is the same as '00ffeedd'). do not prefix a '$', a '0x', an '&', or any other common prefix to denote hexadecimal data. The input is limited to 131072 characters (65536 output bytes). If a non-hex character is encountered, it is treated as a zero ('ffeeddgg' is the same as 'ffeedd00'). Characters are expected to come in multiples of 2, ('00112233445566' [14 characters] not '012' [3 characters]) — odd characters are ignored ('012' is the same as '01').

I'm unsure if this works (again, no serial devices where I'm at at the moment), so please test it and send me your console logs — it'll write in the log for every read and write, to help me figure out what's happening if something goes wrong.

SerialIOPatch-20071230.zip36.24 KB

cwright's picture
broken hex

Made some stupid mistakes with the hex converter, so the binary output is usually wrong. I've got a fix lined up, so expect a release in a few days (I've finally got a serial device to tinker with!)

Installation Instructions

Place the plugin file in
/Users/[you]/Library/Graphics/Quartz Composer Patches/
(Create the folder if it doesn't already exist.)

Source code is available on GitHub.