LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sampling time in seconds?

it doesnt look like what i have is correct so. i moved the measurement outside, but its not writing any file now.?
 
 
 
i used the extract numbers block diagram, dont know if you got that example. to generate output numbers from the power multipler.  then i put the output of that into a max and min array
 
i will oook at your example now.
 
thanks
 
0 Kudos
Message 31 of 35
(861 Views)

i have tried using your example to get this done, can you look at the snapshot here?

i have noticed the time between each click of the meter has increased considerably, way too much.

 

regards

 

 

0 Kudos
Message 32 of 35
(859 Views)

That example was NOT intended to be used in your VI. It was to show you different ways to create arrays and how you were doing it was wrong. Run the VI by itself and watch the front panel. You will see how each different indicator is updated. You need to look into taking the Labview Basics course as you are not understanding the basic functions of Labview. I strongly recomend you pick an example go the the block Diagram and click on the Highlight Execution and watch the code run to understand what is going on.

In your picture this is what placing my example into your VI is doing. You take ONE measurement, my for loop runs 10 times with a 500ms delay between each itteration. Your one measurement is then built into arrays. Here is the data you will get, let's say your power calculation was 10. ARRAY=10, ARRAY2=10,10,10,10,10,10,10,10,10,10 ARRAY3=10,10,10,10,10,10,10,10,10,10

Look at the picture of how to do the calculations and save the file after the Batteries are dead.

Message Edited by AndrewAlford on 02-16-2006 02:51 PM

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 33 of 35
(850 Views)
You should learn about state machines. Here is an example that won't quite work for your project but may give you some ideas.

Lynn
Download All
0 Kudos
Message 34 of 35
(844 Views)
l havent used labview before really. im heading home now, been on this all day. im measuring power now, leaving it run away.
but i will need to get the mean power as well. so i will look into your tips again tomorrow.
 
cheers
 
eric
 
0 Kudos
Message 35 of 35
(838 Views)