LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a botton to reset shift register values

My code needs to run for around 30 mins then I need to reset the initial temp and strain values stored. 

How can I do this without having to stop and restart the code ?

0 Kudos
Message 1 of 3
(213 Views)

A large portion of us don't use the most recent versions of LabVIEW for assorted reasons.  You've saved it as 2023, can you back-save it to 2019 or so?  That should accommodate most of us.

 

Without being able to see your code, best I can imagine is something like this:

Kyle97330_0-1721340755144.png

 

0 Kudos
Message 2 of 3
(186 Views)

I also cannot open your code (I'm running LabVIEW 2019 and 2021).  But if the main routine is configured as a State Machine or Message Handler, you could add a "Reset" State/Message that, how shall I say this, "resets" the value in the Shift Register (to whatever you pass in as the new "initial" value).  [This is basically Kyle's answer -- I'm just "guessing" at the structure of your existing code and suggesting "Add a Reset State"].

 

Bob Schor

0 Kudos
Message 3 of 3
(139 Views)