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

AVEVA™ Plant SCADA

TagBrowsePrev

  • Last UpdatedJul 18, 2023
  • 1 minute read

The TagBrowsePrev function moves the data browse cursor back one record. If you call this function after you have reached the beginning of a browse, error code 412 is returned (Databrowse session EOF).

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

INT TagBrowsePrev(LONG Session)

Session:

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

Return Value

0 if successful -1 if unsuccessful.

TagInfoEx, TagInfo, TagBrowseClose, TagBrowseFirst, TagBrowseNumRecords, TagBrowseOpen,TagBrowseNext,TagBrowseGetField

Example

// previous without first

TBResult = TagBrowsePrev(TBHandle);

ErrLog("Prev: " + IntToStr(TBResult) + ", Error = " + IntToStr(IsError()));

END

See Also

Tag Functions

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