05-21-2010 11:27 AM
I'm trying to follow the example at
http://decibel.ni.com/content/docs/DOC-8545
which shows a DAQmx Generate Analog Output step followed by a Sweep step to produce a "Software Timed Analog Output in SignalExpress for USB-6008/9".
However, step 4 shows "Value to Write" as the parameter to add on the Sweep Parameter Selection dialog box.
That parameter is not available on my SignalExpress 2009 screen, only the the Max and Min are shown.
How do I add a parameter to the list of "Available Sweepable Parameters"?
05-21-2010 01:25 PM
I was able to make the example above work with my USB-6009 but it required modifications based on
http://decibel.ni.com/content/docs/DOC-7031
I started with a Create Analog Signal Step with DC signal as the output.
This was input to a Statistics step which output the mean value. (According to the author of the reference, RT4CY, this step is necessary to convert the vector output of the Create Analog step to a scalar value for input to the DAQmx Generate Analog Input step.)
At this point, I was able to add the DAQmx Generate Analog Input step using the mean value from the Statistics step as input.
The tricky part, when adding the Sweep step, I had to use "offset(V)" as the sweepable parameter, since there was no "Value to Write" available in the "Available Parameter Selection" dialog box.
Rather than the "List of Points" used in the reference as "Type", I used "Formula" and the "sin(x) + 1" formula from the article above.
With these changes, I was able to get a sine wave output on Dev1ao0 (the USB-6009).
I hope this clears things up for other confused users.
See the attached modified version.