Home > Software design >  LabVIEW: view every time a button is pressed
LabVIEW: view every time a button is pressed

Time:05-08

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!

CodePudding user response:

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

  • Related