list IODEV=xxxxx funktioniert nicht

Begonnen von roedert, 13 Oktober 2014, 22:13:35

Vorheriges Thema - Nächstes Thema

roedert

Zitat aus der Commandref:

Device specification (devspec)

The commands attr, deleteattr, displayattr, delete, get, list, set, setreading, setstate, trigger can take a more complex device specification as argument, which will be expanded to a list of devices. A device specification (short devspec) can be:
a single device name. This is the most common case.
a list of devices, separated by comma (,)
a regular expression
a NAME=VALUE pair, where NAME can be an Internal value like TYPE, a Reading-Name or an attribute. VALUE is a regexp. To negate the comparison, use NAME!=VALUE
if the spec is followed by the expression :FILTER=NAME=VALUE, then the values found in the first round are filtered by the second expression.


Trotzdem liefert ein list IODev=CUNO keine Ergebnisse - nicht für Devices, die das IODev automatische als Internal gesetzt haben und auch nicht wo IODev explizit als attr gesetzt ist.

Komischerweise liefert aber ein list IODev=.* jede Menge Devices.