Write to System Log VI

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Dialog & User Interface VIs and Functions

Requires: Base Development System

Writes a message to the nierrlog system log for storage and subsequent viewing.


message is the text to write to the system log.
severity specifies how the system log classifies the message.

0Error—Specifies the message as an error.
1Warning—Specifies the message as a warning.
2Informational—Specifies the message as informational text.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

Write to System Log Details

You can view the messages this VI writes using the system log viewer for your operating system.

(Windows) Open the Application page of the Windows Event Viewer.

(macOS) Use Console to view the system log.

(Linux) Use a system log viewer appropriate to your distribution.

(NI Linux Real-Time) Open the System Log Viewer page of NI Web-based Configuration & Monitoring.

(Phar Lap ETS, VxWorks) Open the console. The messages display alongside other console output.


Not Helpful