I/O Pin Handling

Functions related to handling I/O pins. More...

Functions related to handling I/O pins.

The kvIoXxx functions are used for configuring and controlling I/O pins on I/O modules connected to a device.

I/O functions use a pin number to access each pin on connected I/O modules. Pin enumeration is product dependent.

It is required to verify the configuration before it is possible to use any kvIoPinSetXxx()/kvIoPinGetXxx() function. The module configuration can be examined with kvIoGetNumberOfPins() and kvIoGetPinInfo(). If the configuration is as expected, a call to kvIoConfirmConfig() will confirm the configuration. Removing or adding I/O modules will change the configuration and the pins are re-enumerated. It is always required to confirm the new configuration after a configuration change.