From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

C# steps insertion in Teststand

Solved!
Go to solution

Dear all.

 

I have some codes which are developed in C# but I would like to insert those C# codes onto Teststand sequencer as the steps in the sequence.

And then run the test sequence.

 

Kindly need experts to advise whether this can be done in this manner.

 

Thanks.

0 Kudos
Message 1 of 4
(6,053 Views)
Solution
Accepted by topic author uoi

Hello,

 

Maybe you will need more help to do what you need but here is an interesting document for beginning :

http://www.ni.com/mstudio/whatis/useteststand/f/

 

As explained in this document, you will need to use ".NET Adapters" in TestStand.

 

Hope it helps...

 

J.

0 Kudos
Message 2 of 4
(6,048 Views)

uoi,

 

As Julien mentioned, you'll need to create a .NET assembly of your C# code, which you can then call from TestStand with the .NET Adapter. To see what this looks like, you could take a look at the .NET version of our Computer Motherboard Test example. It's located at <TestStand Public>\Examples\Demo\DotNet\computer.seq. 

 

Let us know if we can do anything else to help out!

0 Kudos
Message 3 of 4
(6,039 Views)

Thanks Daniel & Julien.

 

Your information is very helpful.

0 Kudos
Message 4 of 4
(6,011 Views)