Reading out a specific Event definition
Litmus Production Record Database is capable of monitoring tag data for production events and then record these events.
Reading out an event definition can be used to verify what events do exist and what are the triggers and what data are recorded if a trigger is executed.
User can do this either by using applications such as:
- Microsoft SQL Server Management Studio
- MSSQL CLI
This can also be used for building custom solutions based on applications which allow for an ODBC connection such as:
- Excel
- C#
- .Net
- Python
Litmus does provide such as custom solution which can be downloaded from our Central Portal.
Execute Stored Procedure PROREC_Event_ReadEventConfiguration.
Variable name | Datatype | Description | Example |
---|---|---|---|
@NodeName | VARCHAR(50) | The name of a root Node of a specific data model. Mandatory! Can not be NULL or Empty | DownTime |
@EventName | VARCHAR(50) | The name of a specific Event. Mandatory! Can not be NULL or Empty | DownTimeL1M2 |
To read out a specific event definition, call the stored procedure PROREC_Event_ReadEventConfiguration using the T-SQL EXEC or EXECUTE keyword and provide the Input variables. Below is an example using T-SQL in SQL Server Management Studio:
The function returns a table as result.