JEOL 3200: 'module' object has not attribute 'TEM3'
Added by Neil Voss over 9 years ago
Setup: JEOL 3200, Gatan K2, Digital Micrograph 64-bit v2.31.734.0, Python v2.7.3 32bit
We had a working setup, but just upgraded from Ultrascan to K2, so we now have a brand new camera computer. K2 camera works fine under pyscope and can take images.
But pyScope fails to connect to microscope
from pyscope import jeolcom m = jeolcom.Jeol()
producing the following error.
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\pyscope\jeolcom.py", line 100, in __init__ self.tem3 = comtypes.client.CreateObject(temext.TEM3, comtypes.CLSCTX_ALL) AttributeError: 'module' object has no attribute 'TEM3'
I thought this was a TemExtReg problem. It seemed it was not installed on Camera computer, so I installed it using installer already on the computer in the JEOL folder.
Setup TemExtReg according to guide and based on (JEOL 1400 in other room). See attached photos.
Microscope IP 172.16.41.1
Microscope IP 172.16.41.2
Camera IP 172.16.41.3
TemExtReg Settings:
IP Address 172.17.41.1 (tried 172.17.41.2 as well)
Normal Port 2001
Notify Port 2010
Both the microscope and camera computers are connected via a router/switch.
Neil
Screen Shot 2015-04-10 at 3.47.44 PM.png (23.4 KB) Screen Shot 2015-04-10 at 3.47.44 PM.png | python error | ||
Screen Shot 2015-04-10 at 3.47.31 PM.png (12.4 KB) Screen Shot 2015-04-10 at 3.47.31 PM.png | camera ipconfig | ||
Screen Shot 2015-04-10 at 3.47.20 PM.png (10.1 KB) Screen Shot 2015-04-10 at 3.47.20 PM.png | camera temextreg | ||
IMG_1430-jeol3200.JPG (2.26 MB) IMG_1430-jeol3200.JPG | microscope ipconfig | ||
IMG_1426-temserver3200.JPG (3.8 MB) IMG_1426-temserver3200.JPG | microscope temserver |
Replies (2)
RE: JEOL 3200: 'module' object has not attribute 'TEM3' - Added by Neil Voss over 9 years ago
I think I figured it out. The TEMEXTLib file was generated before TemExtReg was installed. So I renamed the file and it generated a new one that works.
On to the next issue.
Screen Shot 2015-04-10 at 4.16.55 PM.png (121 KB) Screen Shot 2015-04-10 at 4.16.55 PM.png | generated new TEMEXTLib |
RE: JEOL 3200: 'module' object has not attribute 'TEM3' - Added by Neil Voss over 9 years ago
Just to confirm leginon connects now.