LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving numerical array causes endless loop

I am having a problem saving a 2D array to a spreadsheet file using the save data to spreadsheet.vi.
The function is in a TRUE/FALSE pannel inside a larger WHILE loop.
Every time I exicute the T/F pannel the file dialoge box appears and the file is saved correclty but the file dialogue box just resets and will not close (go away). I have to CANCLE to get the dialogue box to go away and that casues a LabVIEW error.
0 Kudos
Message 1 of 2
(2,489 Views)
Check the mechanical action of your button that selects the true/false case (right-click on the front panel control and select "mechanical action")> Make sure it is set to e.g. "latch when released", this will cause it to go back to false once the diagram reads it. If it is set to one of the switch actions, it will remain true.

If this is not the problem, please attach a sample of your code.
Message 2 of 2
(2,485 Views)