Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Push button not releasing in Vision Builder IA front panel.

Something that should be so simple...  I am creating a custom user interface for Vision Builder AI (without LabVIEW) that has two pushbuttons (Next & Previous) which should navigate to the next or previous state (displaying a simulated image) accordingly.  The purpose of this is two add a few "slides" to the user interface inspection sequence that give the user setup instructions and has them click "Next" when they are ready to move on (or Previous if needed).    On the "Back panel" I have a state loop on itself by default (with a 200ms timer to not chew up the the processor) and then a transition to the next state with a criteria or the front panel pushbutton being true.  The button is setup as a Latch upon release which I though should return false once it was read/processed.  The problem I am having is that it will often jump forward 2 or 3 'slides' or more when pressed.  I've also tried including an Update Inspection UI to set the buttons both false but that didn't seem to be effective either.  Please help!!    

 

Images below are samples of the structure to help give an idea... 

 

 

Capture.PNG

Capture2.PNG

Thanks!

Pete

0 Kudos
Message 1 of 4
(5,051 Views)

I was able to implement the behavior you want by resetting the controls on the custom user interface manually at the beginning of each state. I used the Update Inspection UI step to set the Next and Previous buttons to false before any other inspection steps. I do find it strange that the Latch mechanical action doesn't behave as expected. I will do some digging and post my findings on this thread.

 

Regards,

Ian K.
Software Developer
Data Ahead AG
0 Kudos
Message 2 of 4
(5,023 Views)

Thank you Ian for taking the time to look at this.  At one point I had also tried the method you mention yet it still wasn't consistantly resetting the buttons false. 

I suspect VBIA is clustering all the IU controls in the background and it sounds like cluster controls not latching is a known behavior.  

 

I'll try your suggesteion again and see how it goes.

 

Thanks again

Pete

0 Kudos
Message 3 of 4
(5,010 Views)

Hello Ian

i know it has been a while but this issue keeps resurfacing.  Any chance you've had any revelations on this?  I did just submit a ticket on this (7462267).  Oddly you can use a Boolean control and it works just fine, it's all the push buttons that not release as expected. 

0 Kudos
Message 4 of 4
(3,610 Views)