02-16-2006 01:58 PM
I can't open your vi I only have 7.1.1. You have to perform the min max an mean functions on the arrays output from the timed loop. If you want the loop to operate until the batteries are dead then instead of using the time elapsed function to end the loop you will have to wire a comparison to the current to the stop. Eg if current reads less than 1mA stop and output the elapsed time value to a tunnel on the loop (Disable the indexing, this way you will only get the last value from the last iteration of the loop.)
I do not have the meter you are using so I cannot test any of this code. Make sure you add any configuration for the meter before the loop, you will have to step through the VI to see if the meter value settles with longer waits.
02-16-2006 02:16 PM
02-16-2006 02:19 PM
actually, that vi i sent should have the mean power sent to the measurment as well.
i will plot them all on excel when the results are done, namely :
mean power vs time
power vs time
current vs time
i also need to know the max power and min power dissapation and the times they occur, over the duration of the test.
02-16-2006 02:37 PM
02-16-2006 02:43 PM
02-16-2006 02:50 PM - edited 02-16-2006 02:50 PM
Message Edited by AndrewAlford on 02-16-2006 01:52 PM
02-16-2006 02:51 PM
question!
how can i build an array so if i dont have any values ? (leaving this run for howeve long it takes to die), ?
i got an example ' extract numbers' can i use this.? it outputs numbers and strings from an input string.
i have double coming out of the multiplier so need to convert that to a string?
02-16-2006 02:55 PM
02-16-2006 03:04 PM
02-16-2006 03:15 PM
Ok, look at the VI attached and run it to see how arrays are created. You will notice I have included what you did in your VI to show you what actually happens (It writes one value to the array and on each itteration it over writes it).
Let me know if this helps. VI is in 7.1.1