wrong performance with Event() in demo application

Support for the Milan Intelligent interface, sold by Money Controls as the Paylink USB unit and for the earlier PCI card version.

Moderators: aardvark, davebush, Admin

Post Reply
ATiK
Posts: 8
Joined: Fri Jul 07, 2006 7:36 pm

wrong performance with Event() in demo application

Post by ATiK »

I run demo application write in delphi, and never occurs the event or the call to NextEvent() but I run MilanDiag application and ever occurs the call NextEvent(), what it´s happend??

You release source code of MilanDiag?? for user can see that??

Thanks for your response

My PayLink:
OS Version 5.0
Checking Driver Files:
Found at: C:\WINNT\System32\Drivers\AesIMHEI.sys
Timestamp : Thu Jun 15 11:00:00 2006

Checking DLL:
Found at: C:\WINNT\System32\AesIMHEI.dll
Timestamp : Thu Jun 15 11:00:00 2006
Version 1,3,2,2

Details on AES Milan PCI Interface Unit
AES Intelligent Money Handling Equpiment:
Interface 5, code version 02010902
Device Checked - OK

Checking Application access through DLL:
Open successful


Firmware Release Type: Alpha Test
Firmware Code Version: 1.9.2
[/i]
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

I'm not completely sure what you're asking, here are points that may help:
  • The Demo program, available on the distribution, shows events via a drop down list on the main screen. The code to maintain this is distributed in:
    " ....\sdk\exampes\Delphi Demo", which will show calls to NextEvent()
  • NextEvent() is not written by you and called by our system. Your code should call NextEvent() regulalry in order to see if events have been reported.
  • The MilanDiag program is for use by you and us while trouble shooting the system. It captures undocumented diagnostic messages that are output by the firmware and are liable to change without notice. This is nothing at all to do the documented events retrieved from NextEvent()
I hope this helps, feel free to post again if not.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
ATiK
Posts: 8
Joined: Fri Jul 07, 2006 7:36 pm

Post by ATiK »

I'm asking to you that application Demo (writen in delphi), under my system, it´s wrong, error, it´s never shoot event or never run the call NextEvent(), this call ever return 0, I insert coin but never shoot any different result 0, I execute the call PayOut() but ever the call NextEvent() returns 0. (never return different value of 0)

But your other application MilanDiag ever use the call NextEvent() and return differents values and messages, when you call NextEvent.

Wherefore, I ask me, what it's happend?, what it's error?, what occur in your Demo application.
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

The application program MilanDiag never calls NextEvent().

The application program Demo, (source in folder "Delphi Demo") does call NextEvent(), but not to show the rsult of normal coin insertions / payouts.

NextEvent() does not return anything when you insert a coin or pay money from a hopper.

An application determines that coins have been inserted by the fact that the value returned by CurrentValue() increases, and that the Coin[n].Count field in an Acceptor block updates.

The result of a Payout() call is determined by calls to PayStatus().

The only information returned through NextEvent() is such things as self test failure and coin rejects - i.e. auxiliary diagnostic information, not normal acceptance etc.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply