04-04-2006 03:41 AM
04-04-2006 03:49 AM
04-05-2006 05:48 AM
hi,
You can take a look at:
http://forums.ni.com/ni/board/message?board.id=140&message.id=8184&requireLogin=False
So that would not be a problem.
How much data are you reading each time (bytes)? Probably the problem is the way you ar reading the data... i mean, Windows is not as fast as you should think and for example if you have the read in a while loop and you read 8 bytes the first time the VISA Read subvi is executed you get this 8 bytes. Then you make the while loop and then return to your function. Till that moment windows could had spend 1 or 2 ms.
Solutions:
Did you tried to read more data each time???
Did you inserted a VISA Set I/O Buffer Size VI after the VISA Open ????
Regards,
Jaime Cabrera
NI Applications Engineering
10-31-2006 08:25 AM
10-31-2006 08:38 AM
Cristina,
Which USB-RS232 adapter are you using? Some perform much better than others. I have had very good luck with adapters from black box and NI. My testing also showed that a PCMCIA-RS232 adapter was almost twice as fast as a USB adapter.
Stick with the VISA functions for communications.
wayne
10-31-2006 10:04 AM
10-31-2006 10:58 AM
Cristina,
I've not had any experience with that adapter. The fastest baud rate I have used in LabView with a USB adapter is 19200. Most of my instruments just are not that fast. The real speed killer has been the time it actually takes to access and read the buffer on the USB adapter. I have modified my code to reduce the number of VISA reads and maximize how much data I read from the buffer each time.
I have used the NI USB-RS232 adapter with other software packages at speeds above 56K.
The PCMCIA adapter I'm using is from Black Box. Picked it up used for $20. The USB-PCMCIA adapter from NI should be a good one as well. Maybe another NI user out there has experience with other adapters.
12-04-2006 10:54 AM
12-06-2006 03:23 AM
Dear GcDago,
I had some similar problem, but I remember it was a driver question. Try to disinstall everything and then sure that you install the right driver for your operating system.
Bye
Cris