04-23-2010 12:37 AM
Hi All,
I need some help on CVI.
I want to write windows event log using CVI.
Are there any APIs available for that in CVI?
Thanks,
Harika
04-23-2010 01:25 AM
Hi Harika,
LabWindows/CVI does not provide callback events corresponding to all of the low-level Windows events. However, you can call the function RouteWinMsgToPanelCallback from the tools library to route any number of Window messages to your panel callback function.
When the panel receives the Windows message you specify, it calls the panel callback with an event value of EVENT_WINDOWS_MSG.
For an example, see the help on RouteWinMsgToPanelCallback.
04-23-2010 01:41 AM
Hi,
Thanks for your reply.
i want to customise event tracing module available in windows. if you go to ControlPanel -> Administrative Tools -> Event Viewer in your system, there you will see a list of tracing information related to applications,system,security and interner explorer. If you click applications, you can view the tracing information in the form of information,error,warning.
My intention is to customise the tracing information using APIs.
In dotnet, i am able to do that using "EventLog" namespace.
Similarly, are there APIs or any properties in CVI available to do this?
Thanks,
Harika
04-23-2010 02:12 AM
04-23-2010 03:56 AM