Labview button freezes after pressing

I am trying to program something to read voltage in the Labview ULx library and add voltage to the array. I tried to do this using the event structure by setting the mechanical action of the logical button to “Latch on Press”. However, the “Latch on Click” option does not seem to work, and the program reads the voltage and correctly adds it to the array, and it freezes.

Front Panel

Flowchart: enter image description here

+3
source share
1 answer

When you use an event Value Changedwith a fixed logic control, you must read the control value inside the event structure to reset the latch.

Sample , , .

: Latch When Pressed, , (Windows ..) Latch When Released. , , , - . , , .

+4

Source: https://habr.com/ru/post/1692912/


All Articles