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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with handheld Bar code scanners over Citrix

Status
Not open for further replies.

Godmode

IS-IT--Management
Jun 19, 2001
2
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)
 
Barcode scanners = NITEMARE...!!!! I spent ages on this problem about a year or so ago, I have never managed to get a Metaframe Client to successfully use a Com/Serial port..I ended up loading the software locally and downloading the data to one of the local client drives and then starting the Citrix client and reading the data into the app on the Citrix Server from the saved file....doubt if that helps you but it was the only way I got it to work....!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top