Only 8 out of 16 bits gets updated in Python


#1

It looks like only 8 out of 16 bits gets updated
in Python interface to the UpdateWireIns() method

I am using latest FronPanel API (version 1.2.3), Python 2.4
and I connected all 16 bits to the data bus in the UCF file

C++ program works fine. I am having problem only with
Python version.

Thanks,
Pavel


#2

Hi Pavel-

Thanks for pointing this out. This bug has been fixed and will be provided in the next release.

In the meantime, you can provide a third argument to SetWireInValue(…) that provides the mask. Use “0xffff” to have all 16-bits updated. It was mistakenly set to 0xff in the current version