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

AVEVA™ Plant SCADA

EquipBrowseGetField

  • Last UpdatedJul 18, 2023
  • 1 minute read

The EquipBrowseGetField function retrieves the value of the specified field from the record the data browse cursor is currently referencing.

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

Syntax

STRING EquipBrowseGetField(LONG Session, STRING FieldName)

Session:

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

FieldName:

The name of the field that references the value to be returned. Supported fields are:

Name, Cluster, Type, Area, Location, IODevice, Page, Help, Comment, Composite, Parent, Custom1, Custom2, Custom3, Custom4, Custom5, Custom6, Custom7, Custom8.

See Browse Function Field Reference for information about fields.

Return Value

The value of the specified field as a string. An empty string may or may not be an indication that an error has been detected. The last error should be checked in this instance to determine if an error has actually occurred.

EquipBrowseClose, EquipBrowseFirst, EquipBrowseNext, EquipBrowseNumRecords, EquipBrowseOpen, EquipBrowsePrev, EquipCheckUpdate, EquipGetProperty

Example

STRING fieldValue = "";

STRING fieldName = "TYPE";

INT errorCode = 0;
...
fieldValue = EquipBrowseGetField(iSession, sFieldName);

IF fieldValue <> "" THE

// Successful case

ELSE

// Function returned an error

END
...

See Also

Equipment Database Functions

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