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

AVEVA Enterprise SCADA High Performance Database (HPDB) API Reference

RealTime record class

The RealTimeRecord class represents a record inside a table. You can perform the following operations on a RealTimeRecord object:

  • Bind a record object with a RealTime database (RTDB) table.
  • Lock/Unlock a record. There are two types of lock functions that will enable you to specify a timeout or use the default timeout.
  • Attach to any record without locking, and then detach from it.
     Use caution with this operation. If not used properly, locks can be left. If you use the AttachInsteadOfLock() function, you must call the DetachInsteadOfUnlock() function.
  • Copy a database record into a local memory record (CloneInMemoryCopy()).
  • Read and write operations for each RealTimeField class. All write operations have the ability to publish changes to the CMX Persistence store. Once Unlock is called, publishing is done, and whoever has subscribed to the field of the table will get the updated value. Write operations also have the functionality to inform the replication server of the changes that occur on each field. The replication server will take action depending on subscriptions.
  • Overwrite a complete record. The RealTimeRecord will inform the CMX Persistence store and the replication server when the record is overwritten.
TitleResults for “How to create a CRG?”Also Available in