07-25-2006 12:13 AM
07-25-2006 03:35 AM
Hi Brian,
I can't open your VI (LV 7.1 here) though it's very easy to get into trouble with CLF - assuming that's the problem, first thing to do is locate the called-function's prototype, and review/compare it to the prototype shown in the CLF dialog. You'll want the two prototypes to match byte-for-byte. If I had $5 for every time I crashed LabVIEW while using CLF, I could afford LV8.0.
Cheers.
07-25-2006 08:32 AM
hi there
add a "DAQmx Clear task.vi" to the AI Voltage task. you only stop the task, but you should also clear it.
btw: why do you reopen this AI task in each cycle? this will lead to an enormous overhead. if you want to change the AI channels at run time try to use a event structure.
07-26-2006 12:16 AM