LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

定时器中断,指针

我想移植单片机程序到labview,发现没有labview没有定时器中断和指针,请问有没有什么替代方法解决这个问题。

0 Kudos
Message 1 of 3
(3,540 Views)

Forgive me if I am not answering the question correctly as I am using Google translate to understand your post. LabVIEW does not have interrupts and points in a traditional sense. However, you can use the event structure and user events to accomplish something similar. I have previously coded a timed interrupt by using a timed while loop with a generate user event inside the timed while loop. This generates your "interrupt" and the event structure provides the means to handle the "interrupt". This is more advanced architecture and LabVIEW and should be approached carefully. If you are interested in this approach let me know and I can send you a demonstration VI.

 

Regards,

 

Charles Chickering

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 2 of 3
(3,526 Views)

very thank for your answer. i am insterested in your approach, my email address is    phenomon@163.com.  I have a question,if you use a timed while loop to instead timed interrupt, it is look like a query mode. For example,when the program is running out of  timed while loop,  timed interrupt come. what can we do for this situation.

0 Kudos
Message 3 of 3
(3,523 Views)