03-09-2007 07:45 PM
03-12-2007 09:10 AM
03-12-2007 11:05 AM
Doug-
Thanks for looking at the code. Can you edit the code with what you are talking about doing, I am not totally sure on what to do, and how to implement it into the rest of the code.
03-12-2007 06:54 PM
03-13-2007 03:27 PM
03-13-2007 03:37 PM
Doug-
I ended up upgrading our current package of Labview to include support, and the support department worked with me and we got it working. Basically what you said. Index through each channel, convert each data channel (decimal into string), build array, transpose array, then array to spreadsheet. I was so close but yet so far away. Thanks again for taking your time.
03-13-2007 06:18 PM
06-12-2008 02:26 PM
06-12-2008 02:42 PM - edited 06-12-2008 02:45 PM
This past has nothing to do with the topic of the old thread, so you probably should start with a new thread.
I would recommend to do some LabVIEW tutorials first, because your code makes very little sense and has some hair-rising code constructs!
I must say I have never seen the iteration counter of a while loop connected to the N of a FOR loop, especially in a case where there is no wait. The FOR loop repeats the same operation N times, overwriting the previous data. In the "rr.." file you have stacked while loops with no waits and the inner loop does nothing but format the same old data over and over again as fast as the CPU allows. If the inner loop stops, the outer loop stops too, oso the outer loop has no purpose. Right? Stacked FOR loops with one iteration each is also not very productive.
All you need is a single while loop. Open the file before the loop, then keep appending inside the loop at the current file position, and close the file after the loop.
06-12-2008 03:27 PM