We are using the Python API, and we are successfully calling
OpenBySerial( )
and
ConfigureFPGA( )
in order to access the interface.
However, we having problems using okCFrontPanel_SetWireInValue( ).
We call:
import ok
BiasBoard = ok.okCFrontPanel
err = BiasBoard.SetWireInValue(int(0), int(1), int(65535))
After the call is made, we get:
NotImplementedError: Wrong number or type of arguments for overloaded function ‘okCFrontPanel_SetWireInValue’.
Possible C/C++ prototypes are:
okCFrontPanel::SetWireInValue(int,unsigned int,unsigned int)
okCFrontPanel::SetWireInValue(int,unsigned int)
Please advise on what needs to be done about the unsigned int values.