And system reports Chan0 range as 0.60590172535 and Chan1 range as 0.60395088311
But in WaveForms GUI, I can set it by hand where it reports this in the log: #Channel 1: Range: 10 uV/div Offset: 0 V Attenuation: 0.01 X and the data looks great, no noise.
So I assume you just set the range--
FDwfAnalogInChannelRangeSet(hdwf, 0, 0.00001);
FDwfAnalogInChannelRangeSet(hdwf, 1, 0.00001);
And system reports Chan0 range as 0.05515644288 and Chan1 range as 0.05499558692 ... and I still get noise and a different output than if I used the GUI. Any suggestions? Am I setting range correctly?
Question
recharged95
Hi, I was using the latest Waveforms SDK and was getting a lot of noise that I narrowed down to range setting.
I'll run this:
FDwfAnalogInChannelRangeSet(hdwf, 0, 5);
FDwfAnalogInChannelRangeSet(hdwf, 1, 5);
FDwfAnalogInChannelAttenuationSet(hdwf, 0, 0.01);
FDwfAnalogInChannelAttenuationSet(hdwf, 1, 0.01);
And system reports Chan0 range as 0.60590172535 and Chan1 range as 0.60395088311
But in WaveForms GUI, I can set it by hand where it reports this in the log: #Channel 1: Range: 10 uV/div Offset: 0 V Attenuation: 0.01 X and the data looks great, no noise.
So I assume you just set the range--
FDwfAnalogInChannelRangeSet(hdwf, 0, 0.00001);
FDwfAnalogInChannelRangeSet(hdwf, 1, 0.00001);
And system reports Chan0 range as 0.05515644288 and Chan1 range as 0.05499558692 ... and I still get noise and a different output than if I used the GUI. Any suggestions? Am I setting range correctly?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.