LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple check boxes as case selectors

If he's already stated he can't understand the QMH, it's probably not best to suggest it again without taking time to actually explain what's happening.

 

7zip can archive to a zip file.  Don't be the guy uploading files that expect someone to download a specific archiving program when you don't have to be.

0 Kudos
Message 11 of 22
(1,837 Views)

I thank you all for replays but I think my question is not well understood. I attached the VI, which read from text file and exctract a 2D array for each structure. Occasenaliy I need to write to file, which I can do with the IF structure. But It keep asking me where I write unitl I switch the IF structure manually. Is there someway to make it write ine time and switch off automaticlly unitl I ask it again by clicking writ ti file icon

Download All
0 Kudos
Message 12 of 22
(1,742 Views)

Wire the inputs to the Write to Spreadsheet file function so that it goes to a shift register on that loop.  After you've picked the file the first time, it will be stored in the shift register and be used in the next loop iteration.

0 Kudos
Message 13 of 22
(1,733 Views)

O.K but it will ske me where to write the next iteration, which I do not want.

0 Kudos
Message 14 of 22
(1,721 Views)

This is what Ravens Fan is suggesting. The initialization of the shift register with Empty Path constant will cause the Spreadsheet VI to ask for a file path the first time the OK button is True. On any subsequent iteration it will use the same path from the shift register.  The False case has the path wired straight through.

 

(Ignore the red X. The Spreadsheet VI has changed in LV2015).

 

Lynn

 

Ask once.png

0 Kudos
Message 15 of 22
(1,717 Views)

Could you kindly attache the VI please

0 Kudos
Message 16 of 22
(1,710 Views)

That should be very easy for you to create from the picture.

0 Kudos
Message 17 of 22
(1,703 Views)

I just added the shift register to your VI.  I moved the case structure down a little so the path wire could run straight across. You could modify your VI faster than I could save the modification a for a previous version and post it.  Besides, I already disposed of the changes so I would have to do it over again.

 

 You will learn more by doing it yourself.

 

Lynn

0 Kudos
Message 18 of 22
(1,700 Views)

Husain,

 

Did you intend to post in this thread? You mention that your question was not well understood but you hadn't actually posted anything here before that unless i'm missing something and your question seems quite different from my initial post?

 

Parker

0 Kudos
Message 19 of 22
(1,672 Views)

Again I think  my point is not clear. Your VI will use the same path to writ the results. I wint the program to write the result one time on request and stop writing and asking for file to write to.

0 Kudos
Message 20 of 22
(1,641 Views)