LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save data

How can I save the data once when I press the save button, and it will remain in the same file when I write it next time?

0 Kudos
Message 1 of 5
(1,858 Views)

Hi luopeng,

 


@luopeng2019 wrote:

How can I save the data once when I press the save button, and it will remain in the same file when I write it next time?


Use a latching button to save the data "once upon press".

And append the data to your file instead of overwriting the file to "remain the text the next time"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,852 Views)

Can you modify it on save.vi uploaded in my attachment? Upload after modification, thank you!

0 Kudos
Message 3 of 5
(1,766 Views)

Can you modify it on save.vi uploaded in my attachment? Upload after modification, thank you!

0 Kudos
Message 4 of 5
(1,765 Views)

Hi luopeng,

 


@luopeng2019 wrote:

Can you modify it on save.vi uploaded in my attachment?


Yes, I can do this easily…

Why can't you?

 


@luopeng2019 wrote:

Upload after modification, thank you!


No, I will not do that!

Do this simple step on your own! You already had 3 days to change the mechanical mode of your button…

 

Right-click the button, select an appropriate mechanical action for your button!

And when you are editing that VI: the FileClose function belongs into the case, where your other file functions are located…

What's the point of that FOR loop iterating exactly once?

And why does that WHILE loop needs to spin as fast as possible?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(1,758 Views)