LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Read returning default samples

I am using the Channel API.  I am initializing and starting a task for reading one channel at 50hz.  Then in another VI, I read the channel with 'single channel - multiple samples' read VI.  I read 10 samples.  What happens is that I get 10 samples of data, but the first two samples are defaults for the channel.  The remaining 8 samples are real data.
Is it possible that when the sample is taken every 50hz, if there is no frame being broadcast at that point, that the read returns the default value?  If so, how would I get the last 10 non-default samples?  The channel data that I am reading has a broadcast rate of 50hz.
 
0 Kudos
Message 1 of 1
(2,062 Views)