niermann / temscript

Python wrapper for the scripting interface of Thermo Fisher Scientific and FEI microscopes.
Other
42 stars 14 forks source link

COMError on unknown holder #2

Closed niermann closed 2 years ago

niermann commented 4 years ago

If during a specimen holder exchange no holder is selected (yet), querying Stage.Holder returns a COMError 0x8004ffff. This is most likely an undocumented behaviour of the TEM scripting interface. Nevertheless, temscript should try to handle this case gracefully, e.g. return None or add an special value for this in the holder enumeration.

niermann commented 2 years ago

Documented this as known issue of the scripting interface in commit fb1982b