Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
PEP2 Limitation?
This thread has 7 replies. Displaying all posts.
Post 1 made on Wednesday April 15, 2009 at 05:37
mwgray
Lurking Member
Joined:
Posts:
March 2009
2
Hi Guys

I've been lurking for a few weeks now as part of getting up to speed with a project I've been handed, which is to create a sockets 'layer' for our company's hard disk audio player, and have hit a small issue.

I was going to package up the classes I've produced in label (panel) controls and use an eval call to stick them into an activity script. Now, the classes I've created are somewhat large and I've hit a limit that in PEP2 a label can only contain just under 32k of data. My main R&D state machine class and related classes are about 50k in size. I tend to comment pretty heavily :)

I realise that I can stick each seperate class into a label, but I was wondering if this is a PEP2 IDE limitation, or an actual limitation of the Pronto's panel controls ?

Cheers
Mark

PS - Many many thanks to Barry Gordon for the base modification instructions. Without that modification my face would be black and blue after repeatedly bashing it against my screen.
Post 2 made on Wednesday April 15, 2009 at 11:12
RHGoalie
Long Time Member
Joined:
Posts:
June 2007
52
See Post 8 at:
Script Question posting.

According to Lydell;
"All this is great unless your script is larger than 32KB (PEPV2) or 64KB (PEPV1). If this is the case, then your only option is to use eval() to compile the content of panel labels."

One thing I have done is eliminate all possible white space to reduce the size of the label script. I use Aptana IDE and it has a selection to compact the javascript. Be careful that some things can't be compacted such as indexes of arrays with an increment in them but these are few in number.
OP | Post 3 made on Wednesday April 15, 2009 at 11:51
mwgray
Lurking Member
Joined:
Posts:
March 2009
2
Thanks for the response. I guess I should have used the search.

Given that the label size has changed since PEP1 it looks like its an IDE limitation rather than a Pronto limitation.

Cheers
Mark
Post 4 made on Wednesday April 15, 2009 at 15:38
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
I am glad I was able to help you save face.
Post 5 made on Wednesday April 15, 2009 at 16:50
Jon Welfringer
Long Time Member
Joined:
Posts:
December 2002
175
If you'd like to really speed up your sockets based development, have a look at this thread:
[Link: remotecentral.com] .

You can test your socket scripts in the simulator without downloading to the Pronto.
Post 6 made on Wednesday April 15, 2009 at 17:38
Guy Palmer
Active Member
Joined:
Posts:
June 2008
648
I'd just like to say that Jon's simulator program is the best thing that has happened for the Pronto in a long time - it is simply great.
Post 7 made on Wednesday April 15, 2009 at 18:24
mraneri
Long Time Member
Joined:
Posts:
February 2009
141
Seconded... It's an [almost] requirement if you're wanting to do serious IP Prontoscript development. I only wish it were possible to enable RFX9600/RS232 development the same way... :-(

- Mike
Post 8 made on Wednesday April 15, 2009 at 20:00
MVis
Long Time Member
Joined:
Posts:
July 2007
94
Is anyone using the tcp debugging now that had problems with dropped data before? The version of the tcp dll that I'm using drops tcp data. The native tsu9600 is fine


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse