Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66786

Notifier has data for graphs but empty y values for mean

$
0
0

Hi everyone,

 

I'm probably doing something obvious wrong but I am getting data through a notifier for a display loop. There is an array of 3 waveforms that is generated from a cDAQ 9174 with an NI9215 module for analogue reading of voltages. The display loop is supposed to have a graph for each of these voltages and a digital display of the mean value (doesn't have to be mean but it was the best way I could see to get it into a dbl expression instead of an array)

 

The trouble I have is that the graph is plotting what I expect it to plot (although I am currently just looking at 5 seconds worth of data) but the mean is giving NaN (error -20003) so there is something wrong with the data being sent through the notifier.

 

I believe the loop should only run when a notifier is available? So there should always be data in the notifier unless the DAQ is not doing what I expect?

 

Any help appreciated, thanks in advance

 

Let me know if you need more bits, I'll probably upload on Monday.

 


Viewing all articles
Browse latest Browse all 66786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>