01-08-2007 07:04 AM
01-08-2007 07:11 AM
01-08-2007 07:59 AM
01-08-2007 08:10 AM
01-08-2007 10:47 AM
I usually put my indicators into a large cluster outside the while loop. Inside the loop using a shift register, I use the Bundle by name function to put values into the indicator. There has been talk in the past, about using a picture indicator as a control by using mouse events to check click position. Perhaps you could overlay a control on top of the indicator with some transparent coloring.
Show us some code for more help.
01-08-2007 10:54 AM
01-09-2007 07:53 AM
01-09-2007 11:28 AM
One other bottleneck that you are fighting is that each property node causes a thread-swap to the UI thread. Depending on your machine, this can take up to 10ms for each property.
I suggest that you create an array of the references of the controls and use a sub-vi to change all properties at once. Then set the execution of the sub-vi to run in the UI thread. This will combine all property nodes into one thread swap.
01-10-2007 07:29 PM
01-07-2022 06:22 AM
It may be old thread but helped me to speed up the update rate of my VI with 8 1D arrays. Original refresh rate was sluggish at about 0,1s and with defer panel updates feature that dropped to acceptable 0,002s.
Press CTRL + SPACE and type static VI reference
right click on output crate >property for VI class > Front panel
right click on output of Front panel > crate > property for Panel class > defer panel updates
Delete the static VI reference
I used a sequence and in the beginning of it I set the disable updates to true. Then in the second frame placed the code that updates all 8 arrays and in the third frame I set the updates back to false.