Is there a better way to create a 1D array with n number of elements in LabVIEW? -
here did, have better way of doing it?
do have built-in function this? started using labview might have overlooked. in matlab just:
x = (0:10-1)
and in python:
x = range(10)
the easiest way create range, you've done - wire indexing terminal directly , dropping shift register. there no built-in way this. potential gain of use less space on diagram.
edit: yair pointed out, there built-in way in form of ramp pattern. vi has more configurability, example choosing between divide range n samples or delta. require full development license (in signal processing palette).
Comments
Post a Comment