How To Retrieve the Baud Rate Settings using the Frame APIPrimary Software: Driver Software>>NI-CANPrimary Software Version: N/A Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: The ring constant created by right clicking on the AttrId pin of the ncGetAttr.vi does not populate with the Baud Rate parameter. Is there a vi I can use to retrieve the Baud Rate my CAN device is using? Solution: Using the ncGetAttr.vi, wire a constant numeric 80000007 of type I32 into the AttrId pin. See the figure below The attached LabVIEW VI contains the actual code to determine the Baud rate of your CAN device and works for NI-CAN version prior to 2.6. As of NI-CAN v2.6, you can now determine the baud rate by selecting the Baud Rate parameter of the enum ring wired to the AttrId pin of the ncGetAttr.vi as shown in the image below. ![]() Related Links: KnowledgeBase 0ZEF3MHR: How Can I Set Nonstandard Baud Rates in NI-CAN? Attachments:
Report Date: 03/27/2008 Last Updated: 03/30/2009 Document ID: 4JQAQ3SK |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

