10-22-2007 06:57 AM
10-22-2007 07:49 AM
10-22-2007 08:59 AM
10-22-2007 11:35 PM
10-24-2007 02:01 PM
Hello Chandru,
I have looked at the updated code you submitted and I am still curious as to why you need both a software timed AI task and a hardware timed AI task. If you mix the two you are going to run into the ADC conflict regardless of how you structure the application.
Have you thought about using software timing for the second AI read? If you combined the tasks and used software timing the limitation would be removed. You would still have access to the data on both channels and the timing for the read within the second case structure could be easily implemented with a loop structure.
An alternative question would be to ask if you need the first analog task to be software timed. If not, would it be possible use hardware timing? If you can read in the pressure voltage using the same timing as the coil current then you could use the same timed multiplexer. Once again, you would have a single task with two different channels using the same timing structure.
Mixing and matching the hardware and software timed AI tasks however will not work for the very reasons Neil mentioned in the above post. If either of the above scenarios seems reasonable we can make further suggestions on how to modify your current application.
10-24-2007 11:00 PM
Hi chris,
Thanks for the response
i agree with you about creating both the analog channels on the same task and i have modified my vis and it seems working
see the attached one and if you have any further suggestion on the vi pls let me kno
Thanks
Chandru