i push a button and i want that some process wil start in labview . it should be like i press keyboard and interupt sent. now it is implemented using for loop that alwayes check if the value of the button is one
This calls for an event structure. Have a look at the online help and browse the examples (for example "New event handler.vi") for details.
In your case you would define a "this VI" event for "key down", then determine from the event terminals which key was actually pressed and act accordingly.
If this is a button on the front panel, then everyone's comment about an event structure is correct. If this is some physical button someplace, could you provide more details?
yes for example two buttones one push i take signal from channel one display it and the red light on second buttone pushed i take signal from second channel green light on