MDB Slave Sample Application.


Introduction:

With this sample application 'CardReader', the PC is MDB slave and plays the part of a debit card reader. The MDB master e.g. vending machine controller (VMC) is connected to the USB port of the PC via an USB to MDB interface. The MDBEngine function calls 'Master...' are used to implement this sample application. The project was developed with Microsoft Visual Studio Basic 6.0.

Requirements:

Operating instructions:

card_reader.jpg (41972 bytes)

Vend cycle:

  • Start the card reader application.

  • Check the LED's for correct data communication.

  • Make sure that the MDB master (VMC) enabled the card reader.

  • Enter some value for Available Funds.

  • Click Begin Session. The MDB master (VMC) should now display the credit.

  • Make a selection on the MDB master (VMC).

  • Click Approve or Deny to finish the current vend cycle.

  • Click End Session to finish the vend cycle.

Sample project download:

Download the complete project Visual Basic 6.0 source code. (83 kBytes)


[Home] - Copyright 2003  by BonusData AG, webmaster@bonusdata.net. Last update: 22.05.2003