NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand .NET support...

Hi,

I'm using a Evaluation Version of TestStand 3.5 and try to instanciate .NET classes using the Action Step.
Unfortunatly, the execution of the sequence always fails with this Message:

------------------------------------------------------------------------------
Model entry point 'Single Pass' could not be executed.

Unexcepted Operating System Error.
Error Code: -17501
Source: 'TSAPI'
------------------------------------------------------------------------------

Can any one help me with that?
All I found was this on the help, which is not really helping much:
  • TS_Err_UnexpectedSystemError–(Value: -17501)


Thanks

Markus

0 Kudos
Message 1 of 3
(2,891 Views)
Does this error occur on every step that calls a .NET assembly? Have you tried a standard microsoft assambly and still get the error?
 
It would helpf if you could post an example, with which I am able to reproduce the problem.
0 Kudos
Message 2 of 3
(2,883 Views)
Thanks for the reply.

I got the problem on every call to a .NET assembly.
It seams the TestStand installation was messed up.
After reinstalling TestStand, it was able to use the .NET classes.

However, the is still another problem using .NET remoting with in TestStand.
I instantiate a .NET class in TestStand send it serialized to the RemotingServer
and trigger a measurement. After a call is returning there is a exception occuring in
TestStand which say that the class returned from the server is not available since
the assembly of the class is not present at TestStand side.
But it is present since the object I have sent has the same type as the received one,
however it is not the same instance.

Is TestStand using another AppDomain or Context to create .NET classes?
What else can this be?

Best Regards

Markus

0 Kudos
Message 3 of 3
(2,873 Views)