Hi Dave,
To obtain state of the input we need to execute SwitchOpens and SwitchCloses calls. To get this information quickly, we need to call them at short intervals. Is there some alternative (event driven) mechanism in the library that allows my program to just wait for switch input change and avoid exhausting polling ?
Is there alternative to inputs state polling ?
Moderators: aardvark, davebush, Admin
Re: Is there alternative to inputs state polling ?
Hi,
I'm sorry, but due to the architecture of Paylink there is no alternative. If it is any consolation these calls are really quick, they only execute about 10 instructions before returning with the value.
Regards
Dave
I'm sorry, but due to the architecture of Paylink there is no alternative. If it is any consolation these calls are really quick, they only execute about 10 instructions before returning with the value.
Regards
Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.