NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Trusted Enthusiast
Darren
Posts: 2,614

Darren's Occasional Nugget 02/27/2012

This nugget is for all the VI Analyzer fans out there. If you want a detailed log of everything that happens during an analysis session, add the following line to your LabVIEW INI file:

 

VIAnalyzerLogging=True

 

With this INI token present, the following file will be created whenever you perform an analysis: [LabVIEW Data]\VIAnLog.txt.  And in this file you will find the following information:

 

[path to analyzed VI]

[test name],[pass/fail/error],[analysis time in milliseconds]

[test name 2]...

[test name 3]...

 

[path to analyzed VI 2]

...

 

This information can be useful if you're interested in which tests are taking the longest to run on your VIs.  And if you're having stability problems, i.e. a crash during analysis, this log file will tell you the last VI analyzed (and test run) before the crash.  Note that I don't do anything fancy with maintaining old copies of the file...if you perform a second analysis, the log file will be overwritten with the new analysis information.

Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Member
Rachel D
Posts: 17

Re: Darren's Occasional Nugget 02/27/2012

Thanks Darren for posting on the discussion forum!

 

Your excitement for LabVIEW and its applications is greatly appreciated.

 

Best,

 

Rachel D.
Applications Engineer
National Instruments
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page