ON THIS PAGE

  • SystemLogger
  • How to place it
  • Inputs and Outputs
  • Usage
  • Examples of functionality
  • Reference

SystemLogger

SystemLogger node is used to get SystemInformation of the device.

How to place it

Python
C++
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)

Inputs and Outputs

Command Line
1/
2  ┌──────────────┐
3  │              │
4  │              │    out
5  │ SystemLogger ├────────►
6  │              │
7  │              │
8  └──────────────┘
Message types

Usage

Python
C++
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)
3logger.setRate(1)  # 1 Hz
4
5# Send system info to the host via XLink
6xout = pipeline.create(dai.node.XLinkOut)
7xout.setStreamName("sysinfo")
8logger.out.link(xout.input)

Examples of functionality

Reference

class

depthai.node.SystemLogger(depthai.Node)

method
getRate(self) -> float: float
Gets logging rate, at which messages will be sent out
method
setRate(self, hz: float)
Specify logging rate, at which messages will be sent out

Parameter ``hz``:
    Sending rate in hertz (messages per second)
property
out
Outputs SystemInformation message that carries various system information like memory and CPU usage, temperatures, ...

Need assistance?

Head over to Discussion Forum for technical support or any other questions you might have.