![]() |
samples is the number of samples of the Ramp Pattern. If samples is less than two, the VI sets Ramp Pattern to an empty array and returns an error. The default is 128. |
![]() |
end is the ending value, or final value, of Ramp Pattern. The default is zero. |
![]() |
start is the starting value, or first value, of Ramp Pattern. The default is zero. |
![]() |
Ramp Pattern returns the ramp pattern of samples. The largest Ramp Pattern the VI can generate depends on the amount of memory in your system, and it is theoretically limited to 2,147,483,647 (2^31 - 1) elements. |
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
If the sequence X represents Ramp Pattern, the Ramp Pattern VI generates the pattern according to the formula
for i = 0, 1, 2, ,n-1,
where is the end,
is the start, and n is the number of samples.
The Ramp Pattern VI does not impose conditions on the relationship between start and end. Therefore, the Ramp Pattern VI can generate ramp-up and ramp-down patterns.