I setup a card DigitalInput[] digital_inputs = new DigitalInput[INPUTS_COUNT] ; DigitalOutput[] digital_outputs = new DigitalOutput[OUTPUTS_COUNT]; private void InputsInit(int inputs, int type) { int i; try { for (i = 0; i < inputs; i++) { digital_inputs[i] = new DigitalInput { DeviceSerialNumber = ...