From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

accessing the script log file contents

I would like to know the contents of the script log at a customer's site.   since we run DIADEM as a service,  it is not possible to  'see' the log.

 

are the contents stored somewhere?

 

is it possible to access (programatically) and write out contents?

 

jim

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

Hello Jim!

 

The log is stored in a file. The filename with path is the concation of the variables DeskDrv and LogFilename. How verbose DIAdem is can be set via the LogFileExtent variable (see help) and in your script you can write to the log with the LogfileWrite command.

 

Hope this helps

 

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
Message 2 of 2
(3,381 Views)