Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to operate handheld barcode scanners in a Citrix environment

Status
Not open for further replies.

Godmode

IS-IT--Management
Jun 19, 2001
2
0
0
ZA
Problem: Unable to operate handheld barcode scanners in a Citrix environment
We have an application WPCTEL that communicates to a scanner (Telxon PTC-710)
WPCTEL communicates to the scanner through the MSComm component. When the application is executed on a stand-alone computer, it works great with no problems. When we execute this application through Citrix Terminal Services, the application does not work.

Fault identification steps:
WPCTEL worked on a polling basis where the application keeps on polling the MSComm component. Through investigation we found that the MSComm component gives us, through the communication process, an error 8020: “Error reading comm device”.

We then ignored the error code until we get a valid response. The DSR is holding during this phase. We then implemented a delay function, for the application to wait for a response from the scanner. This seamed to work, but is not reliable. When it was tested on the client side (through modem) it did not work.

WPCTEL was then changed to work on the onComm event. This means the application waits for the event to fire. When the onComm event fire, and you ask for the information in the buffer, the error 8020 is displayed (at random intervals).

The Citrix configuration for Comm port polling was set on False or Off. We then tried it with the polling on, with no success.

We then had a look at other Comm components and tried the GreanLeaf’s component CommX.
The CommX component does not seem to be able to receive all the characters from the scanner.


Regards,

Daniel Schotter (DanielS@trencor.net)
 
You might want to try a keyboard wedge for your scanner. This should be able to emulate keyboard input that citrix will be more comfortable with.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top