Are sequence numbers same as indexes?

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
dotnetguy
Posts: 17
Joined: Wed Nov 30, 2016 2:56 pm

Are sequence numbers same as indexes?

Post by dotnetguy »

I want to use SetDispenseQuantity. One parameter is called "Index" (integer).
From docs:
Index
This parameter specifies the dispenser that is having the count set
Where can I get that value?

It seems that it is the same as "number" in ReadDispenserDetails(number:int, snapshot:AESImhei.DispenserBlock).
From docs
Number
The sequence number of the coin or note dispenser about which information is required.
Remarks
The sequence numbers of the dispensers are contiguous and run from zero upwards
Are these sequence "numbers" releated to SetDispenseQuantity "Index"?
Do I have to read dispenser details in order to determine the "Index" value?
aardvark
Posts: 19
Joined: Mon Jun 21, 2004 6:05 pm

Re: Are sequence numbers same as indexes?

Post by aardvark »

As you say, they are the same.

Yes, you need to "scan" ReadDispenserDetails() to find the dispenser (if it exists) and then use the number parameter from that as the Index in SetDispenseQuantity().

We'll update the documentation in the next release.
Post Reply