NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the .NET String Class in the .NET Adapter?

Solved!
Go to solution

In .NET, the String class has lots of handy methods like .Split, .Join, etc.  So I thought I'd add a .NET Adapter step, point it to the mscorlib(2.0.0.0) in the GAC, and use the System.String class.  However, I can not locate it in the Class: pulldown on the adapter settings.

 

Am I missing something here?

 

 

0 Kudos
Message 1 of 3
(3,232 Views)
Solution
Accepted by topic author Richard.Morgan

Current versions of TestStand do not show the basic types (e.g. System.String, System.Int32, etc.) from mscorlib in the .NET adapter and do not support directly calling the members of System.String. This will likely be addressed in a future version of TestStand. In the meantime, you will need to create an assembly which wraps the functionality you need if you wish to use the methods of System.String.

 

-Doug

Message 2 of 3
(3,228 Views)

Richard -

 

I encourage you to sign up for the TestStand 2010 Beta. There are some exciting new features in the .NET Adapter coming down the pipeline. It would be most helpful to us to have .NET users start experimenting with these changes and report back any issues or additional suggestions.

 

David Rohacek

National Instruments

0 Kudos
Message 3 of 3
(3,202 Views)