Re : Multithread Loop in one VI

Re : Multithread Loop in one VI

Post by SebBourgeo » Wed, 23 Apr 2008 17:10:06


Thanks, it work.
 
I join the modified VI


TOR_Moxa_E2210 v2.0.vi:
http://www.yqcomputer.com/
 
 
 

Re : Multithread Loop in one VI

Post by Norbert » Wed, 23 Apr 2008 17:40:04

Taking a look into your approach, you should definetly take a look into the design patterns delivered with LV. I would recommend taking a close look into Master/Slave, Producer/Consumer(Data) and Producer/Consumer(Events). You can find those patterns in the template browser (File>>New).Using the best fitting template, you can remove as far as i have seen ALL VARIABLES and the sequence structure. This will improve your code in a great way. On the other hand, i am sure that those patterns include the answer you are looking for!hope this helps,Norbert