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

AVEVA™ Plant SCADA

DevReadLn

  • Last UpdatedJul 18, 2023
  • 1 minute read

Reads data from the current record of a device until the end of the line, or end of the record. If the device is record-based, the record number is incremented. The carriage return and newline characters are not returned.

The DevReadLn function does not support SQL devices. Use the DevGetField function for these devices.

Syntax

DevReadLn(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 data (in string format). If the end of the device is found, an empty string is returned and the EOF flag is set.

DevOpen, DevRead, DevEOF, DevFind

Example

Str=DevReadLn(hDev);

See Also

Device Functions

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