How are ReadyToFeed, TrackClear and item events related?
Your application may begin or resume feeding whenever the
TransportReadyToFeedState() event fires.
- When the TransportReadyToFeedState() event fires and the previous state is TransportEnablingOptions:
- Your Ranger options have been enabled.
- The scanner is idle.
- If any items are pocessed after a StartFeeding() call:
- The TransportTrackIsClear() event will fired after all items have completed processing and the scanner's is idle.
- Item events such as TransportNewItem() may be fired until the TransportTrackIsClear() event is fired.
- If no items are pocessed after a StartFeeding() call:
- The TransportReadyToFeed() event will fire again with a previous state of TransportFeeding.
- The TransportTrackIsClear() event will not fire in this case, since no items were processed.
Related Articles
I'm Missing Item Data
If you've recently switched to using the CR-120 or the CR-150 from another scanner and seem to be experiencing loss of item data, please make a review of your source code during TransportNewItem, TransportSetItemOutput, and TransportItemInPocket. ...
What should I do if I need to get user input while an item is being processed?
It's important to return from the TransportSetItemOutput event quickly. For portability reasons it's a bad idea to prompt an operator for input during this event. If you need to prompt the operator for input, register for Ranger's ItemSuspended event ...
How can I generate the C++ files needed in referencing the functions and events ?
These instructions assume MS Visual Studio IDE Install a Ranger activex control on the development PC (found at www.sbullet.com) Add the Ranger control to the IDE toolbox Create a new C++ MFC dialog project in VS Drop the Ranger control onto a dialog ...
Why can I not set the output pocket for an item with the TS-4120?
The following option must be set to allow the application to set the output pocket: DCCOptions.ini [Sorting] SortBy=PC The application would then need to call SetTargetLogicalPocket in the TransportSetItemOutputevent. Configuring PC sorting mode on ...
Can I print a different endorsement on each item as it is scanned?
You will probably notice when you call SetEndorseText() on the CR-55 or CR-25 that it returns false. When any function in Ranger returns false, you can always check the Ranger log for a more detailed explanation. In this case the log it would ...