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

AVEVA™ Plant SCADA

DspInfoValid

  • Last UpdatedJul 18, 2023
  • 1 minute read

Checks if an object information block handle is valid. An object information block handle becomes invalid after it is destroyed, or if the user closes the page it is associated with. Use this function if background Cicode is using the object information block, and the operator closes the page.

Syntax

DspInfoValid(hInfo)

hInfo:

The object information block handle, as returned by DspInfoNew(). This handle identifies the table (or block) where all object data is stored.

Return Value

1 if the information block handle is valid, otherwise 0 (zero).

DspInfoNew, DspInfoField, DspInfoDestroy

Example

IF DspInfoValid(hInfo) THEN

EngValue=DspInfoField(hInfo,sTag,"Eng_Value");

END

See Also

Display Functions

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