LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why does TCP/IP transfer between RT and windows slow down

Hi,

 

I use LabVIEW 8.6 and cRIO 9014 with NI 9215 and NI 9237 and NI 9411 modules.

I have used TCP/IP with RT FIFO to transfer data from RT to windows. When i had run the real-time VI, i used to get the deployment status as Free memory 80997K of 126268K (Total 64%) . Then, I run the windows VI to see the voltage plots read from TCP/IP, there was no delay in the graph update.

But now, i have added more code along with TCP/IP to my real-time VI. After i place the data into TCP, i decimate the FIFO array and measure the rms values of the 8 analog channels in the same loop.Parallely, I have to do voltage regulation, run linear and rotory drive in the real-time VI. In addition, i have some 20 shared variables in the RT to commumnicate boolean values between windows and RT.

Now when i run the real-time VI, i get deployment status message as -Free memory 65588K of 126268K (Total 51%).

And when, i run the windows VI, the analog waveform plot is very very slow.

how do i make the program run faster. i have broken my real-time VI into smaller SubVIs . While deploying, it shows all the shared variables and subVI names as deploying. Please let me know how to make the VI faster with all the functions

 

 

Thank you. Hema.

 

0 Kudos
Message 1 of 2
(2,604 Views)
Would it be possible for you to post your code?
0 Kudos
Message 2 of 2
(2,580 Views)