NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand automation from an extern C++/Qt UI program

Hello,

 

I have a test bench project for which the customer wants a very specific and custom UI.

One of the requirements for the UI is that it shall be written in C++ using the Qt framework.

We are used to writing all our test benches software with TestStand and would like to reuse our knowledge.

 

My idea is to build a C++/Qt with the specific UI and have all the rest (test definition, execution, test data base) running in TestStand.

 

Is there a way to drive TestStand from an external UI (I mean, a separate program), where I could run test sequences, get results, and query the test results database managed by TestStand?

 

Could you direct me to some examples that demonstrate how to do this?

 

Thanks in advance for your answers.

Any help is greatly appreciated!

Nicolas

0 Kudos
Message 1 of 2
(2,222 Views)

This is exactly what the Operator Interface (OI) is for. There are even examples in C++, although they don't use MFC. Check out <TestStand Public>\UserInterfaces\Simple\C++ (MFC). There will be some significant work refactoring from MFC to the Qt framework, but at least you can get the environment setup the first time and see how the syntax works for TestStand.

- Regards,

Beutlich
0 Kudos
Message 2 of 2
(2,210 Views)