Sample application utilizing the Pyramid Java API for Pyramid bill validators. With this API you can quickly configure your application to operate with a bill validator. This application shows RS-232 state transition and reports the denomination of accepted notes.
This is provided as both a Netbeans and Intellij project.
If youa re using an Apex 7000 or Spectra, please make sure that all of your dip switches are in the off position. The unit msust be in RS-232 mode to use this library. For more information about configuration, please see our faq.
- A supported bill validator
- Spectra
- Apex 7000
- Apex 5000
- Trilogy requires RS-232 firmware
- Curve require RS-232 firmware
- Communication Harness
- Recommended Harness
- Or a DB9 RS-232 connection or USB UART cable of your choice
- Your favorite Java editor (we use Netbeans because projects are easy to share)
If you are using Netbeans, simply open the project and satisfy the PTalk.jar dependency. You will then be able to run and debug the application.
If you are using Intellij, the project should import and handle all of the depency stuff for you via gradle. NOTE: When exporting the JAR, you must have the forms_rt.jar on your classpath!
We have had mixed reports of this application not finding all available ports. The fix seems to be to run the app from terminal using the -jar switch
java -jar your_app.jar
If you prefer to handle your own dependencies, here is what you will need
- The ptalk.jar file from this project (which itself include its bundled dependencies)
- (log4j12-1.7.12)[http://mvnrepository.com/artifact/log4j/log4j/1.2.17]
- (Already in PTalk) jSSC latest
Please note that you may omit logging or swap out log4j for another framework.
Please let us know.