LabVIEW: view every time a button is pressed

I’m trying to make a simple project to practice with LabVIEW: I’m creating a VI with a standard Button and a stop button. When the VI is running, I’ clicking the button many times and then, when I click on STOP, I would visualize on Front Panel a “List” (I’m using an array for this) which contain a timestamp for every button pression.

Is it possible? How can I do this? I’m trying to create an array with the “insert into array” element, but it doesn’t seem to work.. Thank you all guys!

1 answer

  • answered 2022-05-06 22:26 srm

    This does what you request. Two frames of the event structure and an autoindexing array collecting only the timestamps from the OK button press frames.

    enter image description here enter image description here enter image description here

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum