Skip to Main Content
Cognex 지원 허브
LogoLogo

How To Enable Event Logs In Trevista

Event logs are your go-to tool for diagnosing and resolving hiccups in Trevista's operation. They capture vital information about the system's behavior, helping you identify and address issues promptly.

2024. 11. 27.

Details

When to Enable Event Logs:

  • Issues with operation. Enable logs if you notice any unexpected behavior or issues during Trevista's use. The recorded data will assist you and our support team in understanding and resolving the problem.
  • Suspected communication failures with the controller. If you suspect communication breakdowns between Trevista and the controller, event logs provide a detailed record of communication attempts and errors, helping you identify and fix issues efficiently.
  • Communication or signal reception failures from the encoder. When Trevista isn't receiving signals as expected from the encoder, enable event logs. These logs document interactions with the encoder, aiding in the diagnosis and troubleshooting of signal reception problems.

 

Accessing Trevista Configuration File
To enable event logs in Trevista, you need to make a few simple adjustments to the configuration file.

  •  Open File Explorer and go to the following directory C:\ProgramData\Cognex\Nova.Trevista.Aik\
  • In this directory, find the file named Config.conf. Right-click on the file and open it with note editor as admin. Find the line with LogEnabled and set it True.
  • To ensure that the event logs are saved to your preferred destination, you'll need to specify the folder path. Still in the Config.conf file, find the line that begins with LogPath and specify the desired folder. Please ensure the folder already exists.
  • Save the changes to the Config.conf file and close the text editor. With these modifications, Trevista will now generate event logs in the specified folder, allowing you to monitor and troubleshoot the system effectively.

 

Example:

[Log]
LogEnabled=True
LogLevel=Debug
LogPath=C:\Trevista

[Exceptions]
LightingDetection=True

관련 자원

Loading component...