Home
Quickstart Guide
Introduction RIO Academic RIO Application examples Your first RT app Your first FPGA app
Real-Time
Basic procedures System admin File system I/O monitor System controller architecture Timed loops Inter-process communication RT/Host communication RT/FPGA communication FPGA personalities Interrupts Datalogger (file I/O)
FPGA
Design flow Simulation Inter-process communication RT/host communication Derived clock domain IP blocks FPGA personality
Networking
Get connected Email Web services UDP TCP IP addresses
Site Map
Guides Code examples Procedures Tags LabVIEW block diagram elements Targets Communications All pages
Glossary How to use About
RIO Developer Essentials Guide for Academia
RT guide

RT programming: Interrupts

Use an onboard timer or an external event interrupt request (IRQ) to immediately execute a task.

LabVIEW RT icon and exclamation point icon

Summary

The Academic RIO Device default FPGA personality includes three types of interrupt sources: digital input transition, analog input threshold crossing, and timer. Each interrupt request (IRQ) suspends the current process to run a designated callback VI; the callback VI should be designed to run as quickly as possible so as not to unnecessarily delay other processes.

Up to eight independent timers are available. External inputs sources are available on the MXP-A/Bank A connector only (digital inputs 0, 1, 2, and 3; analog inputs 0 and 1).

Code examples

For more information

  1. Using Callback VIs to Handle Interrupts (myRIO Toolkit) (http://zone.ni.com/reference/en-XX/help/373925C-01/myriohelp/myrio_use_callback_vi)
    Guidelines for the design of VIs that will serve as callback VIs