04-29-2007 04:41 PM
04-30-2007 03:11 PM
04-22-2015 12:50 PM
Are their any updates to this topic?
In TestStand, we are trying to make a .NET step to use some code that we wrote to control a serial device. This is the first .NET step in the sequence. In the in Module Step settings tab the Root Class pull down shows the name of the object that I was expecting but followed by (not creatable), see attached.
We are not seeing the errors as mentioned in the post above.
What is the significance of the “not creatable” message? This sequence step and others work. Is there something wrong, should we be doing something different?
We are using TestStand 2013, 5.1.0.240 with Microsoft Visual Studio 2012 and .NET 4.0.
Thanks
04-24-2015 08:39 AM - edited 04-24-2015 08:40 AM
Not createable just means that there is no way to construct an object of that type (i.e. no public constructors), but that doesn't matter if you are just calling static methods. Is there a problem you are trying to solve? If you just want to call static methods on the class you should be fine. I believe the original forum poster was seeing an entirely different issue. The .NET adapter was a lot different back in 2007.
Hope this helps.
-Doug
04-24-2015 03:31 PM
Doug
Thanks for your explanination.
Since we are just calling static methods, there is no problem then. The indication of "not creatable" just took me by surprise and I wanted to know if we were doing something wrong. The code is working.
Chuck