Page 1 of 1

Event when iX Developer start the transfer

Posted: Tue Sep 20, 2011 2:40 am
by Arnaud J.
I need to install an event handler when iX Developer ask to close the project at the beginning of the transfer.
Because I use the .NET class SerialPort in my project and if the port is open when iX developer ask to close the project the panel is hang and cannot close the project, so I need to close the serial port when iX developer ask to close...
Do you have a solution to fix this trouble ?

Today I have a special screen where the serial port is closed but if I start the transfer from a different screen the panel is hang and I should reboot it, so it's not user friendly.

Thanks,

Re: Event when iX Developer start the transfer

Posted: Thu Sep 22, 2011 9:02 am
by Ron L.
As far as I know, there is not a way to do that with the .NET Compact Framework.

I have a Serial example posted here that does allow me to download a new application that might help.
http://ixtalk.beijerelectronics.com/vie ... p?f=9&t=73

What iX Panel are you using?

Re: Event when iX Developer start the transfer

Posted: Thu Sep 22, 2011 11:40 pm
by Arnaud J.
Our iX Developer version is 1.30 Build 1.30.445.0

In our case the SerialPort is an object of an external assembly, may be it's the cause of the trouble, can you check this case ?

How do you stop the application at the beginning of the transfer ? Did you send an event ? Did you kill it ?

Re: Event when iX Developer start the transfer

Posted: Fri Sep 23, 2011 9:58 am
by Ron L.
When you download an application, iX will automatically close the application. There is not an event that occurs.