Executive Slave Sample Application.


With this sample application 'VMC', the PC is Executive Slave and is implemented as vending machine controller (VMC). A Change Giver is connected to the USB port of the PC via the USB to MDB interface. For this sample application a Change Giver of MEI type Cash Flow CF-690 was used as reference. The MDBEngine function calls 'Executive...' are used to implement this sample application. The project was developed with Microsoft Visual 6.0 C++.


Operating instructions:

VMC.jpg (37622 bytes)

Vend cycle:

  • Start the VMC application.
  • Check the LED's for correct data communication.
  • Click Disable to enable the Change Giver.
  • Drop some coins into the Change Giver to have credit for a vend.
  • Click one of the Selection to start a vend.
  • Click Vend Success or Vend Failure to finish the current vend.

Note: The prices can be set with menu Options.

Sample project download:

Download the complete project C++ source code for Visual Studio 6.0. (125 kBytes)

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