01-25-2023 03:23 AM
Hello Guys,
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
https://lavag.org/topic/22890-difference-between-2-time-in-case-structure/
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-25-2023 03:52 AM - edited 01-25-2023 03:53 AM
Hi amir,
@amirdifraxe1 wrote:
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
Hi amir,
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)
Suggestion:
There might be simpler solutions… 😄
01-25-2023 09:54 AM
oh sorry Dear, i forgot it. i have attached Version 2016.
01-26-2023 10:57 AM
Excuse me Dear, what is the name of these components?
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.