02-05-2007 01:04 PM
02-06-2007 09:20 AM
Can you post the code? The only out-of-the-blue guess is:
Does the vi you use to configure and start the pulsetrain stop running after the pulsetrain is started? Under DAQmx,
if the vi that creates the task stops executing, any tasks that it created will be automatically "cleaned up." The behavior is different than it used to be in traditional NI-DAQ, where pulsetrains could continue running even after the vi itself stopped.
I know this is one of the little gotchas that gotch'ed me when I was switching over to DAQmx...
-Kevin P.
02-06-2007 09:25 AM
How do I "post the code"?
Thanks,
Mark
02-06-2007 09:39 AM
Kevin,
Here's the two files. One does the catching the other does the pitching.
Thanks,
Mark
02-06-2007 09:45 AM
Sorry,
Left out Timed Sweep. Here it is.
Mark
02-06-2007 09:55 AM
02-06-2007 10:27 PM
02-07-2007 09:00 AM
Jennifer O, Kevin Price
Thanks for the fix. I used the Wait Until Done Function and it works like a champ.
I read Kevin's comment but honestly couldn't connect the dots.
Your providing explicit recommendations and actually testing it was the key.
Thanks to you both.
I'll let NI Applications know that you solved the problem and close out this trouble report.
Thanks again,
Mark