Hi,

I'm busy writing app base code for interactive lab measurements. The idea 
from usability side is like following:

- user generally writes his code in Spyder, it's the most convenient place 
for most of my users
- user starts the measurement application, which pops up as a Qt 
application.
- user gets an Ipython console inside Spyder, which has access to 
'business' logic of the Qt application. Qt application also has access to 
the same objects (like measurement equipment etc.)
- thanks to the fact Ipython console is embedded in Spyder, user can run 
"F9/F5" to execute some lines or a full script in that console
- user is able to open a Qt Ipython console and type there (for the ones 
who like it better, but also for inline graphics, drag-n-droping 
files/filenames etc.
- finally, user is able to connect to the ipython console from another 
machine (implicit ZMQ-enabled IPython kernel..)

I know this is combining 3(or 4) ways of communicating with the 
application, but in a lab it kind of makes sense:
1. you get an easy to use GUI which you can easily manipulate for 
experimentation (oh, wait, let's set this voltage to 1.7V (click, click) 
and see what happens)
2. you get access to a script mode so you can run code in an organized way 
(that's the IPython console inside spyder)
3. you get ipython qt console, which sometimes is more handy (e.g. if you 
start the application as 'standalone')
4. you can leave the lab, but still get control over the measurement setup 
via network.

Does someone have an idea how to implement all of that? Some ideas I had:
- inprocess kernel of IPython - gives qtconsole inside of qt app, but no 
networking, no 'terminal ipython', no integration with Spyder
- the idea 
from 
https://github.com/ipython/ipython/blob/master/examples/Embedding/ipkernel_qtapp.py
 
- the right direction I think, but how to integrate it with Spyder (to get 
a functional 'terminal IPython'? Also, there seems to be some bug there 
which hangs the app at tab completion - but that's something for Ipython 
people


Thanks !
Kuba

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to