ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enter value to numeric control

Hello,

I control the posotion of a microscope stage by entering a number into a string. In order to send the number to the microscope stage I use a push button connected to a case structure. I would the event to occur (the movement of the stage) when I simply press the enter key.

Thanks in advance,

Gaby   

0 Kudos
Message 1 of 7
(3,398 Views)

Hi Gaby,

you can use an event structure with a key up or down event. Check the return key and start your process if the event occurs.

 

Mike

0 Kudos
Message 2 of 7
(3,393 Views)

Hi,

 

Thanks to post in NI forum,

 

In properties of your button you have a tab "key navigation",you can assign a touch to toogle (pressed) your button.

 

See the attachement.

 

Regards

0 Kudos
Message 3 of 7
(3,392 Views)

Thanks for your reply,

In the key navigation I don't have an otion to set the toggle. I use Labview 8.0

Thank you 

0 Kudos
Message 4 of 7
(3,386 Views)

I have labview 8.0 and I have too the key navigation. Can you send an image of your tab?

 

Regards

0 Kudos
Message 5 of 7
(3,380 Views)

here is the image of the window I get.

Thanks 

0 Kudos
Message 6 of 7
(3,344 Views)

You .jpg looks like the properties for a string control not a boolean.  A boolean (your push button) will have the toggle properties.

Message Edited by vt92 on 01-21-2009 08:08 AM
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 7 of 7
(3,339 Views)