06-18-2012 09:08 PM
我想移植单片机程序到labview,发现没有labview没有定时器中断和指针,请问有没有什么替代方法解决这个问题。
06-19-2012 05:48 PM
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
06-19-2012 08:07 PM
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.