Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Limitation of RMT_DEV
Limitation of RMT_DEV [message #1737352] Thu, 07 July 2016 14:05 Go to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Hi to all,

is there a limit set to add "RMT_DEV" to "System Configuration"?

When I want to add one more "RMT_DEV", 4DIAC stops working - I only can restart the program Sad Then I start again......4DIAC stops working....and so on

Thank you,
Wolfgang
  • Attachment: Unbenannt.jpg
    (Size: 291.39KB, Downloaded 60 times)
Re: Limitation of RMT_DEV [message #1737406 is a reply to message #1737352] Thu, 07 July 2016 20:26 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
Hi,

no there shouldn't be a limit. I tried myself and noticed that when you start a new project and start to drag in devices that 4diac-ide hangs always with the 22nd device.

Digging a bit further I found that the problem is in the random color generation. It looks like the algorithm used does not find a color with enough difference between the existing devices' colors and any new one. I have to reasearch a bit what a better color comparing algorithm would be.

Cheers,
Alois
Re: Limitation of RMT_DEV [message #1737620 is a reply to message #1737406] Mon, 11 July 2016 10:55 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Dear Alois,

thank you for the answer and searching the problem.

Best,
Wolfgang
Re: Limitation of RMT_DEV [message #1737623 is a reply to message #1737620] Mon, 11 July 2016 11:13 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
Dear Wolfgang,

yesterday evening i posted a first fix. With a better color generation algorithm and better comparision. In the next RC you should be able to use at least 100 devices and it can be expanded to more if necessary.

BR,
Alois
Re: Limitation of RMT_DEV [message #1737960 is a reply to message #1737623] Thu, 14 July 2016 12:44 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Gr8 to hear that! Thank you very much!

Is it possible to fix it on my own (with your guidance), so I can use it asap?
Or is it too difficult?

Best,
Wolfgang

[Updated on: Thu, 14 July 2016 13:12]

Report message to a moderator

Re: Limitation of RMT_DEV [message #1737981 is a reply to message #1737960] Thu, 14 July 2016 15:56 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
You can have a look in the docs on how to compile 4diac-ide from source. It is rather straight forward (if you are not on Mac as I learned today Wink. Furthermore we planned 1.8 RC3 for Monday.

BR,
Alois
Previous Topic:Help regarding QX Function Block
Next Topic:Linefeed in RawDataComLayer of FORTE
Goto Forum:
  


Current Time: Sun Aug 19 13:53:40 GMT 2018

Powered by FUDForum. Page generated in 0.02213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top