IO device MIP driver

Hello,

I need to update my IO device MIP driver. I want driver to work with a different count of Inputs and Outputs (because it is possible to attach extension board to the hardware). I don’t know if the way I did it is correct or there is a better way?

In the ‘Connect’ method in ‘ConnectionManager.cs’ along with establish connection I fetch the number of inputs and outputs from the hardware with a simple command. The result is used in ‘BuildDevices’ method in ‘ConfigurationManager.cs’.

This way works, but I am not sure is it correct?

I am using Xprotect 2020 R2, MIP SDK 2020 R3.

Yes, it seems correct.

The end-user who uses your device and driver will need to Update Hardware for the device in the Management Client in order to do a refresh that will discover if the number of I/Os was changed.

Thank you.