LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MATLAB Script Nodes and concurrency.

I am running a computationally intense MATLAB script from a LabVIEW script node. When the node is entered, I notice some of my other concurrent LabVIEW VI's appear to stop or at least slow way down. What am I doing wrong? I am running 6i on Windows 98.
0 Kudos
Message 1 of 2
(2,305 Views)
You are not necessarily doing anything wrong. Your computationally intensive MatLab script is requiring a large percentage of the computational resources of your computer. When it is running, the other concurrent VIs do not receive as many resources as they were previously and thus slow down. A way to reduce this effect would be to reduce the priority levels of the VI that has the MatLab Script in it. This can be done in VI properties. Its effect and what settings to use are OS dependent and involve some trial and error. This would allow for more computational resources for the other VIs.

MM
0 Kudos
Message 2 of 2
(2,305 Views)