02-20-2006 01:18 PM
02-20-2006 03:48 PM
Hi,
The reason might be because you have at some point defined it locally to one of your sequence files. you can check this out by selecting the view control on the sequence file window and selecting Sequence File Types. you can check what
Even though you have deleted all the steps used in the sequence file, it still contains the step type as part of the sequence file. Therefore you have to actual select the Sequence File Types and then in the Step Types Tab you can then delete the offending step type. But you will only beable the delete the local copy when all of the step that use that type has been deleted from the sequence file.
In the Conflict dialog, where does it say the location of the step type is?
Regards
Ray Farmer
02-22-2006 09:28 AM
Thanks Ray. I did have that step type declared in the sequence file types. Deleting that solved the problem.
Anuj
02-22-2006 10:19 AM
02-22-2006 02:58 PM
Barry,
Good point, although I will add that it does have a minor drawback, but that's only while you are developing your code, and thats debugging. I could step in to the code associated with the steptype. It would stop at breakpoints if I set them in my code.
Having said that, I do try to place my steptype code modules in the post substep rather than in the code module position because of this problem of not being able to update the step type or replace the step type.
Regards
Ray Farmer
02-23-2006 12:18 AM
Thanks everyone for your input !
I would like to stick to calling a module in the custom step type by 'Designate an Adapter' rather then doing it all in 'Substeps' because for one reason, putting breakpoints and stepping through code is important for my application, which cannot be done by using post steps. Also, the code module I am using for my custom step type is 'Sequence' which does not show up in the list of available adapters in Substeps, even though I could probably accomplish that by making ActiveX calls to TestStand API or TestStand Adapter API.
I did a lot more playing around with custom step types and I think I understand them fully now. One thing I have decided to do is use the Version functionality, that eliminates a lot of problems that I was inducing before. I would recommend that to anyone else struggling with the type conflict issues.
With that, the only limitation that remains in TestStand (maybe its not a limitation) is that when you make certain modifications to a custom step type (like maybe adding a comment to it, or changing the code module its calling), then these modifications do not get carried to already loaded instances of the step type unless you do the "Apply changes in this dialog to all loaded steps of this Type" thing. Unfortunately, this is not always possible, because sometimes the sequence files already using that step type maybe distributed on a number of machines and all you can do is give all those other machines the updated MyTypes.ini.
If anyone has any more comments/suggestions, I will appreciate that. I needed to understand this stuff because I am starting to roll out many custom step types I made to a number of people and I better have a good way of managing and maintaining them before it starts becoming a mess.
Thanks
Anuj
02-23-2006 02:15 AM
01-20-2010 05:56 AM
Hi Ray,
I have successfully built custom step, and deployed by creating installer.
The installer is deploying the custom steps but the substep modules are not found although i have added them in code module folder. Could you please help me?
01-20-2010 06:17 AM
Hi,
What installer are you using?
Have you defined the missing modules in the source and destination of the installer?
Regards
Ray Farmer
01-20-2010 07:21 AM
Yes. i did.
i am using TestStand 4.2.1.
i could see the custom steps on the target PC but the substep modules are not able to find the labview files. i need to manually locate them now.
is there anyway that we can distribute this?