LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slow application window draws

l have a data acquision vi with a few buttons and a big plot. It gets serial RS232 digital and analog data through com1 from some DAQ hardware every second.    When launched, it calls a sub vi that presents another front panel that draws on top of the main vi and asks for com ports, baud rates, and paths.  Once the ok button is clicked that sub vi panel closes and the main vi runs.  When I test this on the machine with the development system it works nicely.  When I build an installer with the run time engine and test it on other machines, it takes forever (minutes) to draw the screens and respond to the mouse click. Once it gets past the startup problems it appears to run fine.  If the program is quit and re-run it does the same thing.   I am using VISA so that is included in the build.  I am using LV8 and running these on 2GHz machines with 1GB of RAM.   Any ideas? 
Phil
0 Kudos
Message 1 of 2
(2,482 Views)
Does the window that pops up have a VISA Resource Name control on it? If so, as an experiment replace the control with a string constant containing the name of the COM port on the target system. Is there any difference in performance?

Also, what anti-virus software are you running, and what firewall?

Is MAX installed on the target machine?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,480 Views)