04-28-2008 06:24 AM
04-28-2008 06:28 AM
04-28-2008 06:42 AM
Hi, after running a sequence of function, Im running one vi as thread (above normal priority) say (thread1.vi). in that thread i ve placed two call library node function, one poll for interrupt from driver, another will read data from the driver buffer after getting the interrupt.
Like thread1.vi im running another thread2.vi in parallel with thread1.vi doing the same function as thread1, read data from another driver buffer
Here after running the both vi's i cant able to access the front panel of main vi. and data is not received correctly.
so where i have to give the delay, or give some altenative
04-29-2008 02:00 PM
Hi 2716jag,
From what I have read, maybe you want to try using a case structure. You can place your periodic code inside one case and only activate it whenever the loop counters is an integer multiple of some number or if a certain time has elapsed. You could do this by a few different methods: 1. You could use the Elapse Time Express VI or 2. For every 10th iteration, you would divide [i] by 10 using "quotient&remainder" and check if the remainder is zero. Or else, you could include a screenshot with an example and we can try implementing something else. Pictures are worth a 1000 words!
04-29-2008 11:54 PM
Hey thnks man,
but, while for loop counting the other function vi will run or not??
because im going for periodic function is to free other proceess. so by doing this that other vi' wil get free??
04-30-2008 03:25 PM
Hi 2716jag,
I'm not exactly sure what you are asking? Can you try to elaborate on that a bit more or maybe post an example? Thanks for the help!
Carla
05-01-2008 02:45 AM
Hi GerdW,
I've used lab VIEW 7.0 only in windows 2000 /xp, so i cant able to tell u which one s good..