Python Script Link.Talise.InitClocks() TypeError

Hello!

I exported the python script for Config from TES GUI (Tools -> Create Script -> Python). I could successfully create an AdiCmdServerClient instance and connect to the Zynq platform. I have not changed anything, and I got stuck at line 45

Link.Talise.InitClocks(1, 122880, 9830400, 2, Talise.HsDiv.HsDiv2p5)

The error message is

TypeError Traceback (most recent call last) <ipython-input-35-97b55e4aafdd> in <module>

1 Link.Talise.InitClearProfiles()

----> 2 Link.Talise.InitClocks(1, 122880, 9830400, 2, Talise.HsDiv.HsDiv2p5)

TypeError: No method matches given arguments for InitClocks: (<class 'int'>, <class 'int'>, <class 'int'>, <class 'int'>, <class 'int'>)

I guess it asks for the inputs of  type 

import inspect
inspect.getdoc(Link.Talise.InitClocks)

'Void InitClocks(Byte, UInt32 ByRef, UInt32 ByRef, Byte ByRef, HsDiv ByRef)\r\nVoid InitClocks(UInt32, UInt32, Byte, HsDiv)'

I have tried to use the numpy package to change the type but I don't think numpy.uint32 matches UInt32 ByRef.

Link.Talise.InitClearProfiles()
Link.Talise.InitClocks(bytes(1), np.uint32(122880), np.uint32(9830400), bytes(2), Talise.HsDiv.HsDiv2p5)

The error message is 

TypeError: No method matches given arguments for InitClocks: (<class 'bytes'>, <class 'numpy.uint32'>, <class 'numpy.uint32'>, <class 'bytes'>, <class 'int'>)

How can I fix it? What type should I put for Talise.HsDiv.HsDiv2p5?

Thanks!!

Best,

Rainie