Hello April,
You can indeed access the name property programatically. To this, you must get a Property Object reference to the Step.Result.Measurements[x] property (where x is the measurement index). You can then use the "Name" property of the Property Object class to determine or set the name of the measurement. Alternatively, you can get the Step.Result.Measurement array as a Property Object then use the GetPropertyObjectByOffset method to access an individual element of the array. Once you have a reference to this individual element, you can the use the PropertyObject "Name" property to set or get this value. The code looks someting like this:
// Line 1
errChk(TS_PropertyGetPropertyObject (testData->seqContextCVI, &errorInfo,"Step.Result.Measurem
ent", 0, &MeasObj));
// Line 2
errChk(TS_PropertyGetPropertyObjectByOffset (MeasObj, &errorInfo, 2, 0, &SpecifcMeas));
// Line 3
erChk(TS_PropertySetProperty (SpecifcMeas, &errorInfo, TS_PropertyName, CAVT_CSTRING, "NewValue"));
Hope this helps!