I have attached my .xcf file shown in the link below for people who are still confused about my problem. Very sorry about that.
[Link: mediafire.com]Basically i just want an one-way IR daikin control (without RS232). Anyway, i guess i will stick to my original program for the moment and thanks all for your generous suggestions!