// Trigger the simulated node ‘TC’ to disconnect the assignment of
// the setpoint value user with ddi=6 and elementNumber=2, belongs to the node ‘Bailer’,
// to the previously assigned setpoint value source
result = TCIL_RemovePeerControlAssignment(TC, 6, Bailer, 2);
switch (result)
{
case 0: TestStepPass(); break;
case -2204: TestStepFail("Node 'Bailer' is no client device!"); break;
case -2207: TestStepFail("The process variables is not available"); break;
default : TestStepFail("Unexpected error!"); break;
}