03-17-2010 01:02 AM
Hi,
I have a labview which gives a single element as an output after each test run. Is it possible to add this single dynamic output to previous data resulting into an Array(1-D).
Thank you for your Help!!
03-17-2010 01:09 AM
Hi oo77of917,
you can use "build Array" or replace array on an initialized array. Which type of data shall your array have?
Mike
03-17-2010 01:16 AM
If the "Test run" is happening in a loop then just get the single element out of the loop with "enabling index" and you have an array.
03-17-2010 03:24 PM
Thanks Mike & Muks for your reply.
In my case is that when I run the program once it returns a single ouput. The second time I run the program it provides with an different value of output as opbvious. But at the end of say ten test runs. I wan to to see all the ten outputs in an array. Is it possible?
I am trying to write an read the output after each test run. Is it sensible? or Is there any other way?
I am attaching my program for your reference. and a snap shot of the final output (TOF) which i want to retrive data for all ten runs.
Thank You
03-17-2010 03:29 PM
Hi oo77of917,
do you run your program in "run continuous mode"? You shouldn't do that! If your values come from the for loop, then you can use the autoindexing function, muks mentioned.
Mike
03-17-2010 11:52 PM
You can use something like this
03-20-2010 03:42 PM
03-22-2010 04:20 AM
Glad we will be to help. Attach you vi as i think this is just a part of the vi. If your question is solved mark "the solution".