• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Jorge Gonzalez
    3. Posts

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 23
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Jorge Gonzalez

    • RE: Script to convert from Hex to Dec

      @craigweb said in Script to convert from Hex to Dec:

      return parseInt(p.value, 16)

      Thanks so much Craig, but it didnt work. please let me to explain You:
      the hex data is arriving as 13:32 (it is Hex 1332, so must be in Dec Value=4194)
      With your Script I got the Dec value from just the first number (Hex13 =Dec19)
      this device send a string like 13:30:27:14:01:33:02:6c:02:76.
      then I need to get
      13:32:4194
      27:14=10000
      01:33=307
      02:6c=620
      02:76=630

      After i get the values, then we will need to scale it:
      41950,01=41,95
      (10000
      0.1)-1000=0
      3070.1=30,7
      (620
      0.1)-40=22
      (630*0.1)-40=23

      I understand how to define a script to multiply, but some data need to be multiply and the final result will be minus 40, for example:
      Data 02:76 = Hex630= ((630*0,1)-40)=23

      As you can see im in a problem, please could you support me

      In advance thanks so much
      Jorge G

      posted in How-To
      J
      Jorge Gonzalez
    • Script to convert from Hex to Dec

      Hello, the snmp device send the data in hexadecimal format for example: Battery voltage = 12:7D, I want to solve it with a Metadata Source, but I dont have information how I can create a script.
      Please could You Help me with this script and could you share information about how to create scripts???.
      In advance, thanks so much

      Jorge G

      posted in How-To
      J
      Jorge Gonzalez
    • RE: Send a password every Five min

      Thanks Craig,
      was Change the cron to 0 0/5 * * * ?
      When I press validate icon appear: (ReferenceError: "passwordPointp385" is not defined in at line number 1)
      I need to put every one data point in the script?,
      If your answer is Yes, it means that I need to repeat thsi script for every one datapoint.?
      Is correct how i wrote the scripts?
      passwordPointp385.set(0xdeadbeef); //send this hexidecimal value as a set to the register
      passwordPointp386.set(0xdeadbeef); //send this hexidecimal value as a set to the register
      if the customer change the current password, how we will get the new hex value?
      I will appreciate so much your support

      thanks, Jorge G

      posted in How-To
      J
      Jorge Gonzalez
    • RE: Send a password every Five min

      Sorry Didnt work, please let me to explain You.
      The controller have 12 Batteries.
      Each batteries need the password
      Each password must be "0000".
      Can créate just one scripting datasource for all batteries?
      Where I can check that the password is (0000), without brackets?
      I need to change something in every original point (Write Type: Not settable)
      Please could You check, because i have some thing wrong
      0_1547849915936_Scripting DSource.png

      In advance thanks so much

      Jorge G

      posted in How-To
      J
      Jorge Gonzalez
    • Send a password every Five min

      Hello, please Your support, there is a controller that need to receive a pasword every time that i need to get information, I send once it manually. but if i lost the communication for more tan 5 minutes the controller need again this password
      0_1547832314465_Resend Password.png . 0_1547832198686_Password.png
      I créate a point but didnt work. how i can send this password every 5 min???
      Please Your support

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to Add a Html link in Graphic Views

      Hi Phil, it is very easy, the customer have a controller with a internal web server(if I put the ip address in a browser then I will connect with the controller)
      0_1546630001403_HTML Link_3.jpg
      0_1546630251693_HTML Link_4.jpg

      let me to ask, Is not posible to have a Link component in the graphics view, think that the most of controllers have a connection by internet browser (Firefox or IExplorer or another).

      At the end, please i will try to add a link....

      thanks so much Phil

      Jorge G

      posted in How-To
      J
      Jorge Gonzalez
    • How to Add a Html link in Graphic Views

      Our experience in this platform started with ScadaBR, in our graphic views usually we use a link (it is to open a web view)
      When we wanted to apply this feature in Mango Automation Platform it doesnt exist..
      1_1546627789259_HTML Link_2.jpg 0_1546627789259_HTML Link.jpg
      Please could You tell me how or where we can found the “Link” graphic view components.

      In the picture You can see how our customer see every controller, in a graphic view. (they doing a right click over the link, could connect with the controller)

      Please could You give me Your support, Ineed to add a HTML Link to Graphic view

      In advance thanks so much

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to divide or multiply a SNMP Value

      Thanks so much, with Your script, now it is working... it is the most important thing, because the customer is testing this Scada platform.

      Soon We will start checking what happen with this controller and them kind of SNMP Data.
      Again, thanks for Your support

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to divide or multiply a SNMP Value

      see it please, now i change again from numeric type to multistate type. now is working0_1544645824168_Alphanumeric Value_last.png
      Please could You tellme how to make a script.

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to divide or multiply a SNMP Value

      Hello, Phil. I check it and the integers work as numeric but gauge didnt work as numeric
      0_1544640518896_SNMP Gauge and numeric.png
      Coudl I make a meta data source and add a script that divide in 10 or multiply for 0.1???

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to divide or multiply a SNMP Value

      Phil, I change the type to numeric, i lost the values...0_1544565722588_SNMP Gauge to numeric.png

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to divide or multiply a SNMP Value

      I will check, but its not Numeric0_1544564581208_SNMP Gauge.png

      posted in How-To
      J
      Jorge Gonzalez
    • RE: Create a new numeric Datapoints from alphanumeric datapoint

      Thanks so much, You are right, we check it and it work. Thank You
      The other script... will be for the oficial integration.
      till now we are showing to the customer that the platform can work with their controller

      posted in How-To
      J
      Jorge Gonzalez
    • RE: How to divide or multiply a SNMP Value

      Phii, I check it, but is Multistate
      0_1544560626905_Snmp Multistate.png
      In the other thread, tha value is alphanumeric.

      please Your support

      Thanks in advance

      posted in How-To
      J
      Jorge Gonzalez
    • How to divide or multiply a SNMP Value

      some controllers send values that are wrong, because the value came without decimal point, just we have two options:
      Divide for 10 or multiplicate for 0,1
      0_1544558407938_SNMP value without scale.png
      Please i need the script expresión to get the real value

      posted in How-To
      J
      Jorge Gonzalez
    • RE: Create a new numeric Datapoints from alphanumeric datapoint

      Dear Phil, I made some tests with some values and it work.. even it must be done one by one value. (i think there are more than 800 different values).

      Phil. please what we need now to add something to the script to multiplying the final value x20. It is because the value is %, I think that will be better, if it is shown as a number i.e. 70% = 20x70=1400

      posted in How-To
      J
      Jorge Gonzalez
    • RE: Create a new numeric Datapoints from alphanumeric datapoint

      Thanks so much Phil, I will check Your sugestion, I guess that it may work... thanks again

      I will keep in touch about it

      posted in How-To
      J
      Jorge Gonzalez
    • Create a new numeric Datapoints from alphanumeric datapoint

      There are 110 controller, where every data come with the units, I mean for example starting voltage battery: 13.7V, engine temperature 47,0celsius, etc
      • All data are SNMP
      • The type of data is OctectString (it from MIB File)
      • In Mango Scada every data points is configured as Alphanumeric type and Not Settable
      • All information is getting with out problema.

      The problem is that with this kind of data (Alphanumeric), is not possible to get a graph also is not possible to configure limits alarms maximum or minimum. (Event detector)

      Question, If I have and get all information, ¿could I have any way to change all this information from Alphanumeric to Numeric??
      Im thinking or guess is possible to use some virtual datasources where datapoint values will be obtained from this alphanumeric information… 0_1544013662101_Alphanumeric Value.png

      posted in How-To
      J
      Jorge Gonzalez
    • RE: "SNMP Host Testing"

      Hi, thanks so much for Your support, You are right with alphanumeric type i got the values... now i need to check why with another type as octetct string didnt work. I will back soon with this issue.

      thanks so much again
      Jorge G

      posted in How-To
      J
      Jorge Gonzalez
    • RE: "SNMP Host Testing"

      let me to ask You, how I get the correct infomation for any OID with SNMP Host Testing??
      I have made all combinations with DataType and Set Type without results, but i put the OID in SNMP Host Testing and it work without problem.

      posted in How-To
      J
      Jorge Gonzalez