05-16-2007 04:27 PM
05-16-2007 10:26 PM
05-18-2007 10:45 AM
Hi Menchar,
From the help on the OpenComConfig front panel for the baud rate: "You can use nonstandard baud rates. All baud rate values are interpreted literally by the comm driver." So, instead of using the slider control on the function's front panel, type in a new value into the baud rate parameter in the source code. You can also use NI-VISA to program your serial ports, although you would have to rewrite your code to use this application programming language (API) instead of the built-in CVI RS232 library.
You are correct, the non-standard baud rates will be generated with +/- 1 percent of the bit rate specified as you mentioned. I found several websites mention that 1% is the maximum difference you want to have, however you could have a difference in up to 5% difference in baud rate and not have problems. See this site, under the heading "Testing Serial Timing". Also, see this site on Radio-Electronics.com under the heading "RS232 Signal Levels", the last paragraph.
Regards,
05-18-2007 11:51 AM
MissyD -
Thanks for the nice response.
The NI knowledge base doesn't portray the specifics of how the 843x cards generate the arbitrary baud rate. It does show the logic for the other NI serial cards as to how the bit rates are calculated.
I would think that the 843x cards maybe generate some finite number of non-standard baud rates, such that any requested arbitrary rate within the range will be within +/- 1% of a rate that can be generated.
So, for some non-standard rates, it may be it's better than 1%? For standard rates, the 843x spec claims .01% accuracy.
The reason I want to nail this down is that we have a device that's not running at a standard rate, and we're trying to figure out how closely the 843x can be made to match it.
Thanks,
Menchar
05-18-2007 02:29 PM
05-25-2007 08:18 AM