Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

can read program

Dear all:
I am in trouble with a problem recently.
I want to get a periodic data as the following shows.

---data.jpg----


But when I use the following code with labview and pci-can/2,I can't get proper data.why????

------program.jpg-----

thanks
*****************************************************************
Work hard and enjoy life.
Love CVI and Labview!
Certified Labview Developer
Download All
0 Kudos
Message 1 of 2
(3,219 Views)
Hi,

what exactly do you mean with not getting proper data? You don't get any CAN data or do you get data you don't expect?
Do you get the correct data, when you use the CAN Receive.vi example that ships with the NI-CAN driver software (NI Example Finder » Hardware Input and Output » CAN » Frame API » Basic » ...)?

It also might help to make more use of the error cluster (see attached LabVIEW 7.1 VI) as there could be somewhere an error, but the current code does not expose it.

-B2k
0 Kudos
Message 2 of 2
(3,202 Views)