05-21-2012 10:56 PM
I am trying to communicate with a serial device using a USB adapter on a MiniMac OSX 10.7.4. I am using Labview 2011 SP1 and I have installed serial drivers 5.1.1
I have a major issue here (which does not exist with the sam hardware and a PC)
With this decice I need to send commands to the device and then device sends back several line (two to 3 pages) of respond.
The problem is that everytime I send a command to the unit, I do not read the buffer empthy,then the whole MavMini freeses and have no choice other than a cold boot.
Serial communication is the basis of the job I am doing and this nasty bug must be solved before I can go on.
What Can I do to get imediate help?
Any body here has had the same issue?
any hint may help.
Rgards,
Behzad
05-22-2012 08:33 AM
Is the serial buffer larger enough for this serial port?
Is the amount of data "several lines" or "2 to 3 pages"? That is a big difference. And I'm sure 2 to 3 pages of data coming in at once would be enough to overflow a serial buffer.
What device are you trying to communicate with? Does it require any handshaking, either software or hardware?
05-22-2012 04:00 PM
What USB to RS-232 adapater are you using? The ones with the FTDI chip seem to work well, while the ones with the Prolific PL2303 chip are quite tricky to use.
Lynn