LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Barcode Inputs parallely

Solved!
Go to solution

Is this possible to read two barcode inputs by two different application running parallely in one CPU?

 

 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 1 of 30
(3,693 Views)

I only have a little experience reading barcodes so i am by no means an expert.

I would guess it would depends on your barcode scanner(s). We have two types at work one behaves as a HMI device and therefore i dont think Labview can tell the difference  between the scanner(s) and the keyboard. In this case i dont know of a solution.

 

The other type of scanner we have is older and commicates over a serial port. As the two scanners would separte serial port there would be no reason why two applications could not run on the same CPU.

 

Hope this helps

 

 

0 Kudos
Message 2 of 30
(3,679 Views)

For two parallel reading barcode I need two keyfocus indicator and pass it to TRUE?

 

How can I make it work two indicator and both keyfocus to be true?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 30
(3,663 Views)

If your scanner commincates over a serial port then you dont need key focus. Just create a loop that monitors serial port X until data arrives then process the data.
I am guessing your scanner behaves like a HMI device as you are talking about key focuses i am afriad your now out of my area of experience.

Good luck

 

 

 

 

0 Kudos
Message 4 of 30
(3,632 Views)

I am aware of that.....Now a days all scanner comes with USB for your kind information.

 

 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 30
(3,616 Views)

@Ranjeet_Singh wrote:

I am aware of that.....Now a days all scanner comes with USB for your kind information. 


Right, but you can receive data from your scanners in a few ways.  I have several applications that simply use a scanner as the keyboard, so the user (or, my program) needs to be sure to have the key focus set properly.  I have another system that uses the USB scanner as a virtual COM port and my software monitors that for data.  This doesn't require key focus to be set and lends itself well to having multiple scanners.  I think that's what D.Barr was trying to say.

 

If you can be certain of the sequence in which the barcodes will be scanned, you can set the key focus appropriately as you recieve data.  If you can't be sure of the sequence, but the formats of the bar-codes from each scanner are different, you can capture the keystroke events at the <This VI> level, make the distinction and then send the data wherever it's needed.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 6 of 30
(3,600 Views)

When a barcode reader is installed as an HID input device, LV treats it as a keyboard and doesn't see a difference between the various keyboards.

 

I haven't tried doing what you want myself, but I understand you basically need to get the data in a different way. I expect the information in this thread might be useful


___________________
Try to take over the world!
0 Kudos
Message 7 of 30
(3,589 Views)

OK, for some reason it didn't like the link. Here it is - http://forums.ni.com/t5/LabVIEW/Nugget-1-of-n-GEtting-started-with-USB-communication-via-VISA/m-p/74...


___________________
Try to take over the world!
0 Kudos
Message 8 of 30
(3,577 Views)

@Ranjeet_Singh wrote:

I am aware of that.....Now a days all scanner comes with USB for your kind information.

 

 


That is simply not true. 

0 Kudos
Message 9 of 30
(3,564 Views)

@Dennis_Knutson wrote:

That is simply not true. 


I had a requirement of RS232 scanner, when I asked my supplier, he simply said cannot supply becasue now a days they are all using USB

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 10 of 30
(3,522 Views)