Henryk Schneider

Retrieving PI ACE Process ID or Class/Dll name in code

Discussion created by Henryk Schneider on Mar 22, 2011
Latest reply on May 24, 2011 by Henryk Schneider

Is it possible to retrieve the Process ID for a given ACE class/dll in code?  Or better still retrieve the class/dll name based on a Process ID?

 

We have some perfmon points which monitor cpu of specific ACE calculations.  But when you restart the scheduler, the calculations are issued new ID's.    I've got some code finding the Process ID's on the machine via System.Diagnostics library, but need to match that to what is currently in ACE scheduler, so as to hopefully be able to automatically update the respective CPU or other related perfmon points in PI.  

 

Cheers,

 

Henryk.

Outcomes