NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get step type name of a step

Hello,

I need to get the step type of step. i.e. if a Pass/FailStep is present in the sequence file then i need to get the type name which is: "PassFailTest"

I am using LabWindows/CVI for my development work.
I tried to use the following function
TS_StepGetProperty (StepHandle, NULL, TS_StepStepType, CAVT_CSTRING, &stepTypeName);
But it did not work. Does anyone have an idea how to go about it.

Thank you
0 Kudos
Message 1 of 3
(3,623 Views)
Hi Rame,

Try the following:
TS_StepGetProperty (stepHandle, NULL, TS_StepStepType,CAVT_OBJHANDLE, &stepTypeRef);
TS_StepTypeGetProperty (stepTypeRef, NULL, TS_StepTypeName, CAVT_CSTRING, &stepTypeName);


Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,623 Views)
Hi,

It works. Great!!
Thank you ver much

Best Regards,
Rame
0 Kudos
Message 3 of 3
(3,623 Views)