Solved

jpos control issue

Posted on 2014-02-05
17
242 Views
Last Modified: 2014-02-10
I am using honeywell handheld bar code scanner in POS with JPOS controls. Scanner is scanning bar code very fast but application is not ready to handle. application is busy pull item information from Database. I want slow scanner down. is there a way?
0
Comment
Question by:MehtaJasmin
17 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 39835630
Is a human scanning the barcode?
0
 

Author Comment

by:MehtaJasmin
ID: 39836294
yes
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39836472
So - if the app isn't responding in time, you have two options

a. slow down the human
b. speed up the app
0
 

Author Comment

by:MehtaJasmin
ID: 39836490
please explain how?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39836704
please explain how?
Using method a or method b?
0
 

Author Comment

by:MehtaJasmin
ID: 39836734
please explain steps
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39836764
Using method a or method b?
0
 

Author Comment

by:MehtaJasmin
ID: 39836777
Can you tell me in jpos control how do we add delay, that will fix my issue?
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 86

Expert Comment

by:CEHJ
ID: 39836894
Can you tell me in jpos control how do we add delay,
How do you add a delay to WHAT?
0
 

Author Comment

by:MehtaJasmin
ID: 39836911
delay to jpos control
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39836967
Sorry, there's some confusion i think. The situation so far is that the application (of which jpos is part) cannot keep up with the scanning. Is that correct?
0
 

Author Comment

by:MehtaJasmin
ID: 39837060
Application is fine, that suppose to take that much time, as i mentioned in my question, we need to slow down scanner. jpos control is where we need to make change.
0
 
LVL 16

Expert Comment

by:krakatoa
ID: 39837418
Application is fine

You said exactly the *opposite* in your question.
0
 
LVL 38

Expert Comment

by:Herman D'Hondt
ID: 39837657
Tell the human to wait longer, and to move the scanner more slowly.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 39838581
MehtaJasmin, you seem to have decided what the solution is to your problem, so, for what it's worth:

http://jpos.org/doc/javadoc/org/jpos/util/ThroughputControl.html
0
 

Author Closing Comment

by:MehtaJasmin
ID: 39847249
I fixed it by configuring delay on device itself but you tried to help so grading you excellent, enjoy
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39847274
I fixed it by configuring delay on device itself but you tried to help so grading you excellent, enjoy

Well of course the user might still consider it broken as the scanner won't respond at the speed they want ;) IOW, that's the next best thing to my choice a. remedy
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Well I am not sure whether i deserve anything (credit or points) for this article, since I have not written the source code but discovered the same while browsing the net. I only wish to help EE users save some money and probably help the environmen…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now