Hi:
The structure of the acceptors does not bring any method to inhibit them. How can I inhibit, if I have two acceptors, only one, or both, without inhibiting the rest of the Paylink functions, for example, that the acceptors are inhibited and the inputs and outputs are not.
The dispensers, if we see that if they can be inhibited individually, at least we believe so.
Thank you.
Greetings.
Angel.
Inhibition only acceptors and no inputs / ouputs
Moderators: aardvark, davebush, Admin
Re: Inhibition only acceptors and no inputs / ouputs
Hi,
You need to set (or clear) the ACCEPTOR_INHIBIT bit in the Acceptor.Status field.
In C / C#
Regards
Dave
You need to set (or clear) the ACCEPTOR_INHIBIT bit in the Acceptor.Status field.
In C / C#
Code: Select all
ReadAcceptorDetails(n, TheAcceptor) ;
TheAcceptor.Status |= ACCEPTOR_INHIBIT ; // Set inhibit
TheAcceptor.Status &= ~ACCEPTOR_INHIBIT ; // Clear Inhibit
WriteAcceptorDetails(n, TheAcceptor) ;Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Re: Inhibition only acceptors and no inputs / ouputs
Hi:
We understand that ACCEPTOR_INHIBIT can be 0 or 1:
Can these values be substituted to inhibit or not inhibit?
Thank you.
We understand that ACCEPTOR_INHIBIT can be 0 or 1:
Can these values be substituted to inhibit or not inhibit?
Thank you.
Re: Inhibition only acceptors and no inputs / ouputs
ACCEPTOR_INHIBIT actually has the value 8
It is one of a number of essentially independent bits set or clear in 32 bit number Status
If it is set by the application, Paylink will inhibit the acceptor and set the ACCEPTOR_DISABLED (value 4) bit.
If it is cleared by the application, Paylink will enable the acceptor and clear the ACCEPTOR_DISABLED (value 4) bit.
It is one of a number of essentially independent bits set or clear in 32 bit number Status
If it is set by the application, Paylink will inhibit the acceptor and set the ACCEPTOR_DISABLED (value 4) bit.
If it is cleared by the application, Paylink will enable the acceptor and clear the ACCEPTOR_DISABLED (value 4) bit.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.