[Icon-tech] Developer Released

Keith Watson tk.watson at verizon.net
Sat Oct 24 07:06:05 MDT 2009


Michael,

Nice bit of work. I like the new environment.

Wait for it....Here it comes....First the compliment and then the
request...Figures.

<GRIN>

Ok, now that you have renewed my interest in coding again, I have a question
to throw out for anyone to answer.

A long time ago I wrote a little app for my laptop that over the years has
come in very handy. Although a little bulky. You will realize why I say
bulky after I release it. For now let's just say that carrying around a
laptop for this app is inconvenient. A couple of things have occurred over
the past month or so that has caused me to realize that this would be a
great port to the Icon/BP. Laid off, Sick of reading NLS books, and
basically pissed off are the inherent reasons for me to tackle this project.

Originally this app was written in C and utilized a timing mechanism to grab
any input from the keyboard. Hit 2, wait a bit and 2 was grabbed and
processed. Hit 1, 2, 3, 4 really quickly and if you beat the timer then 1234
was processed. Hint: If you fed a stream of 12 digits to the app really
quickly then these were processed.

In preparation for porting the app, I converted it to python. The trouble I
ran into was the timing routines. I haven't figured out how to convert them
into python. Since I knew that the input was always going to be a string of
12 digits, I put the term into an unbuffered mode, fed the stream in and
when it reached the 12 digits I break out of the loop. Now I have a variable
with the data that I need to process and off it goes.

Now along comes the Icon/BP. My python code works just fine from the console
on the unit. But I am attempting to interface with the methods contained in
the sbtk. Easy enough to create a field that captures the incoming stream,
then require the user to push a button to process the data. But I would
really like to not require the interaction of the user on the keyboard.
(Oops another hint.) 

Is there a method that has been developed for accomplishing this?

Thanks,

Keith

 -----Original Message-----
From: icon-tech-bounces at mulcahy.ws [mailto:icon-tech-bounces at mulcahy.ws] On
Behalf of Michael McDonald
Sent: Wednesday, October 07, 2009 10:53 AM
To: Nick Gawronski; Icon technical discussions.
Subject: [Icon-tech] Developer Released

I have released Developer.  It can be found at:

http://tech.aph.org/mm/developer

I'll need to write up some basic help for it, but anyone interested can try
and install it and see if they can get it working.  It has an editor, but it
is still limited and needs work.  It will allow you to create sample
projects and also has several example projects.  It will allow you to create
ipks and install and run programs as well as displaying an output log.

Consider this an early beta.  If anyone has any questions on it, just post
them here.

Mike


_______________________________________________
Icon-tech mailing list
Icon-tech at mulcahy.ws
http://www.mulcahy.ws/mailman/listinfo/icon-tech



More information about the Icon-tech mailing list