Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you know when CAN Read actually contains valid data?

I ran into a situation today where I initialized a task for input and then read the task prior to the channel data being present on CAN.  The CAN Read completed without any errors and returned a value of 0 for the channel data.  If I didn't know any better, it would appear as though the channel data I was attempting to read had a value of 0.  Is there a way to allow a CAN Read to occur only if there has been a received message which contained the channel in the channel list?
thanks.
0 Kudos
Message 1 of 2
(4,959 Views)
oooppps.  I posted this in the wrong place.  I'll  move it.
0 Kudos
Message 2 of 2
(4,955 Views)