AMS
  • What's AMS
  • Introduction
    • Features
    • AXView 3.0
      • Installation
    • MaaS
    • Hardware Platform Support List
  • Case Study
    • Automation
    • Environmental Signals
    • Energy Management
  • Snapshot Preview
    • AXView 3.0
    • MaaS
  • Data Processing
    • Source Setting
    • Flow-design
      • Core Nodes
        • Source_in
        • Source_out
    • Native Nodes
      • e-mail
    • Visualization Dashboard
  • FAQ
    • How to install nodes offline with npm-bundle?
    • How to configure the DDNS client on Linux
    • How to access hardware monitoring with dashboard?
    • How to change web service's port?
    • How to export configuration data?
    • How to change MQTT broker's port?
Powered by GitBook
On this page
  • Introduction
  • System information
  • DIO status
  • General Information
  • HWM result
  • IO status
  • Receiving Modbus devices data

Was this helpful?

  1. Data Processing
  2. Flow-design
  3. Core Nodes

Source_in

The data source of most things

PreviousCore NodesNextSource_out

Last updated 5 years ago

Was this helpful?

Introduction

This node allows you receive data form system or connected devices (such as Modbus sensors, PLC, etc.)

System information

source_inallow you get DIO status, General information, HWM result and IO status from device AXView

DIO status

You can get the digital input/output status in your computer by choosing sensor DIO, also, it'll show the pin define of GPIO. (1 means input, 0 means output)

Copy below text and import to Flow Design then see what happened.

[{"id":"4896d0cf.9719c","type":"source_in","z":"6b0f01f6.66298","device":"AXView - AXView","sensor":"DIO - DIO","x":170,"y":80,"wires":[["f33a6bb6.06a628"]]},{"id":"f33a6bb6.06a628","type":"debug","z":"6b0f01f6.66298","name":"","active":true,"console":"false","complete":"false","x":370,"y":80,"wires":[]}]

General Information

General Information shows the device's basic information, such as BIOS version, CPU module type, OS version and memory usage.

Copy below text and import to Flow Design then see what happened.

[{"id":"79660328.8bf80c","type":"source_in","z":"6b0f01f6.66298","device":"AXView - AXView","sensor":"General - General","x":180,"y":180,"wires":[["e3ae8d09.486a7"]]},{"id":"e3ae8d09.486a7","type":"debug","z":"6b0f01f6.66298","name":"","active":true,"console":"false","complete":"false","x":370,"y":180,"wires":[]}]

HWM result

Hardware monitor result shows the CPU temperature and system voltage.

Copy below text and import to Flow Design then see what happened.

[{"id":"85666e3f.d7f41","type":"source_in","z":"6b0f01f6.66298","device":"AXView - AXView","sensor":"HWM - HWM","x":170,"y":300,"wires":[["3502e0a8.5f5ec"]]},{"id":"3502e0a8.5f5ec","type":"debug","z":"6b0f01f6.66298","name":"","active":true,"console":"false","complete":"false","x":370,"y":300,"wires":[]}]

IO status

IO status shows the interface status of computer, including Product ID , Vendor ID and Manufacturer.

Copy below text and import to Flow Design then see what happened.

[{"id":"dea3bedd.b02d3","type":"source_in","z":"6b0f01f6.66298","device":"AXView - AXView","sensor":"IO - IO","x":160,"y":400,"wires":[["3b4463a2.8f4c0c"]]},{"id":"3b4463a2.8f4c0c","type":"debug","z":"6b0f01f6.66298","name":"","active":true,"console":"false","complete":"false","x":370,"y":400,"wires":[]}]

Receiving Modbus devices data

After create a device and setup the parameters of Modbus, AXView 3.0 will start auto polling, so you can get data of Modbus device by using source_in node, too.

If you connect the source_into debug node, it will shows the result of polling. By default, the data format are always hexadecimal in string, if you want to know the result of decimal, you have to transform it by using functionnode.

The code in the function node "Hex to Dec":

msg.payload = parseInt(msg.payload, 16);
return msg;

After transformation process, you'll get a decimal in number result.

source_in node in AXV_datasource section