LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file not saved

Hi There,

 

     I can't save my file with this output method. but it works for other programs. Why is that?

 

     Thanks,

 

     Lei

0 Kudos
Message 1 of 10
(5,063 Views)

You are traying to save to C:\Data\2010\081810. This folder must exist and the logged in OS user must have the rights to write to this folder.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 10
(5,055 Views)

Thanks for the reply.

 

I have the right and I can save the file in the same folder with other programs.

 

Lei

0 Kudos
Message 3 of 10
(5,048 Views)

Are you getting any kind of error message?  And if so, what does it say?

0 Kudos
Message 4 of 10
(5,031 Views)

no error messages..........

 

 

0 Kudos
Message 5 of 10
(5,013 Views)

Have you done any debugging?  Try highlight execution, or put some probes on the wires.  See if your code is ever getting to the part where the data is supposed to be written out at the Write to Spreadsheet file VI.  Maybe your execution is getting blocked in one of the those subVI's.  I can't tell because I don't have your subVI's.

0 Kudos
Message 6 of 10
(5,008 Views)

I found the problem. because it only saves the files when you finish all the loops. If you stopped in the middle, it doesn't work.

 

Thanks all.

 

 

Lei

 

0 Kudos
Message 7 of 10
(4,994 Views)

How were you stopping your program?

 

You have a stop button control on your front panel.  Wasn't that working?

 

Please don't tell me you were hitting the Abort button on the toolbar.

 

Or was it that you have the entire program wrapped in big For Loop, so it ran several more times.  You might want to consider using the conditional stop button on that for loop.

0 Kudos
Message 8 of 10
(4,990 Views)

Hi ravens,

 

   I hit the abort button. Thanks so much for your suggestions.

 

    Have a nice weekend,

 

    Lei

0 Kudos
Message 9 of 10
(4,982 Views)

Don't do that.  Smiley Wink

 

See here.

0 Kudos
Message 10 of 10
(4,973 Views)