09-08-2009 08:12 AM
i need to create a ramp output which is independent of the while loop execution rate.
please see the vi attached. will it be good if i use local variables instead of the shift register?
thanks. 🙂
Renn
09-08-2009 03:19 PM
Have you checked out the ramp waveform generator in the WFM library?
(Some of the waveform vi's are relatively new in Labview, ((when you get to be my age EVERYTHING is relatively new!))
I used to always generate ramps by simply taking the increment of a loop...but the WFMs are much more elegant. Try one, you'll like it!
Eric
09-09-2009 02:39 AM
hi Eric
thanks for your reply.
are these in the new LV 2009? i'm now using 8.5 for an old project.
thanks
RENN
09-09-2009 09:11 AM
09-09-2009 10:04 AM
As noted, they would be in the Signal Processing -> Waveform Generation palette. There's also a Signal Processing -> Signal Generation for generating arrays instead of waveforms.
BUT ... They are not available in the Base edition of LabVIEW. Is that what you have?
09-09-2009 11:28 AM
thanks all for your replies.
i'm using lv professional development system, updated upto lv 8.5.
i've seen the vi's in signal processing>signal generation subpalette. but dont get an idea on how to use them.
how the no. of samples and etc. in Ramp pattern.vi.
could you please hav a look at the vi i've uploaded earlier and giv any new suggestions on how to use those vi's in libraries
for making a ramp pattern in the predetermined time?
RENN
09-09-2009 12:43 PM
09-09-2009 01:01 PM - edited 09-09-2009 01:07 PM
what i meant was Pressure increment per second. its a pre-defined value.
( i need to open a valve by setting voltage from 0-10).
in the program i find the time it takes to reach the end pressure. (end value-start value)/ pressuer increment per second=total time for the ramp.
(end value-start value)/ time in millisecond= pressure increament in millisecond.
Pressure in bar per second - is the pressure increase per second usually starts from 0 bar.
but i dont need steps of increase per second (since the loop executes nearly every 100ms, i need the output to be updated every 100ms. or better -pressure increment in each 10ms which runs in another parallel loop).
my application has many loops running in parallel. i doubt whether it takes much CPU time.
01-23-2018 08:00 AM
you may have a glance!
01-23-2018 08:10 AM