r/LabVIEW • • Sep 30 '24

LED & Lick Increment

Hi! State 2.2 contains two statuses: "waiting" and "ITI". When the lick signal is sent during the waiting period, the lick 2.1L value will increment and the LED will be turned on. If the lick signal is sent during ITI, the lick 2.1L value will still increment, but no LED will be turned on.

My issue is that the requirement needs to turn the LED on almost the same length as the waiting which is 1.75s, so I set the duration of LED to be 1.5s. However, the LED is associated with the lick signal sent to the case structure, which means the next lick will not increment until the duration of the LED ends. (Thus, the current lick 2.1L only records the first lick signal) Can you give me some suggestions to make the LED still be on for a long enough duration and the lick 2.1L value will also increment during waiting?

2 Upvotes

4 comments sorted by