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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -