Project

General

Profile

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


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.

    (1-2/2)