From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String with carriage return in barcode.

Solved!
Go to solution

I am reading serial number using Barcode scanner. Barcode scanner can be preprogrammed to automatically terminate with carriage return.

How do I add the functionality that after scanning if carriage return is found at the end of barcode scanned string, the VI should continue instead of waiting for OK button to be pressed?

Currently the OK button has key navigation of Toggle and focus with key assignment of <Return>.

 

 

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 2
(848 Views)
Solution
Accepted by topic author lvrat

 

Try setting the string control to "limit to single line".

 

0 Kudos
Message 2 of 2
(841 Views)