LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Keyboard Input- Allow USB Barcode Scanner Input

There is another solution

make the text box password char so when the user Scans/Types just "*" will appear

then make the employee number in the card be printed on the Id but in the database such number will have a "X" or any other character preceding the number and 2 vowels at the end of the employee number

when the user tries the number it will not work but the scanner will


@Taki1999  ha escrito:

This looks pretty reasonable and will work in most cases.

 

The following questions are mostly devil's advocate, pathological type questions:

1) Will your scanned string always have a line feed? I've seen a wide variety of barcode strings when working for different companies.

2) Will your scanned string always be multiple characters? I've even seen companies that use barcode stickers for Rev letters where the only text on the barcode is "A"

 

LabVIEW type questions

Do you really need the field clearance to be done with a Value(Signaling) property node? This is slow and requires UI thread swaps. This is one case where I think a local variable may be better.

Any thoughts about putting this into an XControl?

In your final version, you can probably drop the hidden indicators.


 

0 Kudos
Message 11 of 11
(955 Views)