LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Salvare su file

Buongiorno a tutti!
Sto preparando un progetto per scuola ma ho un problema.. Ho collegato un array di stringhe alla funzione Save to Text File e volevo sapere se c'è la possibilità di avviare questa funzione alla pressione di un tasto. Qualcuno saprebbe aiutarmi?

 

Grazie

Christian

0 Kudos
Message 1 of 6
(3,494 Views)

hi christiangentilini,

 

Put your VI inside a Case Structure and give push button as case.Then VI will only start when you press push button.

 

Please Mark the solution as accepted if your problem is solved and donate kudoes :smileyhappy:

Message 2 of 6
(3,482 Views)
I solved this using Event Structure thanks 🙂 I hsve another one trouble: I need to make in a casual order the data contained in an array. How can I do?

Thanks, greetings 🙂
Message 3 of 6
(3,462 Views)
Hi christingenti,

What do you mean by casual order?
-In the array palette, you can find sort array,reverse array as readymade solutions.
-If you have any other specific order in mind, you can implements the same using the vis available in the same palatte.
Thanks
uday
0 Kudos
Message 4 of 6
(3,456 Views)
I explain better: I have 16 strings in an array and I need to create another one array using the same strings, but in a random order.

Bye, Chri
0 Kudos
Message 5 of 6
(3,438 Views)
-I don't know what order you mean the random order.
-But let me give you hint, You can get each element in the array separately using index array.
-Then you can build array in order what you need.
Thanks
uday
0 Kudos
Message 6 of 6
(3,432 Views)