Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Tips for Supporting ISRs on a New Platform (Embedded Development Module)

LabVIEW Microprocessor SDK 2.5 Help
August 2007

NI Part Number:
372197A-01

»View Product Info

The OS and/or hardware have specific requirements for the prototype of the ISR routine that likely does not match the requirements for an ISR VI. Write a function that is the actual ISR that calls the ISR VI with the correct parameters. You might need to create a global data structure to hold the parameters to pass to the ISR VI.

The ISR VI parameters are meant to be general enough to handle most hardware and OS requirements. Depending on the platform, you might not need these parameters. If you do not need these parameters, you can optimize the ISR by passing zeros for the required parameters and have the ISR VI ignore them.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit