Rafi -
Code in LabWindows/CVI might look like the code below. The stringVal variable is allocated memory. Before calling any subsequent call that returns allocated memory, the string must be freed.
char *stringVal = NULL;
TS_PropertyGetValString(propObj, &errorInfo, "Step.Limits.String", 0, &stringVal);
CA_FreeMemory(stringVal);
TS_PropertyGetValString(propObj, &errorInfo, "Step.Result.Status", 0, &stringVal);
CA_FreeMemory(stringVal);
Scott Richardson (NI)
Scott Richardson
https://testeract.com