Interrupt

For our company's digital I/O board, Interrupt is the function that notify the rising or falling of input bit by interrupt mode.
The position and the number of input bits which can be used for interrupt are different according to the device.

For the details, please refer to the hardware specification of each device. And, the Interrupt logic of current devices is either rising or falling.

In software the parameter DIO_INT_RISE indicates "0 to 1", and DIO_INT_FALL indicates "1 to 0".
In the case of voltage level, the rising and falling is different according as the board is positive logic or negative logic. Please pay attention to it.

Reply speed is affected by CPU and OS version. It is difficult to create the high speed reply about several usec.
And reply speed will be changed by the influence of the other software process.

To detect the change of input signal for more higher speed, try to test Polling (waite the change of continuously input by loop mode).

If it is necessary to collect data, please investigae whether the device which has bus master function like PIO-32DM(PCI) can be used for more exactly timing.

 

See Also

Trigger Function  Selection of Interrupt or Trigger  The speed of a notifying interrupt