create IO servers - Printable Version +- Ewon Technical Forum (https://techforum.ewon.biz) +-- Forum: Development (https://techforum.ewon.biz/forum-50.html) +--- Forum: Ewon Embedded Technology (https://techforum.ewon.biz/forum-51.html) +---- Forum: Field Data Acquisition (https://techforum.ewon.biz/forum-2.html) +---- Thread: create IO servers (/thread-268.html) |
create IO servers - adrien.guillonnet - 11-04-2017 Hi everybody, I created two different IO servers, one to pull data from the eWON and the other to read SMS sent on the GPRS card. My issue is that I can only start one server, each time I try to start a second one I got two errors ("critical error ; 7500 - 0x0" and "server table list full") in the logs. Is it possible to start more than one IO server in the same time ? Also, when I check the system config I don't see my new server name at the line IOSrv1 (just under IOSrv0 EWON). Thank you, Regards Adrien Guillonnet RE: create IO servers - simon - 11-04-2017 Adrien, Do you mean you developed two IOservers in Java or you are using the embedded IOservers ? If it is the first case, indeed, only one Java IOServer can be used in eWON and you have to embedded both "features" into the same IOserver Simon RE: create IO servers - adrien.guillonnet - 11-04-2017 Yes I developed my onw IOservers. All right I see what you mean. So, what is the point of the list of "IOSrv" in the system config table ? Other question now, if I put everything in a single server, can I both read SMS and acquire data (via RS485) in the same time ? Or do I need first to do a loop "check SMS", and then another one "acquire and send data" ? Thanks for your answer :-), Regards Adrien RE: create IO servers - simon - 11-04-2017 All right I see what you mean. So, what is the point of the list of "IOSrv" in the system config table ? [You can use your IOserver along with the other embedded IOservers : Modbus, DF1, S73&400,...] Other question now, if I put everything in a single server, can I both read SMS and acquire data (via RS485) in the same time ? Or do I need first to do a loop "check SMS", and then another one "acquire and send data" ? [Depending on what you do, you could create two threads, one for readSMS and one for your IOServer (which is already running in a thread)] RE: create IO servers - adrien.guillonnet - 11-04-2017 Got it, thanks a lot, I am going to work on creating threads for a while and I will let you know ! Regards, Adrien |