Skip to main content



      Home
Home » Modeling » Epsilon » Egl file (problem in the output)
Egl file [message #1724576] Wed, 24 February 2016 14:02 Go to next message
Eclipse UserFriend
Hello,
I have an Egl file I named it test.egl ,when I run the configuration it gives me the output repeated two times with different format ,so i think that the problem is not with my code .
This the output

results for processor
The source is Device1
The target is Device1
Device1 utilization = 0.278404
The source is Device2
The target is Device2
Device2 utilization = 0.177705
The source is Device3
The target is Device3
Device3 utilization = 0.610119
results for processor

The source is Device1
The target is Device1
Device1
utilization = 0.278404

The source is Device2
The target is Device2
Device2
utilization = 0.177705

The source is Device3
The target is Device3
Device3
utilization = 0.610119


Can you please check that.

I have attached a minimal example that has the launch file and test.egl .

Thanks,
Taghreed.

[Updated on: Wed, 24 February 2016 14:10] by Moderator

Re: Egl file [message #1724577 is a reply to message #1724576] Wed, 24 February 2016 14:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Taghreed,

Removing the calls to print() and println() should fix this.

Cheers,
Dimitris
Re: Egl file [message #1724583 is a reply to message #1724576] Wed, 24 February 2016 14:13 Go to previous messageGo to next message
Eclipse UserFriend
Thanks very much
Re: Egl file [message #1724585 is a reply to message #1724583] Wed, 24 February 2016 14:21 Go to previous messageGo to next message
Eclipse UserFriend
I can not really thank you enough for your quick reply always and for your support and help. I really appreciate that very much.

Taghreed.
Re: Egl file [message #1724601 is a reply to message #1724585] Wed, 24 February 2016 15:47 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
I got the output file correctly. How can I format the output because I got many spaces (for each line of code there is Corresponding empty line in the output file).

Cheers,
Taghreed.
Re: Egl file [message #1724619 is a reply to message #1724601] Wed, 24 February 2016 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi Taghreed,

If you're generating Java or XML in your templates, you can select a post-processor to format your code from the "Generated Code" tab of your launch configuration. If you're targeting a different language, you'll need to develop a formatter yourself I'm afraid. Let me know if you'd like more pointers towards the latter.

Cheers,
Dimitris
Re: Egl file [message #1724764 is a reply to message #1724619] Thu, 25 February 2016 14:11 Go to previous message
Eclipse UserFriend
Hello ,
My problem was solved.

Taghreed.
Thanks
Previous Topic:traceability
Next Topic:reading 3 file using EGL
Goto Forum:
  


Current Time: Fri Aug 08 06:20:31 EDT 2025

Powered by FUDForum. Page generated in 0.03977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top