logicAnalyzer

Monitor io logic level changes by sampling io.

request: init

path type conditions description
logic_analyzer.io[] pinSetting
  • required
 
logic_analyzer.interval number
  • required
  • 0 < value
 
logic_analyzer.duration integer
  • required
  • 0 < value
 
logic_analyzer.trigger.value boolean
  • required
start value 
logic_analyzer.trigger.samples integer
  • required
  • 0 ≤ value
how that values consists 

With below sample code, you will receive only data which start with 'false, false, false' 3bit.

// Json Example
[
    {
        "logic_analyzer": {
            "io": [ 0],
            "interval": 500,
            "duration": 500,
            "trigger": {
                "value": false,
                "samples": 3
            }
        }
    }
]

request: deinit

path type conditions description
logic_analyzer null
  • required
 
// Json Example
[
    {
        "logic_analyzer": null
    }
]

response: data

path type conditions description
logic_analyzer.data bitArray
  • required
 
//Response Example
[
    {
        "logic_analyzer": {
            "data": [0, 1, 1, 0, 0, 1, 1, 0]
        }
    }
]

type defines

bitArray

type conditions examples description
array
  • items
    • 0 ≤ value ≤ 1
  • [0, 1, 1, 0, 0, 1, 1, 0]
  • [0, 0, 1, 0, 0, 0, 0, 0]
Binary data array represented in 0 1. 

pinSetting

type conditions examples description
integer
  • 0 ≤ value ≤ 40
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
 

You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers

Forum

Visit our developer’s forum to discuss and discover technologies.

Forum

Contact

Feel free to contact out support and technical team.

Contact us