BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 8.5.1: differing behaviour of barcode scanner in VI and EXE

Hi there
 
i think there's a bug in 8.5/8.5.1:
 
I'm using the ValueChanged event of a focussed string control to get the barcode read by a PS2 barcode scanner. This works fine with the VI, but in the executable a single 'J' is appended to the barcode string and the terminating CRLF is not recognized, so the event is not fired. 
 
Seen on three machines with Win2000 and XP.
 
This was working with LV 7.1 on the same machines (don't know about versions between 7.1 and 8.5)
 
Attached a shot of the inputs and a little demo (be aware to set the focus to the "Input" string control) in 8.5
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Download All
0 Kudos
Message 1 of 3
(5,523 Views)
ups, wrong board, sorry .....
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
(5,519 Views)
Latest results: a LF (x0A) sent by the scanner is misinterpreted as 'J' (x4A), a CR (x0D) is interpreted correctly. So when the string is terminated with a CR the ValueChanged event is catched. Still all works fine as VI, not as EXE.
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 3 of 3
(5,446 Views)