Wait on IRQ (Invoke Method)

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help
LabVIEW 2020 FPGA Module Help

Requires: FPGA Interface

Waits for any number of interrupt requests you included in the compiled FPGA VI running on the FPGA target. Always acknowledge interrupts after they occur using the Acknowledge IRQ method. You can use several calls to the Wait on IRQ method to implement waiting on different interrupts from different places in a VI. If you do so, NI recommends that you specify non-overlapping interrupts for different Wait on IRQ method calls.

Note  The Wait on IRQ method consumes threads. LabVIEW allocates a number of threads proportional to the number of processors on a machine. If the number of calls to the Wait on IRQ method equals or exceeds the number of available threads, other code in the application might stop executing until an interrupt occurs or the Wait on IRQ method otherwise returns. If you notice that other code in the application stops executing, try reducing the number of calls or put the Wait on IRQ methods in subVIs in different execution systems. Use the Execution Properties page to specify the execution system.

Use the Invoke Method function to implement this method.

FPGA VI Reference In is a reference to an FPGA VI. You must open a reference to the FPGA VI to use this parameter.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
IRQ Number(s) specifies the logical interrupt or array of logical interrupts for which the function waits. The default is 0. Typical supported values are 0 through 31 unless the target documentation specifies otherwise.
Timeout (ms) specifies the time, in milliseconds, that the Invoke Method function waits before timing out. The default is 0 milliseconds. Set this parameter to –1 if you want the Invoke Method function to wait indefinitely for the number of elements.
FPGA VI Reference Out returns a reference to an FPGA VI.
error out contains error information. This output provides standard error out functionality.
Timed Out returns TRUE if this method has timed out.
IRQ(s) Asserted returns the asserted interrupts. If you are waiting for a single interrupt, a value of –1 indicates that the interrupt was not received. If you are waiting for multiple interrupts, an empty array indicates that no interrupts were received.

WAS THIS ARTICLE HELPFUL?

Not Helpful