PxPlus User Forum

Main Board => Discussions => Language => Topic started by: edjack on March 19, 2019, 02:54:09 PM

Title: TSK to return NID
Post by: edjack on March 19, 2019, 02:54:09 PM
 TSK(*PROCESS LIST) gives me a list of pvx processes with a UID identifier.
Is there another TSK function that will give me a process list with a NID identifier?
Or some other way to get a list of all pvx processes with a NID identifier?
Title: Re: TSK to return NID
Post by: Mike King on March 19, 2019, 04:10:53 PM
The Task list provided lists all the PxPlus tasks on the server and since they are running on the server they will all technically have the same NID as the process issuing the TSK(*PROCESS LIST)

In theory if you are using WindX your application could have change the NID value to that of the WindX workstation.  If you are using Simple CS it saves the true workstation NID on a file tied back to the process ID thus you can see whose workstation is actually connected by simply entering the command "KILL" which normally is used to kill processes but does provide an easy way to see which workstations are on.
Title: Re: TSK to return NID
Post by: edjack on March 20, 2019, 08:10:28 AM
Thanks... This should work for us.