Page 1 of 1

UDP Socket issue

PostPosted: Wed 17. Mar 2010, 09:41
by kimizhao
Hi there,

I'm trying to use UDP interface to control the IRTrans, and I use the Autoit3 language to set up the connection, and it seems that the UDP connection is built successfully, but our IRTrans LAN Controller XL doesn't work. Meanwhile, I could send the command to IRTrans with Its GUI Client. it's so odd for me, could you please give me a hand? Many thank!!!

Re: UDP Socket issue

PostPosted: Wed 17. Mar 2010, 18:48
by IRTrans
Hi,
there is one important difference: When sending via GUI Client you are usually using the irserver and therefore the IR codes that are stored on your PC. To send them directly via UDP (or TPC or http) you will need to upload the needed remote files first. That is done using the IR Database dialog of the GUI client.

IRTrans

Re: UDP Socket issue

PostPosted: Thu 18. Mar 2010, 02:13
by kimizhao
Thanks a lot for your kind reply!:)
I used the same pc which installed IRtrans software and also sent the udp to LAN Controller XL. and for remote file, do you mean .rem file? i just record my .rem file and it could be found at c:\program files\IRTrans\remotes\ , where need i upload them?
Regards,

Re: UDP Socket issue

PostPosted: Thu 18. Mar 2010, 21:02
by IRTrans
Please have a look at the manual. Your remote controls have to be uploaded usig the IRTrans GUI Client.
To upload you have to use the Device database dialog.

IRTrans

Re: UDP Socket issue

PostPosted: Fri 19. Mar 2010, 02:45
by kimizhao
i think i've finished the step you mentioned, would you please share a demo code with me? Many thanks!

Re: UDP Socket issue

PostPosted: Fri 19. Mar 2010, 10:03
by IRTrans
Demo code for what ? For uploading the IRDB there is no code needed.
For the SW APIs you can find demo projects in the folders where the API is installed.

If you still have problems we would need to see your code and error messages you get.

IRTrans

Re: UDP Socket issue

PostPosted: Mon 22. Mar 2010, 08:09
by kimizhao
Thanks a lot for your kind help! finally, I've fixed the issue caused by IR DB :D