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?
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.
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?