Solutions
...
Litmus Production Record Datab...
Interacting with Litmus Produc...

Reading out a specific Event definition

5min

Use Cases

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.

Method

Execute Stored Procedure PROREC_Event_ReadEventConfiguration.

Input Variables

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









How to use

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:

EXECUTE [LE_ProductionRecord].[dbo].[PROREC_Event_ReadEventConfiguration] @NodeName = N'DownTime', @EventName = N'DownTimeL1M2';

Result

The function returns a table as result.

specific event definition
specific event definition