01-22-2010 05:00 PM
Please see attached and advice what I am doing wrong. Cannot connect DAQ output to Array and write a file. Thanks for any help you can provide. This is in LabView 8.0.
01-22-2010 05:23 PM
How about this?
(see atached)
01-22-2010 06:05 PM
01-22-2010 06:25 PM
That VI makes no sense and RTSLVU, your answer does not either. The only thing that could possibly be saved is the very last iteration of the loop and only if the DAQ loop stops first. With the solution from RTSLVU, only one data point of the very last iteration would be saved.
Don't use two loops and if you want to save all of the data, just place the Write to Measurement File inside the loop. If you only want the last iteration, place the Write to Measurement File outside the main loop.
01-22-2010 07:00 PM
01-22-2010 07:56 PM
01-22-2010 09:15 PM
01-22-2010 09:16 PM
01-23-2010 12:16 AM
uncleje wrote:
RTSLVU, what is the name of the icon to the right of the Double Precision Float icon? Where do I find it? Thanks.
That is Build Array located on the array palette. It is resize to just one input. So it is taking a scalar value and buildling it into a 1-D array that has only 1 element in it.
01-23-2010 09:17 AM
You guys have been so helpful and I am amazed at your knowledge level. I have revised my program using your inputs. I have moved to one while loop and moved the report writing function outside the loop assuming that the report will be written once per Dennis' inputs, reduced the sampling size significantly per Ravens Fan's inputs and RTSLVU's inputs on getting rid of the connection errors.
One question I have is shouldn't this not be a 2-D output i.e. Voltage vs. Time? Please see attached and kindly offer any inputs you may have. I will appreciate anything you can comment on in programming or dressing up the front panel. My experience level with this is one month. Thank you so much.