From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save data continuously from loop

I see that Cases 110 and the Default are not wired to the 1D array. Only Case 107 is. Is that correct?

 

Also, what's going on with that SubVI in there? Is that functioning properly and as you expect?

0 Kudos
Message 11 of 13
(545 Views)

@gibbsphe wrote:

Yes, they are running. I can see on screen their values changing, but the .txt file always comes out blank. 


Assuming the missing SendReq queues things up you don't seem to ever send any MsgType 107, which is the only one that actually creates any data to be saved. If you Probe and set a Breakpoint at the outgoing array going to the Write to file, do you actually have any data?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 12 of 13
(538 Views)

This goes back to what I said.  Most of the cases don't have a value wired to the output tunnel and will output a default value, an empty array.  Thus eliminating anything that was ever stored in the shift register.

 

Run your VI in slow motion with highlight execution!

0 Kudos
Message 13 of 13
(535 Views)