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

AVEVA™ Plant SCADA

DevFirst

  • Last UpdatedJul 18, 2023
  • 1 minute read

Finds the first record in a device.

For SQL devices, this function is a blocking Cicode function.

Syntax

DevFirst(hDev)

hDev:

The device handle, returned from the DevOpen function. The device handle identifies the table where all data on the associated device is stored.

Return Value

The first indexed record (if the device is an indexed database), otherwise the first record in the device.

DevOpen, DevClose

Example

! Find the first record.
FirstRec = DevFirst(hDev);

See Also

Device Functions

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