decode: assign logic channels to PD inputs (by name or by index)