I'm trying to acquire at 1MSample/s using WaveForms SDK (DWF Version: 3.10.9) I think that I should use acqmodeRecord mode with infinitum length so I use:
FDwfAnalogInRecordLengthSet(hdwf, 0.0);
But then in the while loop I'm a little puzzled due to the call
if(!FDwfAnalogInStatus(hdwf, true, &sts))....
Shouldn't be done only once to reach Running state? According to section "5 Analog In (Oscilloscope)" in SDK documentation the AD2 should remain in Running state...
So I change the example to do only once but I have always the same samples...any clue? Should I use other acquisition mode like ScanScreen? like reported in
Question
Pazzo
Hi,
I'm trying to acquire at 1MSample/s using WaveForms SDK (DWF Version: 3.10.9) I think that I should use acqmodeRecord mode with infinitum length so I use:
FDwfAnalogInRecordLengthSet(hdwf, 0.0);
But then in the while loop I'm a little puzzled due to the call
if(!FDwfAnalogInStatus(hdwf, true, &sts))....
Shouldn't be done only once to reach Running state? According to section "5 Analog In (Oscilloscope)" in SDK documentation the AD2 should remain in Running state...
So I change the example to do only once but I have always the same samples...any clue? Should I use other acquisition mode like ScanScreen? like reported in
Thank you for your help
pz
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.