Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 2 out of 5     Rate this Document

What Can't I do in a Blackfin Interrupt VI?

Primary Software: LabVIEW Modules>>Embedded Module for Blackfin Processors
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
You cannot allocate memory in a Blackfin Interrupt VI. This means that you cannot use non-scalar data types or data types of variable size (arrays, clusters, or strings) in interrupts. Even a string constant on the block diagram is not allowed -- as an array of characters, it would require a memory allocation.

Solution:
The best way around this is to fire a timed loop in your interrupt service routine and do all the major processing in the timed loop that is outside the interrupt. See the related Developer Zone tutorial for more details.

Related Links:
Developer Zone Tutorial: Determining When and How to Implement Callbacks in a Blackfin Application


Attachments:





Report Date: 10/10/2006
Last Updated: 10/16/2006
Document ID: 429EHCNE

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit