Example Code

Frame API CAN Bus Loader

Code and Documents

Attachment

Functional Description

This bus loader uses the WriteNetMult.vi to load a CAN bus.  You can specify the number of frames and the minimum wait time between each write. 

Caveats and Additional Notes

You can tweak the timing to get the appropriate bus load.  You will get an overflow error if the Write Entries Pending gets too large.  If this is occuring, increase the wait time between each write and decrease the number of frames to write.

FrontPanel.png

Bus Monitor.png

BlockDiagram.png

Caleb W

National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
bernd1953
Member
Member
on

we need a canbus ATE for testing hardware using canbus.

if you have interest, please give us a info.

 

                                                        Bernd

Contributors