Page 2 of 2

Re: SendRemoteCommand() timing

PostPosted: Fri 13. Apr 2012, 07:16
by jbroeker
Hello IRTrans,

The version info provided by the DLL is 2.6.1.0, 01.07.2011 19:19.

I am using Windows7 Professional. I connect to the IRTrans server with

res = ConnectIRTransServer ("localhost",&irt_server);

IRServer Version is 2.0.5.28302.

Attached the .rem file I am using.

The command I am sending is e.g.:

rc=SendRemoteCommand (irt_server,"cobra", "0 30 68",0,0,0);

Please let me know if you need more info.

Best regards,

Jörg Bröker

Re: SendRemoteCommand() timing

PostPosted: Fri 13. Apr 2012, 07:39
by IRTrans
Hmm, neither 2.6.1 for the DLL nor 2.0.5 for the server are valid versions.

The .NET DLL (IRTrans.NET.DLL) should be something like 4.0.35 and the irserver (irserver.exe or irserve64.exe) should be something like 6.8.30.

IRTrans

Re: SendRemoteCommand() timing

PostPosted: Fri 13. Apr 2012, 08:04
by jbroeker
...I am using the C DLL IRTransDLL.dll. The version is the one I get if I select Properties/Eigenschaften on the DLL, tab Details.

As for the server, I start the IRTransServer USB as installed in the start menu. The version I cited is what I get when selecting "Über..." in the tray icon.

I have installed a setup_20120129.exe. As far as I recall I downloaded it from your website.

Best regards,

Jörg

Re: SendRemoteCommand() timing

PostPosted: Fri 13. Apr 2012, 09:11
by IRTrans
OK, I thought you where using the .NET DLL.

That obviously changes everything. Then the return status with the empty message is OK, too.

You can see the version of the servier in the diagnostics after starting the server or through the properties of irserver.exe.

IRTrans

Re: SendRemoteCommand() timing

PostPosted: Fri 13. Apr 2012, 09:49
by jbroeker
...but your statement regarding my initial question with the timing (IR command was sent when SendRemoteCommand returns) is still valid for the C DLL? How would I note in the returned NETWORKSTATUS structure if a command was not sent?

Background: I am doing performance testing for an IR receiver and want to check if messages are lost when sending commands as fast as possible (using SendRemoteCommand). I want to ensure, that all IR commands are transmitted over the IR channel and if I get lost commands, they are lost due to processing in the receiver.

Best regards & thanx for your help,

Jörg

Re: SendRemoteCommand() timing

PostPosted: Fri 13. Apr 2012, 15:00
by IRTrans
Hi,
the same regarding the timing applies to the C-DLL. It will not return until the command has been sent.

In case there is an error sending the command (no overflow - the call will block in case the IRTrans is busy) an error message will be returned.

IRTrans