NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access TestStand Event and variables from external application?

Hi all
 
The test system was built by TestStand, now there is a new requirement to filter the test report without change the sequence file. The task must be done without any impact to previous software system, so I decide to write a tool by VC++.
 
My idea is to deal with the reports after every UUT loop, but I need to monitor the UUT loop status by VC++, if an unit is tested, pass or fail, raise a event and pass to VC++ application. In a word, I would like to access TestStand internal event and variables.
 
Anyone has ideal on this case? ActiveX or something.
 
thanks .
 
 
Rexxar
********************************
*The best Chinese farmer*
********************************
0 Kudos
Message 1 of 3
(3,354 Views)
Hi paulbin,
 
I have a solution for you. I think most of software developers will descripe it in times of COM and DCOM als old fashioned, but
it is very easy to use. Try a named pipe or a shared memory. With this old technologie you can share variables over processes.
 
I have used this to implement my dialogs or messages from the TS RTE (process A) as a child window in the Operator-Interface (process B) 
 
Hope this helps
 
Greetings from the lake of constance
 
Juergen
 
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 3
(3,305 Views)
paulbin,
 
While sharing variables via COM or DCOM is certaintly possible, I don't think you need to go down that route.  I think that there is probably an easier way to limit your report.  In your Configuration menu, under the Report Options item, there is a field at the top that will allow you to filter what steps go into your report.
 
This will not affect any sequence file you may have already created, all it does is change a few options in the ReportOptions.ini file in the <TestStand>\cfg directory.
 
This is a much simpler option than trying to write a program to interface with a running TestStand engine.
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 3
(3,302 Views)