11-17-2005 12:21 PM
I am trying to set the baud rate on my COM port to 56.7K and I am getting the following error (copied from "explain error" box).
Error -1073807330 occurred at Property Node (arg 2) in
Possible reason(s):
VISA: (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource.
Now I have gone and changed the baud rate (by force) through Device Manager and the baud rate is supported (I am assuming, since it gave me that baud rate as an option). The only problem now if that when I try to configure my COM port for the parity and bit size with the Visa Cofnigure Serial Port, the default baud rate on that call is 9600. I am assuming that this will change that COM port's baud rate to 9600, even though I have set it to 56.7K through Device Manager.
I have included the sample code where the error is being generated on my system.
Why am I getting this error?
11-18-2005 01:20 AM
Error -1073807330 occurred at Property Node (arg 2) in
This means that you call 'Change baud rate.vi', which calls 'VISA Configure
I can't tell the reason for this inacceptance, but being able to set
this baud rate in device manager does not mean that all the
participating code and devices can handle this. Espacially NI-VISA
itself _may_ have a problem with this..
What to do?
1. Try to connect to the serial device using Hyperterminal with exactly
the same parameters. If this succeeds than VISA is to blame.
Contact NI support for help. Else find another baud rate...
2. Right-click to the PropNode and select 'Ignore errors inside Node'. Test your code now. If it works this way you should safe 'VISA Configure
HTH and
Greetings from Germany!<br>-- <br>Uwe
11-18-2005 08:07 AM - edited 11-18-2005 08:07 AM
Message Edited by JoshuaP on 11-18-2005 08:11 AM