SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I create a custom 'ramp' function within Signal Express?

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.

SCXI- 1000 Chassis w/ 1346 adapter
PCI 6281 DAQ card
SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
SCXI- 1180 Feedthrough Panel w/ 1302 Block
Signal Express 2014.
Win7 Enterprise
0 Kudos
Message 1 of 3
(6,299 Views)

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,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 2 of 3
(6,283 Views)

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.

0 Kudos
Message 3 of 3
(6,276 Views)