Petr Gotthard

Results 114 comments of Petr Gotthard

Which python-mercuryapi version do you use?

Hello. While doing a commit c1a18fec251abffab4fe3d4678b8c0490c8eac21 I discovered there was a bug causing the "Invalid action" error. You may want to check the latest master if you still need this.

Hello. Both functions work for me. In general, `RuntimeError` indicates an error from the reader, so you probably have a reader or a tag that does not support the argument/operation...

Alright, I found something: operations not using the read-plan (all write operations and tag_mem operations) depend on a protocol setting that was not configurable. This may be your issue. I...

For example, ```python mercury.Reader(uri, baudrate=115200, protocol="GEN2") ```

Negative, the following works for me: ```python reader = mercury.Reader("tmr:///dev/ttyUSB0", baudrate=115200, protocol = "GEN2") ``` I suspect you have two versions of the module installed, or you installed a wrong...

I always do `make` and then `sudo make install`. That's it. Once I had an issue with two different versions installed, when I installed one version, but python kept using...

Hello. Well, not all tags support all operations. The tag might be refusing the operation you are executing. I have encountered this when reading too much from a tag memory.

It is hard for me to debug this. The antenna number could also be a problem. Have you tried this? ```python reader = mercury.Reader(uri, protocol = "GEN2") reader.set_read_plan(reader.get(antennas), "GEN2" bank...