取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 2 条)
2,543 次查看

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 项奖励
2 条消息(共 2 条)
2,508 次查看