LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I take a take an average of my voltmeter every 10 readings?

Solved!
Go to solution

Here are a few recommendations:

 

1. Convert to standard DAQmx functions. It's not difficult and you don't have that dynamic data wire to contend with.

2. Read 10 data points at a time from your DAQ. This eliminates the need to have a loop to collect your 10 data points.

3. If you insist on using the DAQ Assistant as you currently are just put it in an autoindexing for loop - no need for a shift register.

4. If you need help debugging your code it is helpful to post your code - not just a picture. We can't see the settings of that DAQ Assistant, for instance.

 

Average 10 samples.png

 

Message 11 of 14
(404 Views)

I will try this tomorrow and get back to you all. Thank you.

0 Kudos
Message 12 of 14
(396 Views)

I could not find any daqmx functions in the palette. They must not be included in the community version.

0 Kudos
Message 13 of 14
(345 Views)

DAQmx drivers are a separate install.

 

Run NI Package Manager to install them after you are done installing LabVIEW.

0 Kudos
Message 14 of 14
(340 Views)