Hello @attila ,
I ran the above code in C++(down below) with @RichSCorp utilizing the SDK and it doesn't seem to work. Can you please look it over and help us identify the error.
FDwfAnalogInFrequencySet(this->hdwf, 1000000);
FDwfAnalogOutNodeEnableSet(this->hdwf, this->outBNC1, 0, true);
FDwfAnalogOutNodeOffsetSet(this->hdwf, this->outBNC1, 0, 0);
FDwfAnalogOutNodeAmplitudeSet(this->hdwf, this->outBNC1, 0, 1.0);
FDwfAnalogInTriggerChannelSet(this->hdwf, this->inBNC1);
FDwfAnalogInTriggerTypeSet(this->hdwf, trigtypeEdge);
FDwfAnalogInTriggerLevelSet(this->hdwf, 0.0);
FDwfAnalogInTriggerHysteresisSet(this->hdwf, 0.1);
FDwfAnalogInTriggerConditionSet(this->hdwf, trigcondRisingPositive);
FDwfAnalogInTriggerFilterSet(this->hdwf, filterAverage);
FDwfAnalogOutNodeEnableSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, true);
FDwfAnalogOutIdleSet(this->hdwf, this->outBNC1, DwfAnalogOutIdleOffset);//
FDwfAnalogOutNodeFunctionSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, funcSine);
FDwfAnalogOutNodeFrequencySet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, 20000);
FDwfAnalogOutNodeAmplitudeSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, 1.0);
FDwfAnalogOutNodeOffsetSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, 0.0);
FDwfAnalogOutTriggerSourceSet(this->hdwf, this->outBNC1, trigsrcAnalogIn);
FDwfAnalogOutWaitSet(this->hdwf, this->outBNC1, 0.02);
FDwfAnalogOutRunSet(this->hdwf, this->outBNC1, 0.05);
FDwfAnalogOutRepeatSet(this->hdwf, this->outBNC1, 0);
FDwfAnalogOutRepeatTriggerSet(this->hdwf, this->outBNC1, 1);
FDwfAnalogInConfigure(this->hdwf, 1, 0);
FDwfAnalogOutConfigure(this->hdwf, this->outBNC1, true);
Your help is greatly appreciated.
Willard Joseph