>> On subsequent runs, I usually get a StackOverflowException > > Wow, track that one down first. It's a clear indication that your code > isn't doing what you think it's doing. Just set "Break on Exception," > and when this happens, pop up the stack. (It will take a while to > build the popup menu containing hundreds of entries -- just be patient.)
All I have in the test serial.datareceived event is: string1=string1 + me.readall Like you said, when the exception is raised, the popup just lists tons of DataReceived fires, but even the first one doesn't contain any useful info that I can see, and it won't track back to anything before that. I was guessing that whatever the other serial port it's connecting to (not the one I want), is sending a ton of unwanted data and it's just overloading it. > I don't know. You should never count on the indexes; much better to go > by the port name. When offering the user a list of all serial ports using the serialportcount, and they pick one, I wasn't sure how you'd assign the serial control's port using anything other than its index... The lang ref says on the Mac you need to specify the device file's path (if not using the index) - is there a way to get this without knowing ahead of time what type of driver (keyspan, IOGear, etc.) they're using? I didn't see anything in the serialPort's class to get that. Chad _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
