Problems with serial and OpenFrameworks

Hey guys,

I’m trying to get my xbee to talk with openfFrameworks using the serial port, but it keeps freezing up my computer.

I’m using the serial example that comes with openFrameworks and just changing the baud rate to 157,600 since that’s what seems to be working for my gyroscope. I get good data for a few seconds and then everything locks up an I have to restart.

Anybody else experienced something like this or know what I might be doing wrong?