01-03-2011 04:34 PM
Hi,
Had to simulate a press and hold button on a panel to activate the rest of the buttons on the panel.
So far, used Acquire input data, index array, case structure (boolean), all in a while loop.
Any comment to this approach or any idea appreciated,
The vi can be uploaded on request.
Rgds,
David
Solved! Go to Solution.
01-03-2011 04:40 PM
Not sure I understand. You want the button to stay pressed? Right click and change the mechanical action from latch to switch. Uploading the vi would be very helpful.
01-04-2011 01:34 AM
The button should act as a press and hold button on standard panels. A saftey feature which activate the rest of button on the panel provided that the button press and hold for certail seconds. Here is the vi.
David
01-04-2011 03:36 AM
I am still not clear with what you want...
Could you please elaborate on your application?
Regards,
Prashant
01-04-2011 05:47 AM - edited 01-04-2011 05:48 AM
Hi David,
I have attached a couple of vi's that might help. One is a press and hold vi, the other is an example of how it works.
Let me know if they help.
Rgs,
Lucither
01-04-2011 05:59 AM
Hi David,
Couple of points wrong with my last 2 vi's, try these instead.
Rgs,
Lucither
01-04-2011 06:10 AM
Sorry,
Never attached the updated version, Try again
Rgs,
Lucither
01-04-2011 07:11 AM
Hi David,
Just been thinking about the vi's i sent. Im not too sure (without testing which i cant be bothered to do) whether having the 'Initialise keyboard' and 'Close input device' inside the press and hold vi is a good idea, i am thinking that it is not (I'm sure that someone on here can confirm that for me). I have attached an alternative that i think will be better.
Rgs,
Lucither.
01-04-2011 07:41 AM
Thanks for files.
But could not open it is made by ver 9, Got version 8.5.1 and could not open it.
(sending in compatible format or sanpshots).
01-04-2011 07:43 AM
No worries,
Here they are in 8.5.
Rgs,
Lucither