Go to Post I think Dave was tired...he kept muttering something about "eviscerating" someone. Heidi seemed to be doing most of the talking. Actually, after talking with 29,000 people, I think she lost her voice. Or maybe Dave "eviscerated" it.... - RoboMom [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 20-10-2010, 14:09
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,120
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 Itamar View Post
I'm pretty sure that what I need is an event handler.
So... is there an option to use events for a microswitch?
Yes, you could use an event handler http://en.wikipedia.org/wiki/Event_handler to respond to the microswitch.

Using LabVIEW, you can set up the circuitry connected to the microswitch to generate an interrupt http://en.wikipedia.org/wiki/Interrupts when the switch closes (or opens, or both). When the interrupt occurs, the operating system immediately responds and queues up your event handler for execution.

The 2010 Framework doesn't contain any template or example code for event handlers. See Greg's and Mark's earlier posts for suggestions how to do this.

Before you do that though, if you tell us what you are trying to accomplish http://www.chiefdelphi.com/forums/sh...0&postcount=10 there might be a better way to handle it.







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


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interrupts, Interrupts, and more Interrupts! dcbrown Programming 14 06-03-2008 23:12
How many interrupts is too many interrupts? Madison Programming 14 08-02-2008 12:09
How to use motors xmarufx Motors 9 02-08-2005 00:22
How to use Generate_Pwms() ? steven Robotics Education and Curriculum 0 01-04-2005 11:43
How did you learn how to use Inventor? Greg McCoy Inventor 26 24-05-2003 01:55


All times are GMT -5. The time now is 21:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi