LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing arbitration to 29 bit within the write net multiI

I have been using CAN to communicate with a node product that we produce ourselves.  Instead of using just write, I would like to use write multi.  I have not been able to get the write multi to OR in the arbitration ID in the data cluster constant that I attactch to the VI.  Is there any way to do this? 

 

0 Kudos
Message 1 of 2
(2,495 Views)

Wana be prog,

 

Yes you should be able to do that just fine.  If your code is similar to the CAN Transmit multiple.vi example program you will need to pull the cluster you want to modify out of the array of clusters using an index array vi, unbundle that cluster, pull out the Arbitration VI, change the ID to a Boolean array using a Number to Boolean Array VI, OR that array with the array you want to or it with, and then put all of the data back together.

 

Eric K

Applications Engineer

National Instruments

0 Kudos
Message 2 of 2
(2,456 Views)