Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

C# GUI WPF Development for NI Resources

Solved!
Go to solution

I want to create a GUI for controlling PXIe resources but the problem is existing library for C# is based on TSM context. So unless I run them through TestStand I have no way of controlling the resources. Can someone give me an idea?

0 Kudos
Message 1 of 4
(923 Views)

What are you trying to achieve?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 2 of 4
(913 Views)

So I want to build a WPF based program on .NET using NI C# library (Semicondunctor Test Library) but the problem is that their STL codes are based on TSM Context which is essentially runs only through TestStand engine (because of the pinmaps and digital tools). I'm not sure if there's already some sort of way I can control the PXIe resources on a much lower-level scale on C# where I won't have to use the methods that would require TSM context. 

0 Kudos
Message 3 of 4
(908 Views)
Solution
Accepted by topic author Caloi
If you want to control PXIe instruments using C# WPF, there are examples. STL is designed to work only with TSM, so you can't use it outside. Do note that STL abstracts many underlying details that the original driver doesn't.

Please refer to the C# resources on how to control NI instruments, https://www.ni.com/en/support/documentation/supplemental/13/national-instruments--net-support.html
Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
Message 4 of 4
(896 Views)