09-01-2010 11:27 AM - edited 09-01-2010 11:33 AM
Is there any way to create a ramp function in SigEx?
What I need is a 0-10 Volt signal that goes from 0-10 and back to 0 in 20 seconds (one cycle of a triangle wave)
I would also like this to repeat x-number of times.
...and for the bonus I'd like to create a ramp that was only half this triangle; so 0-10 (in 10 seconds) and hold at 10 till I command a 'return to zero'
I will use an analog output channel from the DAQ card (via a feedthrough panel). This voltage signal will be used as an external function generator for a servo-hydraulic controller.
I should also add that, while outputting this signal I will also be recording load/deflection signals from the hydraulic actuator.
So I need a voltage output while simultaneously recording data.
09-02-2010 03:42 PM
Hi OKors,
There is a way to create a ramp in signal express, but not a way to add a reversed ramp to the end of the initial ramp. For this case, it would be best to create the signal in a ASCII file and read in the signal in Signal Express. You will have to verify the timing works out. You can set the sample clock output rate and you will have to create a point alone the slope of the line for each time step.
You will be able to have two separate loops, one for input and one for output as well, while logging the input file.
Best,
09-03-2010 08:02 AM
Use the triangle wave in Create Analog Signal. Set the phase to -90. Set the period and sample rate so you get one cycle in the appropriate time with the appropriate number of samples. Set the offset equal to the amplitude so it starts at zero. You may want to do a run once instead of continuous run.