08-07-2007 05:44 PM
08-08-2007
08:58 AM
- last edited on
03-11-2024
03:37 PM
by
Content Cleaner
I'm not sure I accept your arguement that you should be able to support faster baud rates with a virtual port. Since the com port is being emulated by the USB driver, I think you would have addtional overhead. USB has a quite high latency and that might be a factor as well.
For a discussion on the receive buffer, did you see this this?
In your program, you are using local variables and none of these are required. There could be a problem with the Concantanate String function. As the string gets bigger and bigger, LabVIEW has to allocate more memory for it. It has no way of knowing in advance how large the string is going to be and the constant re-allocation can slow down your program. It won't help with getting all of the data, but you could try removing the Concantanate function to see if the VISA Read can keep up with the baud rate. I would also try using hardware flow control.
You might also want to think about the NI Serial Card for pci. This supports a 1 Mb/s rate. I think it's interesting that the fastest USB-RS232 converter from NI only supports a max baud rate of 230.4k
08-08-2007 09:55 PM