Difference between revisions of "Plugin:sigrok"

From collectd Wiki
Jump to: navigation, search
(Create initial page.)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The '''sigrok plugin''' …
 
The '''sigrok plugin''' …
 +
 +
{{Infobox Plugin
 +
  | Name=sigrok
 +
  | Type=read
 +
  | Callbacks={{Callback|config}}, {{Callback|init}},{{Callback|shutdown}}
 +
  | Status={{supported}}
 +
  | FirstVersion={{Version|5.4}}
 +
  | Copyright=''2013'' Bert Vermeulen
 +
  | License={{GPLv2+}}
 +
  | Manpage={{Manpage|collectd.conf|5|plugin_sigrok}}
 +
}}
 +
== Description ==
 +
 +
The ''sigrok'' project aims at creating a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite that supports various device types, such as logic analyzers, MSOs, oscilloscopes, multimeters, LCR meters, sound level meters, thermometers, hygrometers, anemometers, light meters, DAQs, dataloggers, function generators, spectrum analyzers, power supplies, GPIB interfaces, and more.
 +
 +
The '''sigrok plugin''' is a fully fledged ''libsigrok'' client, and can use any supported hardware to feed measurements to collectd. Only analog sources are supported.
 +
 +
Hardware supported by ''libsigrok'' generally provides samples at much higher than 1Hz. The default output plugin in ''collectd'', [[Plugin:RRDtool|RRDtool]], cannot deal with updates more than once per second, so the <code>MinimumInterval</code> keyword is recommended in this case.
 +
 +
== Synopsis ==
 +
 +
collectd configuration:
 +
 +
<Plugin "sigrok">
 +
    LogLevel 3
 +
    <Device "Sound level">
 +
        Driver "cem-dt-885x"
 +
        Conn "/dev/ttyUSB3"
 +
        MinimumInterval 1
 +
    </Device>
 +
    <Device "Temperature">
 +
        Driver "uni-t-ut32x"
 +
        conn "1a86.e008"
 +
        MinimumInterval 1
 +
    </Device>
 +
</Plugin>
 +
 +
 +
== Example graphs ==
 +
 +
[[Image:sigrok-spl.png]]
 +
[[Image:sigrok-temp.png]]
 +
 +
== Dependencies ==
 +
 +
* [http://sigrok.org/wiki/Libsigrok libsigrok]
 +
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 +
{{DEFAULTSORT:sigrok}}

Latest revision as of 01:31, 12 March 2020

The sigrok plugin

sigrok plugin
Type: read
Callbacks: config, init,shutdown
Status: supported
First version: 5.4
Copyright: 2013 Bert Vermeulen
License: GPLv2+
Manpage: collectd.conf(5)
List of Plugins

Description

The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite that supports various device types, such as logic analyzers, MSOs, oscilloscopes, multimeters, LCR meters, sound level meters, thermometers, hygrometers, anemometers, light meters, DAQs, dataloggers, function generators, spectrum analyzers, power supplies, GPIB interfaces, and more.

The sigrok plugin is a fully fledged libsigrok client, and can use any supported hardware to feed measurements to collectd. Only analog sources are supported.

Hardware supported by libsigrok generally provides samples at much higher than 1Hz. The default output plugin in collectd, RRDtool, cannot deal with updates more than once per second, so the MinimumInterval keyword is recommended in this case.

Synopsis

collectd configuration:

<Plugin "sigrok">
   LogLevel 3
   <Device "Sound level">
       Driver "cem-dt-885x"
       Conn "/dev/ttyUSB3"
       MinimumInterval 1
   </Device>
   <Device "Temperature">
       Driver "uni-t-ut32x"
       conn "1a86.e008"
       MinimumInterval 1
   </Device>
</Plugin>


Example graphs

Sigrok-spl.png Sigrok-temp.png

Dependencies