Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Scoobsalamander
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 33
    • Best 0
    • Groups 0

    Scoobsalamander

    @Scoobsalamander

    0
    Reputation
    208
    Profile views
    33
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Hulshout (Belgium) Age 46

    Scoobsalamander Follow

    Latest posts made by Scoobsalamander

    • Initialization of string in REXLANG

      I got this warning in the Compiler Window but everything is working fine :

      "Warning compiling file 'WasteSrcfile.c' (line 30): variable 'stringTemp' is used without initialization"
      

      The initialization was one like this :

      char stringTemp[80];
      

      Something like this, to initialize an empty string will not work :

      char stringTemp[80] = "";
      posted in REXYGEN Studio
      S
      Scoobsalamander
    • RE: SHIFTOCT - persistent parameters

      @cechurat No problem, workarounds are possible and and it's good to have some extra challenges. 🙂

      But if the checkbox for 'persistent parameters' is there then I assume it is an existing feature.

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • SHIFTOCT - persistent parameters

      I am using the SHIFTOCT function block to store every 24hr the counter of my energy meter to get some history of the last 7 days.
      But even with the persistent parameters box checked I lose all data after rebooting and/or downloading a new configuration.

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • RE: AVG - Moving average - number of samples?

      @cechurat ... this would mean that if I add a task in the future the timing might not be correct anymore.
      Would it not be better that this can be configured with timing (e.g. seconds, minutes, days,.....) instead of a certain amount of samples?

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • RE: AVG - Moving average - number of samples?

      @cechurat
      So, thus this mean that with the below settings I need 1800 samples for a 15min running average, correct? (50msx10 --> every 0,5s a sample)

      6b7cc2a0-3907-485d-9b53-94daae05be31-image.png

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • RE: Json string parsing problem

      @cechurat
      No problem, Node-Red is always good for a (temporary) work around.

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • AVG - Moving average - number of samples?

      I want to know the 15min running average of a signal which is updated every second.
      Do I enter '900' for the parameter 'n' in the AVG FB or is this related to the tick parameter set in FB EXEC?

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • Json string parsing problem

      I have problems with parsing a string with the FB PJSOCT , somehow it is not detecting the values like "0-0:96.1.4" :

      {
        "0-0:96.1.4": {
          "medium": 0,
          "channel": 0,
          "measurement": 96,
          "measureType": 1,
          "tariffRate": 4,
          "rawValue": "50215",
          "values": [
            {
              "value": 50215,
              "unit": ""
            }
          ]
        },
        "0-0:96.1.1": {
          "medium": 0,
          "channel": 0,
          "measurement": 96,
          "measureType": 1,
          "tariffRate": 1,
          "rawValue": "3153414731313030313530393931",
          "values": [
            {
              "value": "3153414731313030313530393931",
              "unit": ""
            }
          ]
        },
        "0-0:1.0.0": {
          "medium": 0,
          "channel": 0,
          "measurement": 1,
          "measureType": 0,
          "tariffRate": 0,
          "rawValue": "210217192713W",
          "values": [
            {
              "value": "210217192713W",
              "unit": ""
            }
          ]
        },
        "1-0:1.8.1": {
          "medium": 1,
          "channel": 0,
          "measurement": 1,
          "measureType": 8,
          "tariffRate": 1,
          "rawValue": "000987.072*kWh",
          "values": [
            {
              "value": 987.072,
              "unit": "kWh"
            }
          ]
        },
        "1-0:1.8.2": {
          "medium": 1,
          "channel": 0,
          "measurement": 1,
          "measureType": 8,
          "tariffRate": 2,
          "rawValue": "001143.964*kWh",
          "values": [
            {
              "value": 1143.964,
              "unit": "kWh"
            }
          ]
        },
        "1-0:2.8.1": {
          "medium": 1,
          "channel": 0,
          "measurement": 2,
          "measureType": 8,
          "tariffRate": 1,
          "rawValue": "000335.376*kWh",
          "values": [
            {
              "value": 335.376,
              "unit": "kWh"
            }
          ]
        },
        "1-0:2.8.2": {
          "medium": 1,
          "channel": 0,
          "measurement": 2,
          "measureType": 8,
          "tariffRate": 2,
          "rawValue": "000139.145*kWh",
          "values": [
            {
              "value": 139.145,
              "unit": "kWh"
            }
          ]
        },
        "0-0:96.14.0": {
          "medium": 0,
          "channel": 0,
          "measurement": 96,
          "measureType": 14,
          "tariffRate": 0,
          "rawValue": "0001",
          "values": [
            {
              "value": "0001",
              "unit": ""
            }
          ]
        },
        "1-0:1.7.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 1,
          "measureType": 7,
          "tariffRate": 0,
          "rawValue": "00.665*kW",
          "values": [
            {
              "value": 0.665,
              "unit": "kW"
            }
          ]
        },
        "1-0:2.7.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 2,
          "measureType": 7,
          "tariffRate": 0,
          "rawValue": "00.000*kW",
          "values": [
            {
              "value": 0,
              "unit": "kW"
            }
          ]
        },
        "1-0:21.7.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 21,
          "measureType": 7,
          "tariffRate": 0,
          "rawValue": "00.665*kW",
          "values": [
            {
              "value": 0.665,
              "unit": "kW"
            }
          ]
        },
        "1-0:22.7.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 22,
          "measureType": 7,
          "tariffRate": 0,
          "rawValue": "00.000*kW",
          "values": [
            {
              "value": 0,
              "unit": "kW"
            }
          ]
        },
        "1-0:32.7.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 32,
          "measureType": 7,
          "tariffRate": 0,
          "rawValue": "231.6*V",
          "values": [
            {
              "value": 231.6,
              "unit": "V"
            }
          ]
        },
        "1-0:31.7.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 31,
          "measureType": 7,
          "tariffRate": 0,
          "rawValue": "003.50*A",
          "values": [
            {
              "value": 3.5,
              "unit": "A"
            }
          ]
        },
        "0-0:96.3.10": {
          "medium": 0,
          "channel": 0,
          "measurement": 96,
          "measureType": 3,
          "tariffRate": 10,
          "rawValue": "1",
          "values": [
            {
              "value": 1,
              "unit": ""
            }
          ]
        },
        "0-0:17.0.0": {
          "medium": 0,
          "channel": 0,
          "measurement": 17,
          "measureType": 0,
          "tariffRate": 0,
          "rawValue": "999.9*kW",
          "values": [
            {
              "value": 999.9,
              "unit": "kW"
            }
          ]
        },
        "1-0:31.4.0": {
          "medium": 1,
          "channel": 0,
          "measurement": 31,
          "measureType": 4,
          "tariffRate": 0,
          "rawValue": "999*A",
          "values": [
            {
              "value": 999,
              "unit": "A"
            }
          ]
        },
        "0-0:96.13.0": {
          "medium": 0,
          "channel": 0,
          "measurement": 96,
          "measureType": 13,
          "tariffRate": 0,
          "rawValue": "",
          "values": [
            {
              "value": "",
              "unit": ""
            }
          ]
        }
      }
      

      5ff42898-d88b-437a-a926-e2d43f4c4ca9-image.png

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • RE: Licence problem : 'Required platform doesn't exist'.

      @rpisl said in Licence problem : 'Required platform doesn't exist'.:

      Hi,
      you installed 64bit version of Linux and the licensing mechanism can't handle your RPi model correctly yet. It would be very helpful for us if you could send us output from commands "uname -a" and "cat /proc/cpuinfo". Thank you.

      686d83b5-71ad-4076-86a1-02f60ef8a799-image.png

      0ae437e7-74f6-4f16-a323-1fa412f07678-image.png

      posted in REXYGEN Studio
      S
      Scoobsalamander
    • RE: picture as background

      @ondrej_severa Thanks, solution 1 is working fine. With solution 2 I have problems with the permission to write to this location.

      posted in REXYGEN HMI Designer
      S
      Scoobsalamander