I am trying to use the custom output on wavegen in analog discovery 2 to output a signal with 8192 samples. Through testing and measuring with the scope, I am having trouble getting the measured output to match the input. In the simplest case I observe that a custom signal (consisting of alternating -1 V to 1 V samples) of length 4096 outputs correctly, however once I generate the longer signal with 8192 samples, the output seems to be dropping samples. In the case where I used simple -1 V to 1 V alternating data samples, with length 4096 I could see the output on the scope, but length 8192 there was no signal measured at output (constant 0). My other observation is that changing the sample frequency has no effect on the integrity of the output signal.
I have included the workspace which has both the short and the long custom signal. Any help or explanation to why the longer signal is not working would be greatly appreciated.
Question
isaacz
Hello,
I am trying to use the custom output on wavegen in analog discovery 2 to output a signal with 8192 samples. Through testing and measuring with the scope, I am having trouble getting the measured output to match the input. In the simplest case I observe that a custom signal (consisting of alternating -1 V to 1 V samples) of length 4096 outputs correctly, however once I generate the longer signal with 8192 samples, the output seems to be dropping samples. In the case where I used simple -1 V to 1 V alternating data samples, with length 4096 I could see the output on the scope, but length 8192 there was no signal measured at output (constant 0). My other observation is that changing the sample frequency has no effect on the integrity of the output signal.
I have included the workspace which has both the short and the long custom signal. Any help or explanation to why the longer signal is not working would be greatly appreciated.
Best
test_workspace.dwf3work
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now