NodeInfo#
- class NodeInfo(node: Node)[source]#
Bases:
object
Class that holds the additional information for a single node.
LabOne provides for each leaf node a dictionary of so called node info (In addition toolkit or the user may also add some information for selected nodes). This class wraps around these information and exposes them to a user in a friendly way.
During the initialization is fetches the relevant information from the root of the nodetree and stores them internally.
- Parameters:
node (Node) – A node the information belong to.
Changed in version 0.5.0: Add support for signals in sample nodes. The daq module of LabOne supports subscribing to signals of samples nodes directly. They can be specified by appending them with a dot to the node path (e.g. /dev1234/demods/0/sample.x). The change now support these signals natively in the nodetree.
Methods
get_parser
(value)Parse the get value.
set_parser
(value)Parse the set value.
Attributes
alias of TypeVar('T')
Flag if the node contains wildcards.
Description of the node.
Enum of the node options.
Flag if the node is a partial node (non-leaf node).
Flag if the node is setting node.
Flag if the value of the node a vector.
Options of the node.
Path (LabOne representation) of the node.
Flag if the node is readable.
Type of the node.
Unit of the node.
Flag if the node is writable.