Jump to content

Sheldon

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Sheldon

  1. 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

    analogout_custom.jpg

    analogout_custom changed.jpg

    WaveForms.jpg

×
×
  • Create New...