08-24-2005 04:00 AM
08-24-2005 03:29 PM
08-25-2005 06:31 AM
09-06-2005 09:07 AM
Hello!
I looked at your VI and the main problem with it is that you don’t control the order in which the program will execute. As it is now in the program you have uploaded there is nothing that controls in which order the control tasks will execute. Insert ‘DAQmx Stop Task.vi’ before each ‘DAQmx Clear Task.vi’ and if you want to achieve sequential behavior use the error cluster to control the order. Just wire the error cluster the upper code snippet that handles the analog input to the middle code snippet where you handle one of the counter parts and so on.
Hope this will help!
Regards,
Jimmie A.
Applications Engineer, National Instruments