11-28-2003 05:22 AM
11-28-2003 09:36 AM
05-31-2004 10:59 PM
09-21-2004 05:56 AM
07-31-2009 03:47 PM
I am using LabVIEW 8.6 and I am having the same issue, when using the VISA serial VI to control a USB to Serial port it will not allow me to control the serial port at 125000. This same port can be controled by a generic com port controller at 125000.
The error I am receiving is "Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port"
This thread explains that there is hardware that can run at 125000 so I have to believe there is a way to control a serial port at this baud rate also.
Hopefully somethine can help me with this.
Thanks.
08-03-2009 08:11 AM
08-03-2009 08:37 AM
wiltdavi wrote:I am using LabVIEW 8.6 and I am having the same issue, when using the VISA serial VI to control a USB to Serial port it will not allow me to control the serial port at 125000. This same port can be controled by a generic com port controller at 125000.
When you say generic com port controller, are you referring to a built-in COM port on a computer, or a third-party PCI, USB, or some other type of serial interface? The error you are receiving indicates that the driver has rejected the 125000 baud rate. Some serial drivers will reject baud rates that they know the hardware can attain (NI-Serial typically works this way), while other serial ports will just select the closest baud rate--no matter how far off it is from what you specified.
If the port this works with is a built-in serial port on a computer (Or many add-on adapters), then it is probably actually running at 115200, and not the 125000 you specified. If this is the case, you should try just setting your USB Serial adapter to 115200 to see if it will communicate. Different add-on serial ports will have different oscillators and clock dividing mechanisms, so how close they can get to the baud rate you specify is very hardware dependent. I am not sure from your original post if your USB serial port adapter is an NI model, but I have confirmed that our NI USB-232 controllers will be unable to attain 125000 baud. The closes attainable baud rate is 115200, which exceeds the error threshold used by our NI-Serial driver,which will result in the error you received from VISA.
-Jason S.
08-03-2009 09:04 AM
Thank you for you response.
As it was brought to my attention that this was a HW thread, I have started a new thread for the software side of the question. It can be found at: http://forums.ni.com/ni/board/message?board.id=170&message.id=429139&jump=true
I have added more information to that thread to answer your questions about what I am trying to do.
Thanks again.