03-08-2021 08:36 PM
Hello,
I wanted to have a timestamp to indicate the date and time whenever my boolean time turns true... I am having a hard time wrapping my head around implementing a time string whenever my boolean light turns on. Any tips to implement this?
Thank you!
Solved! Go to Solution.
03-08-2021 10:53 PM
What is the purpose of your shift register? All it does is delay the boolean light until the next iteration.
When you want something to happen when a condition is TRUE, put it in the True case of a case structure.
I would recommend you learn more about LabVIEW from here. How to Learn LV
03-09-2021 01:14 AM
Hi kepham,
@kepham wrote:
whenever my boolean time turns true...
Any tips to implement this?
When you want to detect changes of boolean states then you should use the Pt-By-Pt-BooleanCrossing function…
03-09-2021 02:23 PM
Hi,
Thank you!
I corrected the vi with a case structure, and the light turns on when it hit the true condition, thank you, however my true intention is to display a time string that shows the date and time the light turns on.
Thank you
03-09-2021 02:27 PM
Once again, I overlooked the solution, I added the get time/date string inside the case structure. Thank you so much to you both.
03-10-2021 08:51 AM
It isn't proper to mark your own thank you message as the solution to your problem. You didn't solve your own problem. You should mark the one or more messages that provided the solution to you.