01-23-2009 06:43 AM
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?
01-26-2009 06:31 PM
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