Skip to content

CAP-426: Configure pin direction on asyn connection

Configure the PIN directions every time the device gets connected.

The reason this is needed is because the pins of this IC on the xtpico can be configured to be input or output pins. Currently, the configuration is done with afterInit(dbpf foo bar) and that only works if the device is already connected when the IOC is started and the IOC must be restarted if the device is reconnected. This MR fixes that issue by always writing to this pin direction configuration PV when the device gets connected.

Dear @douglasaraujo, could you please merge this?

Thanks!

Edited by Krisztián Löki

Merge request reports