Project

General

Profile

CCD camera missing

Added by Bob Grassucci over 13 years ago

On Legion server, we are not able to import presets because the ccd camera is not lsited in the pull-down menu, under application MSI-T->presets_manager node. This only happens when a non-administrator user logs on the microscope PC. We installed legion on the microscope PC under a user with administrator previlidge. When switching to a normal user on the microscope PC, then the CCD camera is not listed on the Leginon server.

Which files on the microscope PC should we change the user permission? All configuration fils, legion.cfg, sinedon and instrument, are readable by all users on the PC.


Replies (2)

RE: CCD camera missing - Added by Jim Pulokas over 13 years ago

When this happens, are any exceptions raised in the python terminal output window?

I think this might be related to the CAMC4 problems that we discussed previously. You may be able to discover the specific problem by starting a python command line and attempting to connect to the camera. If I remember correctly, you are using TietzSCX, otherwise, change this accordingly:

import pyscope.tietz
cam = pyscope.tietz.TietzSCX()
image = cam.getImage()

Then see what exceptions get raised. If it fails, try it a few times to see if it only happens occasionally. Maybe CAMC4 is not starting or stopping properly? Maybe only the administrator has permission to start/stop CAMC4? I am not sure what would cause this.

RE: CCD camera missing - Added by Bob Grassucci over 13 years ago

So we killed camc4.exe with the task manager and logged out of the administator account. Logged into a leginon user account and ran the python commands as you asked. The error we got is attaached (cam4-error.txt). We changed the permissions for the gen_py directory and the file dicts.dat so that users can write to it. This seemes to have stopped the error reported and allows access to the camera. An interseting thing happens when I start camc4.exe using TIA. It creates a camc4.exe process owned by system which does not stop when TIA is exited. See image of task maanager (2-camc4-tasks.jpg). The camera is still visable from the leginon program with 2 camc4 processes running and the leginon owned camc4.exe is shut down when the launcher is closed but not the one owned by system that was started by TIA. Thanks.
Bob

    (1-2/2)