-
E etantonio
Good evening,
I've an application baset on Mango 2.8.8 and using modbus over about 300
datapoints,I wnt to know the license price for commercial distribution of this
application.Thanks,
-
E etantonio
Using a Meta Data Source I think could be possible to format the date as I need but how I can then map to an epoch as required when the user for example change the hour?
-
E etantonio
Hi,
I've a modbus slave talking to mango 2.8.8 , I want to show on the web interface an epoch coming from the slave, I've done this using the datapoint renderingbut this is not a clean solution because:
- I can't show the right time including locale without showing the locale itself
- to modify the value on the slave I've to send to it an epoch and not a formatted date
What is the cleanest way to obtain this behaviour (modify an epoch on a modbus slave)?
Is there some example for this?
Thanks,
Antonio -
E etantonio
Hi,
In Mango 2.8.8 I've a string on 4 register in Modbus, I've used Mango automation "Fixed lenght string" data type to read there 4 register (8 characters) but the resulting string (HEB_DEFA) is showed reversed (AFED_BEH).
What is the simplest way to reverse this string and show HEB_DEFA?
This is also a read/write variable, so it must be possible to store the right value.
Thanks,
Antonio -
E etantonio
Good Morning,
In Mango 2.8.8 I want to format a unix datetime in Mango to take in account also the locale,
for example I've the following representation:Instead if possible I want to see directly the datetime 30/09/2020 13:49:52
The datapoint is defined this way
instead the html is just
<md-grid-tile class="gray"> <h5>{{BCKcurrentTime.renderedValue}}</h5> </md-grid-tile>
How can I have showed 30/09/2020 13:49:52 instead of 30/09/2020 15:49:52
Thanks,
Antonio -
E etantonio
Hi Fox and thanks for your answer,
the stm32 and it's mango are 400km away from me, I've not a so long cable to debug it using stlink, but maybe there's a way to do it over internet using openocd but I've to study about it, I was looking for a quick solution.
in Mango 2.8.8. the datapoint is defined asbut it is a float, I don't think it use character encoding Ascii.
It is modbus TCP.In any case I don't think it is a Mango problem but an STM32 FW bug because the datapoint is read_only.
For Mango just a bit of confuzione in the yellow fieldsFor me is important to undeestand the value that fall outside the IF statement
if (new_elevation_position[EL_MAIN] < 0.5f || new_elevation_position[EL_MAIN] > 89.5f){ ... bugManager(); }
-
E etantonio
I'm becoming crazy on this datapoint,
Elevation position have to be an angle between 0 and 90 degrees,
due to some bug that actually I can't discover, it happens that I've a strange value in Elevation Position,
it seems to be 0 but it is notin my C code connected to mango via Modbus, I've the following patch:
#define EL_MAIN 0
#define NUM_OF_ELEVATION_AXES 2
float new_elevation_position[NUM_OF_ELEVATION_AXES] = { 0.0, 0.0 };
if (new_elevation_position[EL_MAIN] < 0.5f || new_elevation_position[EL_MAIN] > 89.5f){
----
}but the stm32 doesn't enter inside the IF, so , how I can understand the value inside elevation_position? By my point of view a float container can only produce numbers, so there's no way to do not fall inside the IF.
Please share me your suggestment, it is no possible for me to see the raw value because the board is about 4000kms far away from me.
Thanks,
Antonio -
E etantonio
Thanks, at the end the problem was solved on network side, it was really too slow. Thanks
-
E etantonio
Hy, thanks for your answer, it is 2.8.4 version
-
E etantonio
Hi,
for some reason my remote network is really slow,
I'm trying to load my remote mango page but it is blocked by three jsis there a way to solve this problem? at least use cached version of these js?
Thanks,
Antonio