Start a new topic

fmc_ctrl_disarm

I'm having some trouble getting the DAC to stop playback of the waveform. I run
[code]
// arm
if(FMC176_ctrl_arm(AddrSipFMC176Ctrl)!=FMC176_CTRL_ERR_OK) {
printf("Could not arm DAC0, exiting\n");
sipif_free();
_aligned_free(pOutData);
_aligned_free(pInData);
return -22;
}
Sleep(10);


// send a software trigger
if(FMC176_ctrl_sw_trigger(AddrSipFMC176Ctrl)!=FMC176_CTRL_ERR_OK) {
printf("Could not send software trigger to ADC0, exiting\n");
sipif_free();
_aligned_free(pOutData);
_aligned_free(pInData);
return -23;
}
Sleep(10);
// disarm
if(FMC176_ctrl_disarm(AddrSipFMC176Ctrl)!=FMC176_CTRL_ERR_OK) {
printf("Could not disarm DAC0, exiting\n");
sipif_free();
_aligned_free(pOutData);
_aligned_free(pInData);
return -24;
}[/code]
and, wouldn't you know it, it never stops sending out the waveform, even after the program ends execution. Am I doing something wrong?
1 Comment

Matt,


I am sending the one to one of our engineers for further investigation!


Best Regards,
Arnaud
Login or Signup to post a comment