Products > FMC176
fmc_ctrl_disarm
(1/1)
mattgran:
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;
}
--- End 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?
arnaudNL:
Matt,
I am sending the one to one of our engineers for further investigation!
Best Regards,
Arnaud
Navigation
[0] Message Index
Go to full version