LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best structure to measure voltage across 8 resistors in parallel via 8 separate analog channels

dennis:

thanks i was playing around with it i think i figured out everything. if i wanted to display separate avg. voltages for each channel, say im taking 100 samples per channel, before i would just wire the read output to the mean vi, how would i display separate voltage avgs? i probably have to extract the columns from the array?
0 Kudos
Message 21 of 26
(860 Views)
Hi sk515,

Attached is an image that basically shows you how to do what you are trying to do.  Essentially you could just use the Auto-Indexing For Loop to pull out each row of data, find the mean for that row, then build that back into an array that you can deal with.  Each element of the new array is the mean value for a row of the 2D array of data that was read.

Dennis, great job with fielding all of these questions.

Regards,
0 Kudos
Message 22 of 26
(848 Views)
will i be able to display each of the averages?  thanks everyone for the help.
0 Kudos
Message 23 of 26
(844 Views)
Ak2dm,

Doh!

I'm really losing it altogether these last few days.  Sorry for silly "correction".

I need a vacation.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 24 of 26
(885 Views)

You can create tasks that are several channels, and since NI-DAQ7.4 these can be mixed mode tasks with the channels configured for different types of measurements (thermocouple channels mixed with those configured as current, etc.), according to those at NI that I talked with. I haven't had an opportunity to try that yet. So yes, a task can define multiple channels and you can make multiple readings on multiple channels simulataneously. Then, as the previous posters stated, the data can be split out, averaged or whatever, and then displayed.

 

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 25 of 26
(829 Views)
got everything to work guys. Thanks for all the help and input and patience!
0 Kudos
Message 26 of 26
(814 Views)