To improve the overall performance of your VIs, use simple data structures that do not contain complex combinations of LabVIEW data types.
Windows and UNIX To use memory more efficiently, eliminate coercion dots at numeric terminals. Right-click the input value on the block diagram and select Representation to change the representation of the input value to the representation of the terminal.
Macintosh To use memory more efficiently, eliminate coercion dots at numeric terminals. <Command>-click the input value on the block diagram and select Representation to change the representation of the input value to the representation of the terminal.
To reduce memory requirements and increase performance slightly, disable the debugging tools. Select File»VI Properties, select Execution from the top pull-down menu, and remove the checkmark from the Allow Debugging checkbox.
To customize how a VI executes, select File»VI Properties and select Execution from the pull-down menu.
To monitor the performance of your VI, select Tools»Advanced»Profile VIs, click the Start button, then run your VI.
To improve the overall performance of your VIs, avoid displaying and manipulating large arrays and strings.
To increase the speed at which your VI runs, avoid unnecessary computations in looping structures.
Use local and global variables only when necessary. Overuse can cause slower execution, inefficient memory usage, or race conditions.
Break large top-level VIs into small subVIs to reduce the amount of memory consumed by your application.
To further increase the speed your VI executes, reduce the number of I/O calls you make by reducing the amount of data you acquire or by acquiring the data with fewer calls.
To increase the speed at which your VI runs, reduce the time spent updating front panel controls and indicators.
To increase the speed at which your VI runs, avoid using autoscaling on graphs and charts if it is not needed.
To increase the speed at which your VI runs, update graphs and charts several points at a time, not one point at a time.
To increase the speed at which your VI runs, force less important parallel tasks to wait using the Functions»Time & Dialog»Wait (ms) function so crucial tasks have more processor time.