Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

linramp (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: waveform generation

Requires: MathScript RT Module


c = linramp(a, b)

c = linramp(a, b, n)

Legacy Name: linspace


Generates equally distributed samples that lie between two values.



Name Description
a Specifies the lowest value of the range from which you want to take the samples. a is a scalar.
b Specifies the highest value of the range from which you want to take the samples. b is a scalar.
n Specifies the number of samples to generate. n is an integer. The default is 100.


Name Description
c Returns n equally distributed samples between a and b. c is a vector.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


C = linramp(1, 10, 30)

Related Topics



 Was this document helpful?  submit
  Helpful Not Helpful