Provides access to PCI and UDP interrupts from the controller.
Interrupts can be generated automatically by the firmware on important events via EI
(Enable Interrupt) or by the user in embedded DMC code via UI
(User Interrupt). To use this function, -s EI
must be used in the GOpen() address string to subscribe to interrupts.
g | Connection's handle. |
status_byte | A pointer to a GStatus to receive the status byte. |
GInterrupt() will block until an interrupt is received, or the function times out.
See x_ginterrupt.cpp for an example. See x_nonblocking.cpp for an example of non-blocking usage.
Referenced by check_interrupts(), motion_complete(), x_ei_motioncomplete(), x_ginterrupt(), and x_nonblocking().