This might be an easy question but i need help...

I am using an arduino to log data into a csv file on an SD card, this much is not problem.
I have a remote switch to essentially turn on the Bluetooth and send all the file information to a pc (via a Bluetooth dongle on pc)
so up to here is still not a problem...

I am currently able to retrieve all the data using putty and save it to a csv file for review in a program I'm attempting to write using wxpython, using putty this is not a problem but I would like to incorporate a into my program a simple "retrieve data" type button. Does anyone here have experience with wxpython and can you help me? I have tried several other sample codes with no success.

THanks in advance!

I don't know WxPython (I use JRuby) but it may be useful to clarify what you want.

It seems to me that, at the moment, you have a physical switch that tells the Arduino it is time to send data using bluetooth. And for the future you would like to be able to click a button on your PC screen to have the same thing happen without pressing the physical switch. Is this correct?

You can try out a lot of the programming by simulating that with Putty. Your Arduino code will need to listen for some character (or series of characters) to be sent to it by Putty, When it receives that character it will respond in the same way that it does now when the switch is pressed.

When you have that working you just need to change things so that the Arduino listens for the character(s) on the bluetooth connection.

...R