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

AVEVA™ Plant SCADA

IProcessAnalyst​.CopyToClipboard [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Copies the data in the current viewable range for visible pens to the clipboard.

Defined As

  • [VBA] CopyToClipboard()

  • [Cicode] CopyToClipboard()

  • [C++] HRESULT CopyToClipboard()

Remarks

The timestamp of each sample will be in local time defined by your computer. The start and end sample maybe generated for each pen to indicate the exported range of the data.

Execution Result

If the function succeeds the return value will be Success. If the function does not succeed the return value will be GeneralFailure.

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
myPage_AN35.CopyToClipboard
End Sub

[Cicode]

Sub Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
_ObjectCallMethod(hProcessAnalyst, "CopyToClipboard");
End Sub

See Also

IProcessAnalyst.CopyToFile [Method]

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