Project

General

Profile

Tietz 416

Added by Xing Meng over 10 years ago

Hi
The CAMC4.exe has no longer there.
I found a file called CAMC_F416.dll
I run
"REGSVR32 CAMC_F416.dll
is it OK?
Xing


Replies (4)

RE: Tietz 416 - Added by Anchi Cheng over 10 years ago

Xing,

CAMC should be there, according to TVIPS, if you can already run SerialEM and EM-Menu4, maybe just the name not quite what we described.

If this is an F416 camera, you should configure instruments.cfg on that computer to

[camera]
tietz.TietzF416

as the module and class loaded for the camera.

If you are still not sure, please post your full instruments.cfg here.

RE: Tietz 416 - Added by Xing Meng over 10 years ago

I checked there is no camc*.exe
I guess Camc4_F416.dll is right

is it F416 or FC416

but we set both FC416 or F416
C:\Python27\Lib\site-packages\pyscope>python updatecom.py
Generating .py files from type libraries...
initializing TEM Scripting
Traceback (most recent call last):
File "updatecom.py", line 54, in <module>
run()
File "updatecom.py", line 50, in run
makeFile(desc)
File "updatecom.py", line 29, in makeFile
print 'Error, cannot find typelib for "%s"' % descs
TypeError: not all arguments converted during string formatting

RE: Tietz 416 - Added by Xing Meng over 10 years ago

I did find camc4.exe

but
C:\Python27\Lib\site-packages\pyscope>python updatecom.py
Generating .py files from type libraries...
initializing TEM Scripting
Traceback (most recent call last):
File "updatecom.py", line 54, in <module>
run()
File "updatecom.py", line 50, in run
makeFile(desc)
File "updatecom.py", line 29, in makeFile
print 'Error, cannot find typelib for "%s"' % descs
TypeError: not all arguments converted during string formatting

And I think instrument.cfg
tietz.TietzF416?
not
tietz.TietzFC416
XIng

RE: Tietz 416 - Added by Anchi Cheng over 10 years ago

The updatecom.py error is a bug. I merged the fix from trunk to 3.0 branch. You can either update or copy directly from this download

http://emg.nysbc.org/projects/leginon/repository/raw/branches/myami-3.0/pyscope/updatecom.py

Since you won't have any other typelibs except CAMC4, you will see messages saying that they are not found but it will now print properly without crashing.

I updated the wiki Tietz_camera_installation_and_setup to reflect the change in output.

    (1-4/4)