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

AVEVA™ Plant SCADA

ArraySwap

  • Last UpdatedJul 18, 2023
  • 1 minute read

Swaps the contents of two arrays.

Syntax

INT ArraySwap(INT hArray1, INT hArray2)

hArray1:

The handle of the array that you would like to swap with hArray2.

hArray2:

The handle of the array that you would like to swap with hArray1.

Return Value

If unsuccessful, an error code will be returned by the IsError Cicode function.

ArrayCopy, ArrayCreate, ArrayCreateByAn, ArrayDestroy, ArrayDestroyByAn, ArrayExists, ArrayExistsByAn, ArrayFillFromAlarmDataByAn, ArrayGetArrayByAn, ArrayGetInfo, ArrayGetInt, ArrayGetIntByAn, ArrayGetMapName, ArrayGetMapNameByAn, ArrayGetString, ArrayGetStringByAn, ArrayIsDirty, ArraySetInt, ArraySetIntByAn, ArraySetIsDirty, ArraySetString, ArraySetStringByAn, DspArrayByAn

Example

error1 = ArraySwap(hArray1, hArray2);

See Also

Array Functions

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