Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 15:19 29 Mar 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Transfer a file into a spead sheet

Author Message
Worm

Newbie

Joined: 30/06/2011
Location: New Zealand
Posts: 38
Posted: 04:03am 11 Jul 2011
Copy link to clipboard 
Print this post

I have saved the "FRIDGE.BAS" programe from SC into my maximite and run the program. Now how do I transfer the saved file ending in .XLS into microsoft excel?
There's no such thing as a free lunch.
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 04:24am 11 Jul 2011
Copy link to clipboard 
Print this post

Hi.

Take the SD Card out of the Maximite and place in a SD Card reader on your PC. Then you can copy the file to your local drive or you can open the file from the SD Card directly.

Double clicking the file should invoke Excel - or open Excel and select the file from the file menu.

Hope this helps.

regards

Gerard

Edited by seco61 2011-07-12

Regards

Gerard (vk3cg/vk3grs)
 
Worm

Newbie

Joined: 30/06/2011
Location: New Zealand
Posts: 38
Posted: 04:38am 11 Jul 2011
Copy link to clipboard 
Print this post

I take it you can not transfer files from SD card through maximite to my PC? I am using Tera Term. I dont have a card reader yet.
There's no such thing as a free lunch.
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 04:52am 11 Jul 2011
Copy link to clipboard 
Print this post

Hi.

There is no means of doing this directly.

However, you could write a simple MMBasic program to read the file from the SD Card and print the file to the screen.

Then you could just copy and paste from the Tera Term screen into a file on your PC.

Regards

Gerard

Regards

Gerard (vk3cg/vk3grs)
 
Worm

Newbie

Joined: 30/06/2011
Location: New Zealand
Posts: 38
Posted: 05:05am 11 Jul 2011
Copy link to clipboard 
Print this post

Thanks Gerard for your input. I had thought of using the maximite to read the content of the file on the SD card, but I am new to programing and I dont know where to start or how to write a program like you suggested. Any suggestions?

Thanks
Kevin
There's no such thing as a free lunch.
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 05:47am 11 Jul 2011
Copy link to clipboard 
Print this post

Hi.

Here is a quick snippet of code that will print the contents of the fridge.xls file to the screen:


100 OPEN "FRIDGE.XLS" FOR INPUT AS #1
110 DO while NOT EOF(#1)
120 line input #1, fridge$
130 PRINT fridge$
140 LOOP
150 CLOSE #1


Regards

Gerard

Regards

Gerard (vk3cg/vk3grs)
 
Worm

Newbie

Joined: 30/06/2011
Location: New Zealand
Posts: 38
Posted: 06:13am 11 Jul 2011
Copy link to clipboard 
Print this post

Thanks Gerade. I shall have a play.

Thanks
Kevin
There's no such thing as a free lunch.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024