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: 

Event Stucture With Bar Code Scanner

Hi,
I tried to use bar code scanner (as keyboard input) with Event structure.
My proceedure is to scan two types of bar code.
Scan one time and display the data on the GUI is fine but not the second scan.
Understand that I cannot use more than one event structure in the same VI, may I know what method allows me to scan twice and display the data on the GUI?
 
Procedure:
Bar Code Scan 1 ---> Data Display On GUI ---> Bar Code Scan 2 --->  Data Display On GUI ---> Wait For Next UUT For Bar Code Scan 1.
 
Thanks & Regards,
Norman  
0 Kudos
Message 1 of 3
(2,505 Views)
hi there
 
make sure the string control has the focus after the first scan. and make sure both barcodes are terminated with an EOL character(s). see attachment.
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 3
(2,501 Views)
Hi Chris, Thank you very much for the help! Best Regards, Norman
0 Kudos
Message 3 of 3
(2,483 Views)