LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

button delay

Solved!
Go to solution

Hi,

 

I have a problem with this VI. I have a time delay when I press a button (Setting or Home button). Exist a delay to appear and disappear the elements that I want to see every time ttat I press a button. Any idea of how can I solve it? This delay is produced because the time that I put when I send the commands?

 

Thank you,

0 Kudos
Message 1 of 5
(3,282 Views)
0 Kudos
Message 2 of 5
(3,280 Views)
Solution
Accepted by topic author Arosell

Hi,

 

I would have created a data cluster with the settings data and then opened a sub-vi where the user can do the changes, like a dialogue box. Another way would be to use a transparent tab control and then just change the tab between "Home" and "Settings". I think the delay is created by all your property nodes and updating the front panel. 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 3 of 5
(3,276 Views)

You need to take a look at the state machine that is included in the examples. This would eliminated the need for the wait steps and would allow you to build code that does not hang.

Tim
GHSP
0 Kudos
Message 4 of 5
(3,263 Views)

Thank you, I have solved the problem

0 Kudos
Message 5 of 5
(3,244 Views)