Jump to content

Tracking when Calypso user is changed.


---
 Share

Recommended Posts

---

Is there a way to know when a user has logged into or has changed in Calypso and or Autorun?

Like a log file.

Particularly when the user is changed.

We have two CMM's that are strictly Autorun, they log in the user as "Operator" with minimal rights.

I keep finding that someone is switching to Master.

Link to comment
Share on other sites

---

Hi Richard,

there is no actual info within the CALYPSO log about a user change, i just tried it, but every time i switch the user i get the following:

"debug    Unknown    Unknown    0000    Update language settings." 

I cant say if that message appears on any other occasion than switching users, so please use that info with caution 😄

You can find it under the following path: C:\Users\Public\Documents\Zeiss\CALYPSO 7.8\log

 

Best Regards

Marcel

Link to comment
Share on other sites

---

Please sign in to view this quote.

Please sign in to view this username.

 Can you change the Master password? Maybe use PCM variable getRecordHead("produceoper") and log that to a file after each run to see what time it is being changed to narrow it down?

Link to comment
Share on other sites

---

Hello Richard,

I don´t think, that there is a way using log. But you can use PCM, like DWC said above. You can set an inspection_start_pcm.txt into your main folder, that writes the actual user into a file (with addToFile() ), with a  loop to read out, if the actual user changed to the former user (that is one row above), and if so, write it into a log-like file with time-stamp, name of former user and name of actual user.

Of course the log-like file can be identical with the first file, it only makes it a bit harder to read out, when there are time-stamps.

Link to comment
Share on other sites

---

So there is one file
 

c:\Users\Public\Documents\Zeiss\CALYPSO 6.6\config\env\values

Search that periodically for "#lastUser

Link to comment
Share on other sites

---

Under Tools-Settings-Work Environment you have the option to specify who is automatically logged in when the program starts.

Edited
Link to comment
Share on other sites

---

Please sign in to view this quote.

Yes, we do that now. Auto logged in as Operator.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In
 Share

×
×
  • Create New...