Python XEM3010 GetPLLConfiguration bug?


#1

It seems like the GetPLLConfiguration() method of the XEM3010 python object is expecting the wrong PLL. When I try the code below with a PLL22303, it spits back a TypeError saying it wants a PLL22150. Is this a bug or am I doing something wrong?

import ok
xem = ok.XEM3010()
cyPLL = ok.PLL22393()
xem.GetPLLConfiguration(cyPLL)
Traceback (most recent call last):
File “”, line 1, in ?
File “ok.py”, line 155, in GetPLLConfiguration
def GetPLLConfiguration(*args): return _ok.FrontPanel_GetPLLConfiguration(*args)
TypeError: Type error. Got _p_okCPLL22393, expected _p_okCPLL22150


#2

Hi dirjud-

No, you are not doing anything wrong. This is a bug that has been fixed in the next revision (due Friday if all goes well). If you want an advance fix, please email support@opalkelly.com and we can send you the updated Python libs.


#3

I think I can wait until Friday.