I want to output a complex but periodic pattern (like the PWM signal of a sine wave), with more than 64k samples / period.
I want to define the data points for a period and output this pattern endlessly.
I tried to use playback mode, like in DigitalDiscovery_PlayRecord.py, which works fine for a single period.
But I have not found a way to repeat the pattern.
I tried setting FDwfDigitalOutRepeatSet() to a value other than one, but the data point address doesn't seem to start over at 0 for each new period, but keeps increasing and outputting random memory contents after the first period.
Is there an other way to solve this problem?
Or is it possible to make FDwfDigitalOutRepeatSet() work for values other than one?
Question
Stefan-F
Hi,
I want to output a complex but periodic pattern (like the PWM signal of a sine wave), with more than 64k samples / period.
I want to define the data points for a period and output this pattern endlessly.
I tried to use playback mode, like in DigitalDiscovery_PlayRecord.py, which works fine for a single period.
But I have not found a way to repeat the pattern.
I tried setting FDwfDigitalOutRepeatSet() to a value other than one, but the data point address doesn't seem to start over at 0 for each new period, but keeps increasing and outputting random memory contents after the first period.
Is there an other way to solve this problem?
Or is it possible to make FDwfDigitalOutRepeatSet() work for values other than one?
Best regards,
Stefan
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.