How to get CAN message frequency by programming?

When I have messages with different periodicity in CAN file (.dbc) database, how would I know programmatically what is the periodicity of a given message? In the X-Net database editor, I can see the periodicity, but is it possible to get it in labview code?

In addition, some messages are to be sent, and some are to-be-received. How can we separate these channels/messages programmatically?

You can use the XNET screw database to browse XNET alias (.dbc files) and from there, you can browse to the bottom of the Cluster-> ECU-> frame (message) and get the properties of the image to read the time of transmission.

You can also read additional attributes of the .dbc (name/value pairs) with the XNET functions file as well (we often have a time-out message attribute).

There are some good examples of navigation in a XNET database in LabVIEW in the finder of the example. Look at the example of "Explore the database with tree" to know how to open the .dbc files and navigate through messages/signals to get the information you need.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • How to enable third party cookies in Firefox 5

    I get the message telling me how to enable third party cookies. Instructions for how to do tell me to choose the feature options Tools drop down menu, then click on 'privacy' and check a box that would allow cookies.This check box is not on the menu

  • STG access numbers do not work: they do not respond

    Twice in the last month, the access number for my STG does not work. I compose, but no response, no voice prompts, etc. The first time that I have updated my online site, which has not changed the access number, but does not seem to put something els

  • Wi - Fi support for 5200-801

    I think 5200-801 is "Compatible Wi - Fi", which meansIt can support a Wi - Fi connection, but you must install a mini pci cardcard first. I opened the caches from the bottom, but I don't see where themount the card mini pci (a location of bus or some

  • Printer is offline

    How can I turn on the printer c5500?   He is offline now

  • HP envy 4 pc does not start

    My hp envy touch ultra smart Book 4 with windows 8.1 does not start. I turn on a blue after the hp logo appears and he did a restart to collect some error information. Restarts, then shows another blue screen saying pc could not start properly displa