Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

AlmSummaryNumRecords

  • Last UpdatedJul 18, 2023
  • 1 minute read

The AlmSummaryNumRecords function retrieves the number of records in an alarm summary browse session.

This function is a non-blocking function. It does not block the calling Cicode task.

Syntax

LONG AlmSummaryNumRecords(LONG iSession)

iSession:

The handle to a browse session previously returned by a AlmSummaryOpen call.

Return Value

The number of records that have matched the filter criteria. A value of 0 denotes that no records have matched. A value of -1 denotes that the browse session is unable to provide a fixed number. This may be the case if the data being browsed changed during the browse session.

AlmSummaryAck, AlmSummaryClear, AlmSummaryClose, AlmSummaryDelete, AlmSummaryDeleteAll, AlmSummaryDisable, AlmSummaryEnable, AlmSummaryFirst, AlmSummaryGetField, AlmSummaryLast, AlmSummaryNext, AlmSummaryPrev

Example

INT numRecords = 0;
...

numRecords = AlmSummaryNumRecords(iSession);

IF numRecords <> 0 THEN

// Have records

ELSE

// No records

END

...

See Also

Alarm Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in