Sunny,
On the NI Developer Zone, I found at least 7 examples which describe making a custom step type with LabVIEW. You can find the step type examples of the NI Developer Zone at
NI Developer Zone Custom TestStand Step Types. Since the concept of making a step type is the same no matter what type of code module you call, you could just as easily look at the CVI examples if there is one that meets your needs.
If you plan to call a LabVIEW DLL rather than a LabVIEW VI, simply create the LabVIEW DLL. Then when you specify that code module for your step type, use the DLL adapter to call that particular code module. If that code module i
s a sub-step, then you would configure how the code module is called from the sub-steps tab. If you want to configure this code module to be the default code module that is executed for the step, you can configure that on the General tab of that step types properties.
If none of these examples are helpful, just respond to the post with what part is troubling you and we'd be glad to give you some more specific advice.
Regards,
Shannon R.
Applications Engineer
National Instruments