SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Ramp and Soak application - cannot figure out how to get once per second event timing

Solved!
Go to solution

Thanks.  I'm thinking I might have misconfigured the "Use Programmatic Input" parameter.

I will check out these VIs next week.

Thanks again for all your help. 

0 Kudos
Message 11 of 12
(3,018 Views)

Your example does exactly what I have been trying to do.

 

To summarize - create analog output signal using arbitrary sampling rate

use Statistics Mean step to convert to scalar  

                         add a Generate DAQmx Analog Output (GDAO) with a sampling period = total run time divided by desired number of steps in staircase

                         wrap these steps in a sweep of the Create Analog Signal Offset (V) from minimum volts to maximum volts in staircase, set iterations from 0 to number of steps in the staircase. 

 

To decrease the voltage step increment, use fewer iterations (steps) and increase the GDAO sampling period proportionally.

 

 

My previous version lacked output because I did not understand that I needed to check Use Programmatic Output in the GDAO step, i.e. take voltage from last step as input.  With Use Programmatic Input unchecked, I was outputting an arbitrary voltage (in this case Zero).

 

Many thanks. 

0 Kudos
Message 12 of 12
(3,003 Views)