LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Speed of program

My program is slow,
 
My programm communicates with a network analyzer, and also with excel. (after a buttonclick) But are there some general rules to speeding things up, because my application is very slow.....
 
Do you have got any tips?
0 Kudos
Message 1 of 2
(2,508 Views)

On your front panel select Tools>Profile>Performance and Memory.

This tool shows you where you might be able to improve performance.

Also,  for a lot of the canned instrument drivers I end up modifying them because some are pretty slow.  Make sure you are not calling unnecessary routines every time you need to take a measurement.  A lot of the drivers call setup and init routines along with your measurement routines every time you call the instr driver. 

And if you are calling excel a lot that can be slow.  I usually dump data to excel at the very end.  While my programs are running, I create a text file for raw data. 

Brian

Brian
0 Kudos
Message 2 of 2
(2,473 Views)