Fix issue when number of IR and VI channels are differents
Currently, the number of ir or vi channel is considered the same. Two properties need to be defined for each channel, and one for the sum of both. The code of the other files needs to be adjust in order to fit that new consideration.