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?

enter image description here

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).

range


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -