Nicolas Labriet

Results 17 comments of Nicolas Labriet

Sure! My boards each have a BeagleBone Black connected to emulate a USB key. The BBB and the board power can be controlled with the same resource type (ModbusTCPCoil). My...

> ..and use `labgrid-client -p yourplace add-named-match exportername/slot1/ModbusTCPCoil default` to name the resource. Maybe that's not documented well enough? Right, I overlooked the `add-named-match` command. I intended to use [sync-places.py](https://github.com/labgrid-project/labgrid/blob/master/contrib/sync-places.py),...

I changed my configuration to remove names from the exporter and set them in the coordinator with `add-named-match`. It works, except when I need to have 2 (or more) resources...

I am pretty happy with using drivers and resources names (I need this PR and the fix for #1173). With labgrid-client, having a place reserved, I can switch on the...

> I think I lost you somewhere in the discussion: Could you outline once again what this PR allows you to do, that does not work without it? It allows...

> With #1176, but without this PR the following is already possible: Right, I didn't get it, but the issue I faced was that `DigitalOutputPowerDriver` uses another driver (`ModbusCoilDriver`) which...

Well, it's actually more complicated. `labgrid-client` uses `target.get_driver()` and falls back to `_get_driver_or_new()`. The `name` given as parameter is then used to match a driver or a resource. In your...

> When looking at default handling, it is relatively clear what should happen when requesting a specific class, instead of a protocol, as all of them have the same priorities....

I like the template based on the place. It works well for my boards even when using tokens. And I will be able to use an environment file for each...

Right this works when setting `export LG_PLACE=board-1`, but it doesn't when reserving board-1, using a token and `export LG_PLACE=+` ``` $ labgrid-client -p board-1-bbb lock RemotePlace board-1-bbb not found in...