using windows event manager

조회 수: 9 (최근 30일)
Dan
Dan 2013년 8월 12일
We have data being processed by a few automatic processes in parallel. some of the processes feed others with input. In order to follow up the progression I would like to generate a log. the event rate is at most 10 per hour. I thought of using the windows event manager for the task. Windows would then take care of listening for the events, remembering the time, and recording an id I send in for each event (I need about 10 types of events). I would then only have to filter out the events with the aid of the event viewer.
How can I submit an event to the windows event logger with Matlab? How can I then retrieve the events with Matlab?
Is there a much simpler way of doing that with Matlab without the Windows event manager?

채택된 답변

Friedrich
Friedrich 2013년 8월 12일
편집: Friedrich 2013년 8월 12일
Hi,
you could write a C/C++ MEX file and use ReportEvent function. From there on consult the Microsoft documentation for examples and further information.
Or maybe .NET makes that easier for you?
  댓글 수: 1
Dan
Dan 2013년 8월 12일
I was hoping for a Matlab solution. I dont have a clue about using MEX or .NET I wouldnt know where to start. Thanks anyway

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by