LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bar Code Scanner

Bar Code Scanner connected like keyboard. I can see scanned data on the Front Panel, but can't use it until Enter key pressed.

Is there a way to use it without hitting "Enter"?

Thank you

0 Kudos
Message 1 of 6
(2,134 Views)

Program your barcode scanner to append an Enter character to the end of the scan.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 6
(2,128 Views)

Hello,

 

Or you can right click the indicator and select "update while typing".

 

 

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 3 of 6
(2,113 Views)

@Jorge_Amaral wrote:

Or you can right click the indicator and select "update while typing".


If a value change event is configured for the control, this would cause an event to fire for every letter.  This may/may not be desirable.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 4 of 6
(2,111 Views)

Programming the scanner would be the best, but if that's not possible, update while typing is better then blindly polling the string value.

 

Of course bar code scanner can often also be read through a (virtual) serial port. Doesn't really change much, you'd still want an enter after each scan, or you'll have to poll data.

0 Kudos
Message 5 of 6
(2,069 Views)

Thank you. This is good way.

0 Kudos
Message 6 of 6
(2,031 Views)