Receiving Codes from Multiple Units using .net DLL

Software related support

Moderator: marcus

Receiving Codes from Multiple Units using .net DLL

Postby mhogan » Sun 27. Jul 2008, 18:35

Hello,

I have attached a modified version of the .net sample app that initiates 3 IRTRANS POE units.

irt[0] = new IRTransServer("192.168.0.151");
irt[1] = new IRTransServer("192.168.0.150");
irt[2] = new IRTransServer("192.168.0.153");

irt[0].StartAsnycReceiver();
irt[1].StartAsnycReceiver();
irt[2].StartAsnycReceiver();

irt[0].IRReceive += new IRTrans.NET.IRTransServer.IRReceiveEventHandler(IRReceived);
irt[1].IRReceive += new IRTrans.NET.IRTransServer.IRReceiveEventHandler(IRReceived);
irt[2].IRReceive += new IRTrans.NET.IRTransServer.IRReceiveEventHandler(IRReceived);


It seems that that only the last unit initiallized listens to send codes from the remotes. I can verify this by changing the order or initialization.
I've been working trying to solve this for quite a while (different pcs's switching ir databases, different whats to initialze.... no luck)

Please advise

Thanks

Mike H
Attachments
Multi IR test.zip
Multi IR Test
(42.93 KiB) Downloaded 2150 times
mhogan
 
Posts: 14
Joined: Fri 2. May 2008, 15:14

Re: Receiving Codes from Multiple Units using .net DLL

Postby IRTrans » Mon 28. Jul 2008, 12:06

Hi,
we will try that out here and then we will let you know how it works.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Receiving Codes from Multiple Units using .net DLL

Postby IRTrans » Tue 5. Aug 2008, 18:48

Hi Mike,
attached you find a new .NET DLL that will correctly work when receiving from more than one module.

IRTrans
Attachments
IRTrans.NET.zip
(11.85 KiB) Downloaded 2173 times
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Receiving Codes from Multiple Units using .net DLL

Postby mhogan » Fri 8. Aug 2008, 18:52

The new DLL works perfectly...

Thanks Marcus
mhogan
 
Posts: 14
Joined: Fri 2. May 2008, 15:14


Return to Software

Who is online

Users browsing this forum: No registered users and 45 guests