08-19-2015 07:10 AM
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.
08-19-2015 07:25 AM
>> 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.
08-19-2015 09:41 AM
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).