Напишите здесь описание Вашего форума ...
0
Answered

iRidium Studio sub-menu font size

JoshG 8 months ago in Bugs and problems updated by Aleksandr Romanov (CTO) 4 months ago 4

Font size in iRidium Studio (x64) is very small, and can't be changed using any of the following methods:

- Via Tools>Options>Workspace

- Via Windows10 display settings

- Via Windows10 registry settings (for menu size)

I am using Windows10 on a mac via bootcamp.

Here is a screengrab:


0
Under review

ClearTimeout

Naeem 8 months ago in Bugs and problems updated by Vladimir Ovchinnikov 8 months ago 1

Is it possible to reset/restart a timeout once an event happens again?
Normally I would use the ClearTimeout command but in iRidium this does not work.

0
Under review

Persistant Virtual Server Variables : how to get them working?

Dennis Piet 8 months ago in Bugs and problems updated by Vladimir Ovchinnikov 8 months ago 4

For a parkingsystem I use some Virtual Commands / Channels in combination with Feedback / Tags to store the maximum capacity of a parking.

For example, for Parking 1, I have

Server.Channels.P1_Capacity

and

Server.Tags.P1_Capacity


As per the manual I have connected them with the virtual_to_virtual in the script modifier of the channel (and now with newer Iridium Studio version I can also use Forward Value To for this)

I have set the Persist property of Server.Tags.P1_Capacity to true.

Expected behavior : after server reboot (or restart after powerloss), the Capacity variables keep their last know value.

Actual Behavior : after restart, all Capacity variables are 0  , so the parking manager has to fill in the capacities again for all 6 parkings.

How can I fix this???

Just to try and understand what is happening, I removed the virtual_to_virtual relation (or the forward) and then manually set the value of the feedback through the webinterface.  Now, when I restart the server, the value persists.

So, I guess the problem is the persisting feedback is overwritten by a 0 value coming from the command just after startup of the server?

0
Under review

Iridium server NOT starting

HerrGenius 9 months ago in Bugs and problems updated by Vladimir Ovchinnikov 9 months ago 9

Dear all, 

During the installation of Iridium Mobile server on my raspberry PI i received following errors when I try to run the script "iridium": ERROR    CORE          project file does not exist. 

This file above comes from the logging directory. Anybody any ideas how to solve this issue? 

0
Under review

i3 Pro crashed with SIP

anaximandre 1 year ago in Bugs and problems updated by Arina Kiselyova 1 year ago 2
0
Under review

feedback and invert feedback

jos 1 year ago in Bugs and problems updated by Vladimir Ovchinnikov 1 year ago 1

I have a project with a trigger button which triggers an KNX relay which is assigned normally closed. so if i send 1 the feedback will be 0 and vica versa. This gives a problem with the trigger button because it gets feedback 0 and so wants to send 1 but the relay already got 1 so does nothing and by another press it will send 0 and then the relay will change and gives feedback 1 and so on. I thought when if change feedback from channel to invert channel this would solve the problem, but this doesn't change anything. How do i solve this and what is the difference between feedback channel and invert channel ?

0
Not a bug

new XML possible bug

Kris 1 year ago in Bugs and problems updated by Vladimir Ovchinnikov 1 year ago 4

Hi,

I am trying to fetch RSS weather data from BBC Weather - https://weather-broker-cdn.api.bbci.co.uk/en/observation/rss/2643743

I have written a code based on other topic on the forum: https://support.iridiummobile.net/communities/18/topics/13554-create-a-tv-guide-xmltv and I came across the same problem with new XML returning null.

This is my code:

IR.AddListener(IR.EVENT_START,0,function()
{
   BBCWRSS.request(); 
});


var BBCWRSS = {};
BBCWRSS.dev =  IR.CreateDevice(IR.DEVICE_CUSTOM_HTTP_TCP, 'BBCWRSS_dev',
    {Host: "weather-broker-cdn.api.bbci.co.uk",
        Port: 80,
        SSL: false,
        ScriptMode: IR.DIRECT_AND_SCRIPT,
        SendCommandAttempts: 0,
        ConnectWaitTimeMax: 3000,
        ReceiveWaitTimeMax: 5000
    });
    
BBCWRSS.request = function (in_callback){
    BBCWRSS.dev.Connect();
        BBCWRSS.dev.SendEx({
            Type: "GET",
            Url: "/en/observation/rss/2643743",
            cbReceiveText: function (text, code, headers) {
                
                if (code != 200) return;
                var resp = new XML(text);
                IR.Log("RESPONSE TEXT:" +text);
                IR.Log("RESPONSE CODE:" +code);
                IR.Log("RESPONSE HEADERS:" +JSON.Stringify(headers));
                IR.Log("RESPONSE RESP XML:" +resp);
                //BUG: new XML returns null
                BBCWRSS.dev.Disconnect();            
                //in_callback(resp);            
                },
            });
}

Can anyone advise on this?

Thanks!

0
Answered

Modbus TCP IP Slave

Alessandro Munari 1 year ago in Bugs and problems updated by Aleksandr Romanov (CTO) 1 year ago 2

Hello, i need help to setup the iridium UMC server as Modbus TCP SLAVE device. I'm not able to find any documentation on this. 


How I can setup the parameters in the driver configuration ?

How I have to create the feedback and command channels ?

Do you have documentationa or example on this ?

thansk

0
Under review

8x JS scripts crashing iRidium Server on Raspberry Pi

Iain Brew 1 year ago in Bugs and problems updated by Vladimir Ovchinnikov 1 year ago 2

I have an iRidium Server project which connects to 4x Global Cache IP2SL connected to Extron SMP111 video recording devices. I have two scripts - one to query the recording timecode every second and the other to query the recording state (initialising, recording, pause, stopping). In total there are 8x scripts querying every 1000ms. This works well but after a few minutes the server locks up and restarts. I am guessing it's due to 8 simultaneously commands happening, or perhaps because i'm getting two feedbacks from one driver simultaneously. 

One thought to solve this is to stagger the reqesust i.e. have one requesting every 500ms, the other at 501ms so that the there is only one response coming in at a time from one driver (or potentially staggering all so that there is only one feedback at any one time). 

Is there more a clever way of doing this?

My terrible attempt at JavaScript > here 

0
Fixed

JSON.Stringify drops values

Kris 1 year ago in Bugs and problems updated by Vladimir Ovchinnikov 1 year ago 4

Hi

I want to use JSON.Stringify for later data transmission to the panel.

My data is an object of nested arrays of objects. For problem description however, I will use simpler data as the result is the same:

var defs = ["One","Two"];

var testObj = {

Z1_1:[defs,defs],

Z1_2:[defs,defs],

Z2_1:[defs,defs]

};

var defs is a 'template' array with which I populate the object.

Then I Stringify it:

var TSTR = JSON.Stringify(testObj);

IR.Log("TSTR JSON String:");

IR.Log(TSTR);


Here is the problem - the output is:

TSTR JSON String:

{"Z1_1":[["One", "Two"], {}], "Z1_2":[{}, {}], "Z2_1":[{}, {}]}


Apparently JSON.Stringify drops out simmilar data in following arrays.

Accordingly, testing the same code in VS Code, the output is correct:

TSTR JSON String:

{"Z1_1":[["One","Two"],["One","Two"]],"Z1_2":[["One","Two"],["One","Two"]],"Z2_1":[["One","Two"],["One","Two"]]}

If I use different arrays declarations for each object property (i.e. defs1, defs2, defs3 etc.) the output will be correct. Unfortunately I cannot do that as the aim is to dynamically add more properties to testObj with the same template array,


Can you please advice on this - is there any workaround this? Is there something I am missing? Or is this a bug or limitation in iRidium?

I am looking forward to see the solution!

Thanks!