SystemLogger
SystemLogger node is used to get SystemInformation of the device.How to place it
Python
C++
Python
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)
Inputs and Outputs
Usage
Python
C++
Python
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)
3logger.setRate(1) # 1 Hz
4
5sysLogQueue = logger.out.createOutputQueue()
Examples of functionality
Reference
class
dai::node::SystemLogger
variable
Output out
Outputs SystemInformation[S3] message that carries various system information like memory and CPU usage, temperatures, ... For series 2 devices outputs SystemInformation message, for series 3 devices outputs SystemInformationS3 message
function
void setRate(float hz)
Specify logging rate, at which messages will be sent out
Parameters
- hz: Sending rate in hertz (messages per second)
function
float getRate()
Gets logging rate, at which messages will be sent out
function
void buildInternal()
inline function
DeviceNodeCRTP()
inline function
DeviceNodeCRTP(const std::shared_ptr< Device > & device)
inline function
DeviceNodeCRTP(std::unique_ptr< Properties > props)
inline function
DeviceNodeCRTP(std::unique_ptr< Properties > props, bool confMode)
inline function
DeviceNodeCRTP(const std::shared_ptr< Device > & device, std::unique_ptr< Properties > props, bool confMode)
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.