LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create 3d array from incoming 1d succession of data and arrange in zig-zag pattern

I would like to use as few objects as necessary: if it can be done without an initial array, I would like to learn how to do it. 

I am trying to avoid loops and to make the code as efficient as my knowledge allows; but my knowledge is limited which is why I would like to learn more.

Does labview have a zoom out like Autocad? my program is becoming quite crowded and it is difficult to follow.

 

 

0 Kudos
Message 11 of 13
(856 Views)

>> I would like to use as few objects as necessary:

Why?

 

>> I am trying to avoid loops and to make the code as efficient as [...]

What makes you think loops aren't efficient?

 

>> Does labview have a zoom out like Autocad?

No.

 

>> my program is becoming quite crowded and it is difficult to follow.

Use sub-VIs.

 

>> [...] my knowledge is limited which is why I would like to learn more.

Unofficial Forum Rules and Guidelines there are a bunch of links to training materials here.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 12 of 13
(851 Views)

Using as few objects as possible makes a program easier to follow for me and it probably uses up less resources. For example,

if I use '+1' instead of '+' and adding the constant '1' separately I imagine that :

'+1' the engine reads the function's only parameter -its input- and performs the calculus

'+' ,'constant=1' the engine   reads the function's two parameters(inputs), then performs the calculus. 

 

 

The first time I created the zeros 2d table I used two 'for' loops; I think that using an instrument such as 'initialize array' would make less use of resources (it should be optimized to perform the task of creating a table whilst using the minimum computing power).

 

0 Kudos
Message 13 of 13
(827 Views)