07-09-2020 02:49 PM
I am trying to do something quite simple in LabView but am having a hard time doing it.
Basically I want to have a boolean value that is false and every x seconds it turns true for about 1 second and then reverts back to false.
This boolean value would be wired in a loop to the stop condition so that the loop stops every five seconds. This loop is within a bigger loop that will restart the inner loop every time it stops.
Any help would be greatly appreciated!
07-09-2020 03:45 PM
Can you share what you have already tried? Have you considered using a state machine architecture (no reason for the loop within a loop)?
07-09-2020 04:04 PM
Yes I did try to use a state machine architecture but was not able to get it to run succesfully.
I have attached the .vi below. I want the "stop 3" block to be replaced with something that continually outputs False and every x seconds switches to True for about a second before outputting False again.
07-13-2020 05:45 AM
Sorry for the delayed response. Could you backsave to an earlier LabVIEW version? I have not yet installed LabVIEW 2020 so cannot open your vi. If you are using the latest version of LabVIEW it is usually a good idea to save back at least two versions to get maximum response on the forum.