Jump to content
  • 0

Analog Discovery channel range set


vata

Question

Hi I am using a first generation Analog Discovery. Running through the example AnalogOutIn.py included in the sdk which works ok.

 

The issue I have is when I attempt to adjust the channel range.

 

There is a line in the example dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(-1), c_double(4))

 

I adjust the value passed in the second argument but this adjustment e.g. to 0.4 does not clip the signal set to have amplitude 1. Is there any guidance?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Thanks attila, I can clearly adjust the dynamic range in the Waveforms GUI for example shown below down to 50 mV. How come I cannot do this programmatically using the following command? 

dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(-1), c_double(0.05))image.thumb.png.f49ef3ba3898cb07bdbe137966d561f1.png

Is there some post-processing happening in the Waveforms GUI and restrictions in the API as to the values I can pass to that function?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...