[python-win32] Reading custom output parameters from LabVIEW/ActiveX

Ola Rylow Ola.Rylow at hiq.se
Thu Nov 3 08:25:44 CET 2005


Hi!

I'm running LabVIEW as a ActiveX server and access it from Python (which is
a quit new language for me). Now I have encountered a problem when trying to
read an output control that is a RefNum (actually a strict type def that I
think is based on a DataLogRefNum containing a Enum). I get the following
error message: "pywintypes.com_error: (-2147352567, 'Exception occurred.',
(0, None, None, None, 0, -2147352571), 2)" 

Has anyone experience of reading LabVIEW RefNums controls using ActiveX from
Python? 
Or any other comments on problems when reading custom output parameters from
COM object? How do you handle parameters of "unknown" type?

Thanks! 

Ola


More information about the Python-win32 mailing list