Data Export Plugin

info at transmissiontuner.com info at transmissiontuner.com
Thu Jul 13 14:24:09 UTC 2017


I am very interested in and need a python data export plugin to export 
snapshots of data to a .csv file with a user key event.  This feature 
would greatly reduce laborious note taking when analyzing data in KST.

I was trying to reply to an older thread but could not for various 
reasons - my apologies for starting a new thread.   If no one has time 
to build it in the next 6 months or sooner, please point me to more 
information on how to build it and I will try to do it as I have time.  
I am very new and inexperienced with coding, especially with Python, but 
I have a lot of motivation to learn. I have windows and linux. Below is 
some of the older thread, specifically regarding the data export:


> Barth once wrote:
> Are you imagining that the external file is constantly appended to as 
> you
> move the mouse? Or would the user do something (eg, hit a key?) to
> trigger an event.

> I think a semi-general approach would be to add a PyKst call that would
> return a structure with lots of useful state information (frame 
> information,
> cursor position, list of key/mouse events since the last call). Then a
> python script could poll kst2 waiting for whatever you want, then the
> python could go off and parse files to its heart's content. Sound ok?
> In a couple of commutes, I could add something to PyKst to make this
> possible if you think it would be useful. I think it could be pretty 
> cool.

> Are you running windows? If so, I might need some help in getting it 
> all
> working there. I /think/ python scripting works fine in windows, but... 
> I don't
> run windows (the Win 10 upgrade has managed to bork my windows
> partition) myself.

> Your suggestion sounds really great. Yes I am running Windows 7.
> The user should hit a key to trigger an event.
> Does the windows version supports python interface or scripting?  I am 
> running Kst Version 2.0.8 Revision 29f1416.
> Thanks a lot for your help
> Kind regards
> Joerg




More information about the Kst mailing list