Page 1 of 1

Sending too much data over serial freezes my mac... help!

Posted: Mon Mar 07, 2011 6:25 am
by mrbook
Image
Hello,
I'm writing a max4live effect using the serial object (see the screenshot). Arduino is on the other end processing the data to drive the PWM on an LED. Everything seems to be working fine, but if I move the knob too much, my whole computer freezes up, and I can't do anything else but reboot the system.
My system specs are:

OSX 10.6.6
Live 8.2
Max 5.1.4
FTDI Drivers 2.2.16

I have tried seeting the Serial Buffer Size attribute to 20480 and the Drain Enable attribute to true on the serial object, but that didn't help, I still get the freeze if too much data/too fast is sent.

Any help would be appreciated as I really want to get this working.
Cheers!

Hktr

Re: Sending too much data over serial freezes my mac... help!

Posted: Mon Mar 07, 2011 9:08 am
by pid
1-- update to 8.2.1 and 5.1.7 (at least).
2-- then open inspector of live.dial and check 'defer automation output' and look into the 'update rate' above it.
3-- get to know the speedlim object and related objects and look into hysterisis etc in max
4-- sorry i do not know serial/arduino, but there must be other data flow management there somewhere.

hth a little at least. probably not. sorry.