NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i read GetProcesses() from System 2.0 Assembly

Solved!
Go to solution

I want to call a Exe programmatically from TestStand after verifing the system process names. I want to read all Process names and compare to make sure whether my application exe is running. I've found the System(2.0.0.0) assembly which needs to be called in order to get the process names. 

 

I'm able to do this these steps in LabVIEW. Attached is the reference VI. But, similarly i want to do it in TestStand. I've started doing that; I'm struck here, how to read data from Array Obj Reference and populate ProcessNames. Apprecaite your help.

 

Thanks

Download All
0 Kudos
Message 1 of 2
(3,129 Views)
Solution
Accepted by Blessing_Star

Hi,

 

GetProcess() returns an array of Processes. You will get this to TS by using an array of object References.

Just Iterate throw the array by using foreach steptype to get each step name

 

 

Hope this helps

Juergen

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 2
(3,084 Views)