By WavesForms SDK, I am writing a program as bellow.
Language is Python.
How can I code this function?
Because I can not use trigger("trigsrcAnalogOut1"), recorded data of my code starts before the starting point of output sine wave.
1.AnalogIn(CH0) waits for AnalogOut(CH0) start trigger.
2.Just After AnalogOut(CH0) Start(100Hz/1V sine wave for 5 waves = 50ms), AnalogIn(CH0) starts data record.
3.AnalogIn(CH0) records data for 100ms.
4.AnalogIn(CH0) buffer size = 8192.
5.Recorded data should start at the biggining of 5 sine waves.(after 50ms recorded data should be zero)
Attached charts are Taget waveform and waveform by my code.
Question
AlexMark6
By WavesForms SDK, I am writing a program as bellow.
Language is Python.
How can I code this function?
Because I can not use trigger("trigsrcAnalogOut1"), recorded data of my code starts before the starting point of output sine wave.
1.AnalogIn(CH0) waits for AnalogOut(CH0) start trigger.
2.Just After AnalogOut(CH0) Start(100Hz/1V sine wave for 5 waves = 50ms), AnalogIn(CH0) starts data record.
3.AnalogIn(CH0) records data for 100ms.
4.AnalogIn(CH0) buffer size = 8192.
5.Recorded data should start at the biggining of 5 sine waves.(after 50ms recorded data should be zero)
Attached charts are Taget waveform and waveform by my code.
Link to comment
Share on other sites
1 answer 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