I am trying to find information about creating and interacting with a 'virtual serial port' on both PC and Mac. I have found a lot of info on how to do this on the PC side, but nothing in Mac.
My need is this:
I have a off the shelf program that sends and receives commands via RS-232 on both Mac and PC. I want to be able to intercept these communications in another program running on the same system, modify or manipulate the data, then send it either back to the program, or to my external hardware on a real RS-232 port.
So. I am helping a performance artist interface some battons to Max.MSP. We have everything working great except the Funnel IO configuration of the nodes at startup\power on.
Currently we have to run and re-run the processing server code - sometimes many times - before the digital IO configuration works. This seems to be due to firmata not getting told to configure - or not being told at the right time - or similar.
Funnel IO is essentially closed source - I cannot see the code anywhere (not the current version anyway).
We are getting desperate - this thing has to travel from Chicago to NYC. I cannot move on to finishing the hardware fabrication until the prototypes work!
Has anyone gotten configurations to work correctly with procession\fio\funnel IO\ xbee ? The unpredictable nature of the problem (it takes random re-runs to get the processing funnel IO server to configure the nodes) is maddening!
Thank you! thank you! (In adavance)
The relevant code in processing: ]// Creates FIO Funnel Object Fio fio;
PFont myFont; // Creates MaxLink Processing to MAX/MSP interconnection Object "bouncer" MaxLink link = new MaxLink(this, "bouncer");
Configuration config = Fio.FIRMATA; config.setDigitalPinMode(4,Fio.IN); // Left Glove In 1 config.setDigitalPinMode(5,Fio.IN); // Left Glove In 2 config.setDigitalPinMode(6,Fio.IN); // Right Glove In 1 config.setDigitalPinMode(7,Fio.IN); // Right Glove In 2 config.setDigitalPinMode(8,Fio.IN); // Right Glove In 3 config.setDigitalPinMode(9,Fio.PWM); // Red LED Out config.setDigitalPinMode(10,Fio.PWM); // Green LED Out config.setDigitalPinMode(11,Fio.PWM); // Blue LED Out config.setDigitalPinMode(12,Fio.IN); // Left Glove In 3 fio = new Fio(this,orbIDs,config);