IRSend not working on second device

The place where software developers meet

Moderator: marcus

IRSend not working on second device

Postby IREric » Thu 31. Mar 2011, 13:10

I have 2 devices in my network,
192.168.2.48 & 192.168.2.49

I use IRServer.exe as a service.
I use C#, IRSend("myremote", "mycode");

My first device transmits the code (Red led is blinking),
My second device will NOT (Red led is NOT blinking).

I have tried to Send a command from the GUI client,
that's also not working for the second device.

I have reconfigured the settings for the device,
but without succes.

The device has no external leds (never configured that).
Can somebody help me ??

First device:
LAN Version L1.07.50
IR Version E6.04.40
Second device:
LAN Version L1.09.02
IR Version E6.05.40
Windows 7
C# .NET 4.0
IREric
 
Posts: 7
Joined: Tue 1. Mar 2011, 14:39

Re: IRSend not working on second device

Postby IRTrans » Thu 31. Mar 2011, 16:51

Hi,
by default this call sends to the first device (=bus) only.

You can use the IRSend call that includes the bus selection.

In the GUI Client you can also select the 2nd device using the bus parameter.

Bus=255 will send to all devices.

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

Re: IRSend not working on second device

Postby IREric » Fri 1. Apr 2011, 14:41

Great, works perfect now.
I have used: IRSend("myremote", "mycommand", 0, 3, 255); // 0 = not used, 3 = all leds, 255 = all busses
Thanks,

I love this device...
IREric
 
Posts: 7
Joined: Tue 1. Mar 2011, 14:39


Return to APIs

Who is online

Users browsing this forum: No registered users and 5 guests