View Single Post
  #13   Spotlight this post!  
Unread 20-10-2010, 13:28
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How do I use interrupts?

Quote:
Originally Posted by Joe Ross View Post

Quote:
Originally Posted by Ether
An event handler, as I was using the phrase, is application-level code that gets executed when an external asynchronous hardware event occurs. The execution of this code is "managed" by LabVIEW/vxworks in the sense that resources are allocated to the handler based on time-sharing and priority of other tasks concurrently competing for resources.
I had assumed that the code the Greg posted worked this way and not that everything in side the while loop was running inside the ISR.
Perhaps Greg could confirm?

If so, back to my original suggestion: the 2010 Framework had "placeholders" for periodic tasks. Perhaps doing the same in the 2011 Framework for event handlers would be helpful. Users asking about "interrupts" could then be directed to the Framework's support for event handlers.




Last edited by Ether : 20-10-2010 at 14:20.
Reply With Quote