void SDRuTransmitter_stepImpl(testMACReceiverStackData *SD, const emlrtStack *sp, const comm_SDRuTransmitter *obj, const creal_T x[38400]) { real_T fc; real_T loOffset; real_T gain; real_T interp; int32_T errMsg_size[2]; char_T errMsg_data[1024]; UsrpErrorCapiEnumT errStatus; uint32_T underrun; emlrtStack st; st.prev = sp; st.tls = sp->tls; fc = obj->CenterFrequency; loOffset = obj->LocalOscillatorOffset; gain = obj->Gain; interp = obj->InterpolationFactor; st.site = &rj_emlrtRSI; sendComplexDoubleData(SD, &st, obj->pDriverHandle, x, fc, loOffset, gain, interp, &underrun, &errStatus, errMsg_data, errMsg_size); if (errStatus != UsrpDriverSuccess) { st.site = &rj_emlrtRSI; b_error(&st, errMsg_data, errMsg_size); } }
void SDRuTransmitter_stepImpl(const emlrtStack *sp, const comm_SDRuTransmitter *obj, const creal_T x[1408]) { real_T fc0; real_T loOffset0; real_T gain0; real_T interp; real_T b_fc0[2]; real_T b_loOffset0[2]; real_T b_gain0[2]; int32_T errMsg_size[2]; char_T errMsg_data[1024]; UsrpErrorCapiEnumT errStatus; uint32_T underrun; emlrtStack st; st.prev = sp; st.tls = sp->tls; fc0 = obj->CenterFrequency; loOffset0 = obj->LocalOscillatorOffset; gain0 = obj->Gain; interp = obj->InterpolationFactor; b_fc0[0] = fc0; b_fc0[1] = fc0; b_loOffset0[0] = loOffset0; b_loOffset0[1] = loOffset0; b_gain0[0] = gain0; b_gain0[1] = gain0; st.site = &g_emlrtRSI; sendComplexDoubleData(&st, obj->pDriverHandle, x, b_fc0, b_loOffset0, b_gain0, interp, &underrun, &errStatus, errMsg_data, errMsg_size); if (errStatus != UsrpDriverSuccess) { st.site = &g_emlrtRSI; error(&st, errMsg_data, errMsg_size); } }