CurrentValue

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
John

CurrentValue

Post by John »

I tried to scratch my brain - not that I have any :? but when I use CurrentValue(), it there a function to tell me if the money are from the Coin or Note Reader?

Or I need to parse all the acceptor blocks and to see if any of the Coins/Note numbers have changed?
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Post by davebush »

CurrentValue is from anything!

If it matters to you where the money's come from you can use CurrentValue to monitor for a change and then (as you say) you have to parse all the coins in all the acceptors blocks to see where it came from.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Guest

Post by Guest »

OK, but in our system I must tell if is from one or another. :?

Then I'll have to parse through all and do all the mathematics to see what changed.
John

Post by John »

I cannot find a work around to find the source of the money.

Let's say I parse all the acceptors (coins and notes) and then do CurrentValue. The chances are that in between the parsing and CurrentValue, the user inserted more money - so the values from the parser and the CurrentValue will not match.


I can imagine this working only if I ignore the CurrentValue all together and just return a value every time I find a value by parsing all the acceptors blocks. You think this will be to slow?

Do you have any idea how to tweak this?
John

Post by John »

Dave,

Thanks for the effort you are spending on my issues.

You are right in using the CV as a flag before going and doing all that parsing.

We've still not received any peripherals - they were due last Friday :x so I can not do any testing - though on the other hand the deadline is this week.
Post Reply