cnsGetUserData

Returns the user data stored in a node.

Synopsis

bool cnsGetUserData(string cnsPath, blob &userData);

Parameters

Parameter Description
cnsPath ID path of the node
userData Receives the user data stored in the node

Return value

TRUE or FALSE indicating success or failure of the operation.

Errors

Possible errors:

  • Wrong ID path

Description

This function returns the user data stored in the given node.

main()
{
  blob userData;
  cnsGetUserData("System1.View3:Node1", userData);
  DebugN(userData);
}

Availability

UI, CTRL