Program does not work after iX developer was upgrade to V2.0

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Program does not work after iX developer was upgrade to V2.0

Post by wlederer »

The home screen looks OK, but any try to change screen gets it for 1 second only, then back to home. What to do?
Regards, Waldemar

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Program does not work after iX developer was upgrade to

Post by mark.monroe »

Do you have any scripts that are cycling through the screens? No one has ever reported the behavior you are seeing when converting from a 1.31 project to a 2.0 project.

You can PM me your project if you want and I can take a look at it. You can use the 'Compress' button near the 'Build' button in iX 2.0 to put your project into a zip archive that can be PMed to me.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Program does not work after iX developer was upgrade to

Post by wlederer »

Hi Mark. Thank You for the answer. Yes, I do have scripts. Not sure, where are they cycling. The program is written for T7A. Tried to add the compressed program file, but failed. The actual size is above 5 MB (maximum is 2 MB)
How else can I send it?
Regards, Waldemar

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Program does not work after iX developer was upgrade to

Post by mark.monroe »

You have an action that is called every time you close the background screen. That action brings up the last screen. You need to remove the Previous screen action from the OnClose event of your Background screen.
Snap 2012-09-18 at 11.19.03.jpg
Snap 2012-09-18 at 11.19.03.jpg (35.29 KiB) Viewed 16203 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Program does not work after iX developer was upgrade to

Post by wlederer »

Thank You very much Mark. Now is better. Actually I can navigate screens after removing the action of backgroung screen. Don't remember, when I put this.
Strange, why the previous version of iX Developer did not notice it?

Next item for testing was email. With the previous version, when the button "Send" on the screen "eMail" was pressed, an email with an attachment with data about chosen finished session was sent to the addressee defined on the same screen. When I pressed the button this time, the system crashed and went restarting. An email was actually sent, but without attachment.
Regards, Waldemar

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Program does not work after iX developer was upgrade to

Post by mark.monroe »

It sounds like you have a bug in your code. Attachments are not normally sent with emails, I assume that you are creating the attachment yourself.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Program does not work after iX developer was upgrade to

Post by wlederer »

The purpose of the email is to send information about session finished. The attachment is the *.csv file. The file name is a combination of the object's name, date and time.The file content are values of some tags with comments and empty separation columns and rows (specially for Excel).
Sending data as a separate attachment makes easy storing and analysing them.
It worked fine with the iX Developer V1.3.

Regards, Waldemar

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Program does not work after iX developer was upgrade to

Post by mark.monroe »

Then I guess you can email me your project again like last time.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Program does not work after iX developer was upgrade to

Post by wlederer »

Thank You very much Mark. I did not change the code since last time, only removed an action from backgroung screen. Can You use the project I sent You? If not, I will send again tomorrow.
Regards, Waldemar

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Program does not work after iX developer was upgrade to

Post by mark.monroe »

If it crashes like that and reboots, that means you have an unhanded exception. You have too much custom code for me to go through it all.

You need to put exception handling into your code, and then point me to the function that is causing the issue.

Generally we do not debug other people's code, we are happy to help with specific coding questions.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply