05-05-2006 04:54 PM
05-05-2006 05:15 PM
05-05-2006 07:54 PM
LabVIEW, C'est LabVIEW
05-06-2006 01:09 PM - edited 05-06-2006 01:09 PM
Why would you need any "array resizing"? Just use autoindexing. Since N is known from the beginning, LabVIEW can efficiently allocate the output array.
The Ramp pattern that JP mentioned is not available in "LabVIEW base" and the inputs are a bit different than your requirement (N, start, end). It is trivial to cook your own with a few strokes of the mouse. Attached is one example. (LabVIEW 7.0)
Message Edited by altenbach on 05-06-2006 11:10 AM
05-25-2006 02:48 PM
04-04-2014 09:58 AM - edited 04-04-2014 10:25 AM
thank you for the information but if i need to add upper limit how can you do that
04-04-2014 10:31 AM
@habeb1987 wrote:
thank you for the information but if i need to add upper limit how can you do that
This thread has not seen activity for 8 years, so the information might be a bit stale.
What do you mean by "upper limit"? Do you (1) want a specific endpoint or (2) do you want to coerce the final ramp to an upper limit where it becomes horizontal instead of increasing?
Solution for (1): Have you tried ramp pattern? the "by samples" needs [start, end, N]. "end" is your upper limit?
Solution for (2): add an "In range and coerce" function to the ramp. (words for arrays, limits can still be scalar)