Hi @attila
Thanks for good support. I am now running dwf.dll version 3.18.12 (will update). I finally managed to get AnalogOut to trigger acquisition of the two AnalogIn channels. Basically I had to add the following function calls to get the trigger to work properly:
FDwfAnalogOutRunSet( hdwf, 0, 1.0 / freqOut );
FDwfAnalogOutRepeatSet( hdwf, 0, 0 ); // Infinite
FDwfAnalogOutConfigure( hdwf, 0, 1);
FDwfAnalogInTriggerSourceSet( hdwf, trigsrcAnalogOut1 );
I am trying to track the resonance frequency of the target "contraption" and need to constantly update the AnalogOut output frequency. So far I haven't succeeded in doing so without first stopping the AnalogOut, then setting the new output frequency and finally restart the AnalogOut. This of course results in short interruptions in the driving circuitry. Is there a way to change the output frequency without stopping the AnalogOut?
Best regards
eivind_k