Hi, here is my problem:
As part of a bigger VI, i want to make a stopwatch to measure duration of changes in output voltage of an infrared sensor. I've already made the subVI to recognize changes and return a boolean value (works with level crossing).
I have problems with the stopwatch subVI. It's "get date/time in seconds"-based, it subtracts the starting time of the subVI from the current time (see attachment). It works perfectly for the first time, but once it's triggered, it continues to measure time from the first trigger point, and doesn't want to update the starting time, no matter how kindly I ask it to do so. From then on, the inbound boolean value only switches the display on and off. I tried modifications, but I can't figure out the solution. How could I reset the function, or what another way could I build a simple stopwatch? Thanks for your help!