LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

appending to text file using shift register

Hey guys

I have been working on a labview program to control a stepper motrow. I have created or attempted to create a shift register. I am having problems writing to a text file. If I am not appending to this file, then it lags one iteration for it to proplerly write to the file. If I do append to the file, then the time always stays at zero, but it does seem to write the proper iteration.

 

Thanks for the help, attached are two screen shots and my program.

0 Kudos
Message 1 of 3
(2,208 Views)
0 Kudos
Message 2 of 3
(2,207 Views)

Hi Julian,

 

the lag could be induced by some race conditions because of heavy local variable over-use…

Best regards,
GerdW


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