12-02-2005 01:18 PM
12-02-2005 02:15 PM
12-02-2005 03:14 PM
Hi John,
Thanks for taking a look at my code. I think my problem lies in how I handle my reference numbers for Excel. I'm looking to just take one reading and dump that value into Excel, so I don't think I need any loops. I may be wrong.
I think it's how I open Excel in one structure, and then write it to a local variable, and then I read that variable in another structure. There seems to be something basic that I'm missing, and I'm not sure what it is.
Thanks again!
12-05-2005 03:42 PM
GoBlue,
I checked out your code and it looks like that it very well could be the local variables that are causing your issues. I would try to take out all of the sequence structures that you can and use the error clusters on your subVIs and property nodes to enforce the sequencing that you would like. This would eliminate the need for the local variables as well, and make your program easier to read, which usually helps when finding errors.
Hope this helps!
Andy F.
12-06-2005 07:44 PM
Hey Guys,
I figured out what John was saying to do with the while loop, and that works good. I see my LabWindows logic needs to change for LabView. Thanks John!
It was definitely the local variable screwing me up, I got a basic Excel write VI working, then I broke one reference number line and placed a control and a variable in the path, and sure enough it didn't work after that. I'm sure there's a reason why, I just don't know it.
12-07-2005 03:07 PM