LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clear labview memory


@Perin wrote:

@ Blokk

 

"Usually the last step for a mature application is to create an executable from it, and run it using the LabVIEW Run-Time Engine. This usually leads to better performance, since the LabVIEW Development environment does not need to be loaded."

 

Sorry for mentioning it as project we got those result only in the application.


But then why you showed us the Dev environment memory usage in your first post?

0 Kudos
Message 11 of 17
(1,159 Views)

@Blokk wrote:

 

Another side to reduce performance eating problems is your GUI! Do you really need to show ALL that many indicators to the user? A professional GUI gives the user options to only show the "actually" or "temporary" important GUI elements. SubPanels are good things to use them in such cases, since it reduces the Top level VI's complexity!


We are splitting all the indicators by the name of screens and showing the corresponding screens by inserting them into the subpanel. Actually the same way as you told.


@Blokk wrote:

The problem with this approach is that it is really performance hogging. Specially if you have lots of indicators so references. Have you heard about clusters? Using clusters (with Type definition and bundle/unbundle by names) can solve your "too many wires" problem. But you also mentioned OOP. It is even more robust for such cases (I am not programming in OOP).

 


Yeah we are using typedef cluster wherever its required.

0 Kudos
Message 12 of 17
(1,156 Views)

@Perin wrote:

@Blokk wrote:

 

Another side to reduce performance eating problems is your GUI! Do you really need to show ALL that many indicators to the user? A professional GUI gives the user options to only show the "actually" or "temporary" important GUI elements. SubPanels are good things to use them in such cases, since it reduces the Top level VI's complexity!


We are splitting all the indicators by the name of screens and showing the corresponding screens by inserting them into the subpanel. Actually the same way as you told.


@Blokk wrote:

The problem with this approach is that it is really performance hogging. Specially if you have lots of indicators so references. Have you heard about clusters? Using clusters (with Type definition and bundle/unbundle by names) can solve your "too many wires" problem. But you also mentioned OOP. It is even more robust for such cases (I am not programming in OOP).

 


Yeah we are using typedef cluster wherever its required.


If so, why updating indicators via their reference? Sorry, but i got confused 🙂

0 Kudos
Message 13 of 17
(1,153 Views)


@Blokk wrote:

But then why you showed us the Dev environment memory usage in your first post?



Sorry for showing the wrong screen shot but by running the application only 100MB is getting reduced

0 Kudos
Message 14 of 17
(1,151 Views)

@Blokk wrote:

If so, why updating indicators via their reference? Sorry, but i got confused 🙂


By using reference, we can able to change the property of a particular indicator with an ini file.

0 Kudos
Message 15 of 17
(1,148 Views)

@Perin wrote:

@Blokk wrote:

If so, why updating indicators via their reference? Sorry, but i got confused 🙂


By using reference, we can able to change the property of a particular indicator with an ini file.


Set properties using property nodes via references is totally OK (unless repeated too often). But updating the VALUE of an indicator via property node has caveats compared to using wire...

0 Kudos
Message 16 of 17
(1,140 Views)

@Blokk wrote:

Set properties using property nodes via references is totally OK (unless repeated too often). But updating the VALUE of an indicator via property node has caveats compared to using wire...


Initially we used wire only but we faced a lot of problems in that(its time consuming and many human error while wiring), so that only we started using reference(if any error occur we can simply adjust the ini file to correct it).

But my question is why its size got reduced after 30 mins, is there anyway to minimize it from beginning.

0 Kudos
Message 17 of 17
(1,132 Views)