01-25-2023 03:23 AM
i want to know How long the LED ( pin 13 ) was on? in this format (Minute:Second). When i click on the button, start counting the times until when i click again. i need to calculate the 2 times between the True and False case structure.
01-25-2023 03:25 AM
cross-posting is ok, just mention it please
We have two ears and one mouth so that we can listen twice as much as we speak.
01-25-2023 03:52 AM - edited 01-25-2023 03:53 AM
When i click on the button, start counting the times until when i click again. i need to calculate the 2 times between the True and False case structure.
Use a shift register to hold a timestamp. Set the timestamp in one case and subtract in the other case…
Btw. we cannot edit/run/debug images with LabVIEW!
01-25-2023 04:54 AM
Thank you Dear, i will test it
01-25-2023 04:56 AM
thank you , i have attached my VI. if its possible for you can you do it like example for me ? because when i subtract it between two case error me.
01-25-2023 09:06 AM - edited 01-25-2023 09:12 AM
many of us aren't using the most recent LabVIEW version because of changes in the license scheme, so you better attach a downconverted version of your VI! (File->Save for previous)
There might be simpler solutions… 😄
01-25-2023 09:54 AM
01-26-2023 10:57 AM
01-26-2023 11:15 AM
First one is "feedback node", under Programming -> Structures
Second one is "Boolean crossing PtByPt.vi", under Signal processing -> Point by point -> Other functions
01-26-2023 11:54 AM
Thank you Dear
could you please to explain these schemes?
when i press the button(button=1), the input of crossing will be false-True then, on the selector, select True and start timing. but on the 2 selector and feedbacks i don't understand whats happened.if i know the concepts of this method will be ok.