Node-Red: Function Hall Sensor Pulses to km/h

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น • 6

  • @edenilsoncarneiro6642
    @edenilsoncarneiro6642 2 ปีที่แล้ว

    Hello. rayou example to to freeze a certain value?

    • @ruwindustries
      @ruwindustries  2 ปีที่แล้ว

      What exactly do you mean by freeze?

    • @edenilsoncarneiro6642
      @edenilsoncarneiro6642 2 ปีที่แล้ว

      @@ruwindustries Thanks for answering. It would be like this: every hour I read the production value but freezing it in another variable to keep it historical. Example: 06hrs read 1200, 07hrs read 2400, 08hrs read 4500. I want to freeze this hourly value.

    • @ruwindustries
      @ruwindustries  2 ปีที่แล้ว +1

      You can push the current value to a history array - this adds the values to the end to the array

    • @edenilsoncarneiro6642
      @edenilsoncarneiro6642 2 ปีที่แล้ว

      @@ruwindustries Are you one example in canal?? Im beging in javascripit

    • @ruwindustries
      @ruwindustries  ปีที่แล้ว

      NO unfortunately not