You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter expressions can be used to filter inputs and outputs for streams, subscribers and adapters.
This syntax is similar to a SQL WHERE clause, but does not implement the full SQL language. See DataTable.Select() for more information.
An example input filter to only pass measurements with the company of GPA and type of Frequency(FREQ).
inputMeasurementKeys = {
FILTER ActiveMeasurements WHERE Company='GPA'AND SignalType='FREQ'ORDER BY ID
};
An example input filter to only pass first 20 Statistics(STAT) measurments.
inputMeasurementKeys = {
FILTER TOP 20 ActiveMeasurements WHERE SignalType ='STAT'
};
An example output filter to only send Current Angle and Voltage Angle for the Positive Sequence(+) measurments.
outputMeasurements = {
FILTER ActiveMeasurements WHERE SignalType IN ('IPHA','VPHA') AND Phase='+'ORDER BY PhasorID
};
See more examples of allowed DataTable.Select() syntax.
Available Table Definitions
Available table defintions are defined in the ConfigurationEntity table of the host Time-Series Library application configuration database.
For selection of input and output measurements for adapters, ActiveMeasurements is the most common source. Other commonly defined tables are listed here for reference as well.