LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

average and reset

Hello there,
I have there sensors A,B and C which are used to measure the analog voltages. I want to run the
DAQ for 5 minutes so that i can individually record the values for sensor A,B and C in three
excel sheets. At the end of 5 min I want to calculate the average of values and will call them
A(high), B(high), C(high).
 
Then change one of the parameters in my experiment and redo the above process, that is run the
 VI for 5 min  , put the values in three separate excel sheets. 5 min I want to calculate the
average of values and will call them
A(low), B(low), C(low).
 
Then i will click the RESET button and it will transfer all six values (low) ie
A(high), B(high), C(high).
A(low), B(low), C(low).
to a main WHILE loop of my program.
0 Kudos
Message 1 of 15
(3,939 Views)
What have you coded so far ? In which part have you encountered problems ?
0 Kudos
Message 2 of 15
(3,926 Views)

Can you post your code and explain where you have difficulties?

RayR

0 Kudos
Message 3 of 15
(3,909 Views)
kindly see attached file
0 Kudos
Message 4 of 15
(3,885 Views)
kindly see attached file
0 Kudos
Message 5 of 15
(3,884 Views)
Hi Mia,
are you sure that´s your vi? I can´t open it and it doesn´t look like a vi when i open it with a text editor.
Mike


Message Edited by MikeS81 on 07-04-2008 03:39 PM
Message 6 of 15
(3,879 Views)

I agree with Mike.

It can't be a vi.  It is more like some sort of report file...  Nothing that I'm familiar with..

R

Message 7 of 15
(3,872 Views)
Hi there,
Let me know if the attached VI opens up at your LabVIEW.
 
When I hit the "activate for collecting Aavg, Bavg, Cavg" , I want to write the ACTUAL values in excel sheet and after 5 min i want to the average values of  A, B, C and transfer these values to the MAIN WHile loop for doing arithmetics. The important point to note here is that the number of enteries for A,B,C in excel sheet is not fixed. It can be 500 enteries or 550 or someother number.
 
I dont know how to calculate and send the the average ( Aavg, Bavg, Cavg,Davg, Eavg, Favg) to the main loop.
0 Kudos
Message 8 of 15
(3,825 Views)
Hi there,
Let me know if the attached VI opens up at your LabVIEW.
 
When I hit the "activate for collecting Aavg, Bavg, Cavg" , I want to write the ACTUAL values in excel sheet and after 5 min i want to the average values of  A, B, C and transfer these values to the MAIN WHile loop for doing arithmetics. The important point to note here is that the number of enteries for A,B,C in excel sheet is not fixed. It can be 500 enteries or 550 or someother number.
 
I dont know how to calculate and send the the average ( Aavg, Bavg, Cavg,Davg, Eavg, Favg) to the main loop.
0 Kudos
Message 9 of 15
(3,824 Views)
why are you posting everything mutilple times? do u want us to double up?Smiley Very Happy
Message 10 of 15
(3,791 Views)