Hey,
I recently installed FrontPanel 4.2.3 on Mac OS X Mountain Lion. Using the Python library I’m running some code to interact with an FPGA ( Spartan XC3S400) and this is code that works on Linux. Most things run fine on Mac OS X except any function that calls FrontPanel.ReadFromPipeOut returns the same error. I call the function as demonstrated:
b = ok.FrontPanel()
b.OpenBySerial("")
b.ReadFromPipeOut(0xA0, “0x00”)
I get the following Error:
Traceback (most recent call last):
File “”, line 1, in
File “ok.py”, line 249, in ReadFromPipeOut
def ReadFromPipeOut(self, *args): return _ok.FrontPanel_ReadFromPipeOut(self, *args)
TypeError: in method ‘FrontPanel_ReadFromPipeOut’, argument 3 of type ‘(char *data, int length)’
Any help would be greatly appreciated.