01-25-2024 04:33 AM
Please provide me the solution for
Invert the state of boolean indicator twice a see until program stopped by user
01-25-2024 04:40 AM
Hi mukundvc,
@mukundvc wrote:
Please provide me the solution for
Invert the state of boolean indicator twice a see until program stopped by user
Why should we? (This is homework, isn't it!?)
Why don't you show your VI so we can comment on it and provide recommendations?
01-25-2024 04:48 AM
See if it is correct?
01-25-2024 04:49 AM
vi enclosed , is it correct?
01-25-2024 04:55 AM
Hi mukundvc,
first lesson: not all of us use the most recent LabVIEW version(s).
So you reach more people when you downconvert your VIs (File->Save for previous) before attaching.
LabVIEW versions of LV2021 or older are most often fine, I prefer LV2019…
01-25-2024 08:02 AM
Your requirement is to toggle a Boolean 2 times/second.
1. Your loop is running a 1 iteration/second, which is too slow for your requirement. Change the wait time to 500ms.
2. You have too many controls here. Based on your initial post, you should only have a stop button and the indicator. Initialize the Shift Register with a False Constant.
3. Think about the data you want stored in the shift register. I will just tell you that you are storing the wrong data.