LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clear barcode string

Now i have met some questions when i use LabView 8.2. I try to scan the barcode to one input string, then check if the string length is 12, if not, the measurement will stop and a message will be displayed, otherwise, the measurement will continue, the input string should be empty after the measurement finished, and then continue input the barcode....   Is there some methods to do that?
_________________________


EZCONN TEST ENGINEER
-- --

V
0 Kudos
Message 1 of 4
(2,880 Views)

Use a Functional Global Variable with a Get/Set/Clear case for the string.

 

Christian 

0 Kudos
Message 2 of 4
(2,877 Views)

Well, I don't know if you're asking us to write the program for you, or if you're asking how to change the value of a control programmatically. To change the value of a control programmatically you can use either a local variable or use the "Value" property node. (insert all sorts of caveats here about race conditions that can occur with local variables, and everybody else jumping in and saying "I recommend that you don't use local variables and use the property node instead... Blah, blah, blah...)

 

If that is not your question, then please be more specific in what you're asking.

Message 3 of 4
(2,846 Views)

Hi Proven, thanks for your suggestion, Yesterday, i have tried two methods: local varible and property node. I found perperty node is more suitble for my system.....Smiley Happy. Well, i find there are still many questions hereafer,  i will keep you informed then....  Thanks .....

 

 

 

_________________________


EZCONN TEST ENGINEER
-- --

V
0 Kudos
Message 4 of 4
(2,826 Views)