Hi @Resul The bugs mentioned yesterday are fixed here: https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ Your code will work if you use c_int in FDwfAnalogImpedancePeriodSet See the examples AnalogImpedance_OffsetSweep.py AnalogImpedance_OffsetSweepCp.py which also look for out of range conditions on Scope inputs.