Topic: fmc_ctrl_disarm  (Read 2629 times)

mattgran June 27, 2013, 02:37 PM

  • Member
  • *
  • Posts: 14
I'm having some trouble getting the DAC to stop playback of the waveform. I run
Code: [Select]
// 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;
}
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 June 28, 2013, 04:37 AM (#1)

  • 4DSP Staff (EU)
  • Administrator
  • Member
  • *****
  • Posts: 7110
Matt,


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


Best Regards,
Arnaud