...
The variables should be initialized according to the rules defined in Pally I/O and Software Controlled Inputs i.e. each variable has to contain an array of 2 elements with the 0th element as the IO type and 1st element as the IO channel number.
...