win32com, access of 2-dimensional Property
Markus von Ehr
markus.vonehr at ipm.fhg.de
Tue May 14 11:22:25 EDT 2002
Hi,
I use an ActiveX Interface for an Apogee camera.
The code works, the only problem I have is to
retrieve the Image data which is a twodimensional
ReadOnly Property of Data Type Variant.
Does Anybody know how to access these types?
This doesnt work: cam.Image(100, 100), cam.Image("100", "100")
neither cam.Image[100, 100]
Thanks for any suggestions!
Markus
The code looks like that:
###############################
import win32com.client
cam = win32com.client.Dispatch("Apogee.Camera")
cam.Init("c:\Programme\Python20\Apogee\kx1.ini")
cam.CoolerMode = 2
# cam.Expose(1, true) #does not work
cam.Expose(1, 1) # works, correct ?
cam.Image(100, 100) # does not work
More information about the Python-list
mailing list