I am using a PCI-MIO-16E-4 board for a combination signal generator and oscilloscope for a student laboratory exercise. I use ao0 to generate a waveform of variable frequency (set by front panel controls) and ai6 for acquiring the resulting signal. For the experiment the two need to be synchronized so the scope acquisition starts simultaneously with the start of an analog generation. The synchronization is done using ctr0 in generation mode and set to the same frequency as the analog output. The counter output is routed through rtsi0 to the start trigger on the analog input.
The application seems to run fine until the output frequency is changed "too rapidly" at which time the analog input section will signal error -200329 from the DAXmx Start Task vi. After receiving this error the computer must be rebooted to recover operation of the board - even the MAX panels will just repeat the same error on analog inputs until a reboot.
If have tried the application on a USB-6221-BNC board (using pfi9 to route the start trigger signal) and have been unable to cause the same error to occur.
This is on a computer running Window 7 Enterprise sp1 with LabVIEW 2012 sp1 (32-bit) with the f5 patch installed. DAQmx 9.6.2 was installed for the original tests for both boards. Installing DAQmx 9.8.0f0 didn't change the behavior. The PCI-MIO-16E-4 passed the DAQ Diagnostic Utility 2.1 tests.
I have tried using both rtsi6 and rtsi0 as the trigger routing signal with no change in behavior.
I have attached a stripped down version of the application that still exhibits the problem. There are 7 required files so they are in a single .zip file. With the knob to set the frequency it usually just takes a couple of "twists" of the knob to cause the analog input to throw the error. The output from the DAQ Diagnostic Utility is also attached.
Thanks for any hints on what I may have done wrong in this application.