LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

8.0 speed.

My application uses active network data exchange btw Host and RT via VIServer - it starts RT-vi enveloped in *.rtexe and after completion sends back an array of data.
When recompiled to 8.0 the speed of exchange fell down twice with the same TCP/IP configurations.
Moreover, the Host part of application "bubblegumed" from about 320 MB to 500 MB of RAM usage without any changes within - just beeing recompiled from 7.1 to 8.0.

Any ideas ?
Tnks in adv.
0 Kudos
Message 1 of 5
(3,562 Views)
Did you save it all under 8.0 before running? As mentioned elsewhere, freshly converted, but not yet saved VIs are typically slower and have a much larger memory footprint
 
 
Have you looked into the new "shared variable" for data exchange? It will simplify things dramatically. 😄
 
 
0 Kudos
Message 2 of 5
(3,556 Views)
Thanks, altenbach!

Off course, all the vis were saved in 8.0.

And as far as I comprehend, shared variable is good for dynamic data exchange btw Host and RT.
While my app only needs:
1. Start the VI by VI Server method on RT.
2. Execute it (10 sec ... 40 sec - it depends).
3. Send me back the data gained.

And also, i'd like to mention especially - the speed fell down in comparison with 7.x - it can be easilly seen from first sight - the amount of time VI Server eats to start the vi up has grown.

But, as i can see, the size of .rtexe is about tenfold smaller than that of .exe.
So, can that time leakeges be due to the need to "reconstruct" the .vi from "optimized" .rtexe?

Any ideas?
Tnks in adv.
0 Kudos
Message 3 of 5
(3,555 Views)
The deal was to create an *.exe ;-).

In executables VIServer runs much faster.
But for me this is just experimental fact.
So anybody knows why does *.exe speeds up
in comparison with *.vi?

Thanks in adv.
0 Kudos
Message 4 of 5
(3,445 Views)

Hello,

The following thread has valuable information about the difference in speed of VIs and executables.

http://forums.ni.com/ni/board/message?board.id=170&message.id=145682&requireLogin=False

Regards,

AG

0 Kudos
Message 5 of 5
(3,400 Views)