Page 1 of 1

Confirming command sent

PostPosted: Mon 9. Feb 2009, 20:47
by ontrack2
Hi there,

Please excuse my question as I an new to .net and coding for the IR Trans.

I am using the ,NET DLL via VB to control a IRTRans XL. Sendiung commands to teh IRTrans unit via IRT.irsend.

Is there a way that I can programatically confirm (from my application) that the IRTrans device received the instruction (from my application) to send the command and has in fact sent it?

Re: Confirming command sent

PostPosted: Tue 10. Feb 2009, 00:32
by IRTrans
Hi,
you only need to analyze the return parameter of "IRSend".

If there was an error you will get back a NETWORKSTATUS structure describing the error.

If everything was fine NULL will be returned.

IRTrans

Re: Confirming command sent

PostPosted: Tue 10. Feb 2009, 01:12
by ontrack2
Thanks for that. Works perfectly.

Is there anywhere a list of the values that NETWORKSTATUS can return?

Re: Confirming command sent

PostPosted: Tue 10. Feb 2009, 15:27
by IRTrans
In case of an error NETWORKSTATUS will contain the error code and error message. There are a multitude of possible errors, therefore we do not have a list of all of them.

IRTrans