06-25-2024 04:57 AM
I want to write code where I set a counter to 0 and it goes to 5, but when it goes from 0 to 1, the code has to stop for 5 seconds before it goes from 1 to 2.
06-25-2024 04:59 AM - edited 06-25-2024 05:01 AM
Hi Elvin,
@Elvinn_ wrote:
I want to write code where I set a counter to 0 and it goes to 5, but when it goes from 0 to 1, the code has to stop for 5 seconds before it goes from 1 to 2.
And what is the question?
When you "want to write code" then you need to "start to write"…
Should the code "stop for 5 s" when the counter is still "0" or when the counter value is "1"?
How long should "the code" wait for other values of the counter? (LabVIEW can run loops quite fast, so you would not even recognize the other values…)