LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically determine the used log file path for a source distribution

Is there a way to programmatically determine the log file path entered inth the "Generated buld log file" option of a source distribution?

0 Kudos
Message 1 of 3
(2,825 Views)

Hi xl600,

 

read the project file (*.lvproj) using a text editor - it's just a XML file.

Search for your source distriution entry and check its log file path…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,822 Views)

Looks like there's a "Bld_userLogFile" property that holds a relative path from the project file path.

 

I also found a Get User Log Path.vi under

 

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\AppBuilder\AB_API\Build

 

Which is probably doing the same thing (Reading the project).

 

Thanks for the clue!

 

XL600

0 Kudos
Message 3 of 3
(2,807 Views)