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: 

Stepping at runtime

Stepping through for loop.png

Something like this?

EDIT1: My bad, disregard this reply.

 

EDIT2: After re-reading your first post and given that your code runs in a for loop and you are willing to step through a for loop which was not in the first post but implied after the last one. Attached VI "Stepping through for loop.vi" should work.

Download All
0 Kudos
Message 11 of 16
(950 Views)
Thanks but could you please give me that vi for version 17?
Thank you
0 Kudos
Message 12 of 16
(938 Views)
0 Kudos
Message 13 of 16
(935 Views)
Thanks.
I don't really understand shift registers and never use them. This be off topic but could you explain there use in this case?
0 Kudos
Message 14 of 16
(925 Views)

Shift registers are used to store/transfer values from one loop iteration to another.

 

Check out this video by NI:

https://www.ni.com/en-us/innovations/videos/11/labview-shift-registers.html

 

And training resources:

https://www.ni.com/getting-started/labview-basics/

 

Is last VI working as per your expectations?

0 Kudos
Message 15 of 16
(915 Views)
The video was well done and now that understand it a little better, I'll try to incorporate them in future projects.

The last vi seems like it would work if I was to start from scratch but my simple notification works as well and I didn't have to change anything other than add the 2 case structures. I appreciate the lesson though and thank you very much.
0 Kudos
Message 16 of 16
(898 Views)