01-03-2014 09:13 PM
I have one application to which I have no control. It will read the scanned number by user and search in database and process it and generates the output.
Another application is written in LV writes the SR no scanned by scanner and do some processing and update to database.
Now one application will read and another will write the data to database. In both the cases input is given by scannner to application.
Is this possible to run both application parallely in one CPU. Here the sequence of inputs is also not fixed. Both the application will read independently from different scanner.
In my end for one application I can add enter at last(already there) and for another scanner I can add TAB at last
01-03-2014 09:53 PM
01-04-2014 01:28 AM
@Dennis_Knutson wrote:
Haven't you used Google? A search for 'bar code scanner rs232' returns numerous results.
Since you have no access to one application, use a wedge type/ USB for that. Use an RS232 one for the second or just use the same scanner for both. With USB scanners, it's really a difficult exercise to make Windows see different ones. They are all keyboards.
I did that but what I mean to say is now a days nobody is buying that(Except the peoples have no choice). I never said this doesn't exists.
Regarding my question, I have a project needs to be done in this way only. Using same scanner is not possible(If I do that then user needs to bring the window to TOP all the time, becasue in one project only sr no needs to be scanned but for other some other things also needs to be scanned).
One more things I need to ask, for barcode I need cursor, if I use two USB barcode then creating two cursor is different. For RS232 scanner then use USB to serial and reading using VISA then is it good solution?
01-04-2014 01:54 AM
01-04-2014 10:47 AM
A USB scanner does not necessarily mean it can only act as a keyboard. Many scanners can emulate a serial port by scanning a special barcode to put it into that mode.
01-05-2014 08:50 PM
@nathand wrote:
A USB scanner does not necessarily mean it can only act as a keyboard. Many scanners can emulate a serial port by scanning a special barcode to put it into that mode.
Can you please elobrate? Is it possible to write to an indicator without focus? My other application which is not written using LV needs focus so if I can able to write scanned value to my indicator without focus then all job is done.
Thanks
01-05-2014 08:53 PM
@Dennis_Knutson wrote:
You did say all bar code scanners come with USB.
If your users are unwilling to click on different Windows to obtain focus then the most sensible option is to use a non-usb scanner for one of them. This has already been suggested by several answers you got here. Windows itself does not differentiate between multiple USB scanners. One or many show as a single keyboard.
Yes when I enquired about it then my delar said no. If I can emulate the USB as serial and can write to my indicator without focus then I think it will be done.
01-05-2014 08:55 PM
What is a "delar"?
01-05-2014 08:59 PM
@Ranjeet_Singh wrote:
Can you please elobrate? Is it possible to write to an indicator without focus? My other application which is not written using LV needs focus so if I can able to write scanned value to my indicator without focus then all job is done.
Of course writing to an indicator does not require focus - an indicator displays values. I'm not sure why this is relevant here. You can read from a serial port at any time, regardless of whether the application has focus. You will have to consult the manual for your scanner to see if it supports serial port emulation. The Honeywell (formerly Handheld) scanner I used in a previous application had special barcodes to switch between keyboard emulation and serial communication. Other devices might require installing a specific driver.
01-05-2014 09:00 PM
@RavensFan wrote:
What is a "delar"?
Dealer.