I am using the code from analogout_custom.cpp and after I change the data along with some of the settings, it sends the wave many times and I only want to send it once. If I run the example analogout_custom.cpp, the wave is only sent once. I imported the data into WaveForms to get the correct settings.
How do I just send the wave once?
I have 1150 samples in the file that I use and have changed the following lines to create the wave look I want.
When using Analog out node, can I set a run time that is less than a second? Or a trigger function that I can call in code? Which c++ functions would I use?
Attached is the analogout_custom output, analogout_custom changed example and the data points imported into WaveForms and the settings I use.
Question
Sheldon
I am using the code from analogout_custom.cpp and after I change the data along with some of the settings, it sends the wave many times and I only want to send it once. If I run the example analogout_custom.cpp, the wave is only sent once. I imported the data into WaveForms to get the correct settings.
How do I just send the wave once?
I have 1150 samples in the file that I use and have changed the following lines to create the wave look I want.
FDwfAnalogOutNodeDataSet(hdwf, 0, AnalogOutNodeCarrier, dCurveSamples, 1150);
FDwfAnalogOutNodeFrequencySet(hdwf, 0, AnalogOutNodeCarrier, 15);
FDwfAnalogOutNodeAmplitudeSet(hdwf, 0, AnalogOutNodeCarrier, 0.5);
When using Analog out node, can I set a run time that is less than a second? Or a trigger function that I can call in code? Which c++ functions would I use?
Attached is the analogout_custom output, analogout_custom changed example and the data points imported into WaveForms and the settings I use.
Thank you
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