Sign in to follow this  
Followers 0
alberto05

FWRITE function

5 posts in this topic

Hi there, I want to write something like this in a memory card: 2006-04-10 14:32:15 116.5 1.398 2006-04-10 15:32:15 117.2 1.56 2006-04-10 16:32:15 115.9 1.75 2006-04-10 17:32:15 116.5 1.71 it should be a .txt archive for importing it with mysql commands, i only be able to write this with a cj1 cpu12 firmware version 1 (no fb possible): 2006 0410 1432 1500 1165 1398 2006 0410 1532 1500 1172 1560 2006 0410 1632 1500 1159 1750 2006 0410 1732 1500 1165 1710 this information must be manipulated before logging it in the DB, this make my program more complex and slow. Anybody know how to make a txt file like the indicated first? thanks

Share this post


Link to post
Share on other sites
you can write an .iom file where you are completely in control of what is written to the CF memory card. you use ASCII codes for : or , or -, numbers etc. after that you should rename the exension .iom to .txt for your program? that is the problem. Edited by tashinz

Share this post


Link to post
Share on other sites
Have a look at the following ... "Wombat Code" Example of FWRITE to Flash card
1 person likes this

Share this post


Link to post
Share on other sites
thank you!!!, wombat code is great, i will create a .iom file instead of .txt p.s: the .mem archive come without filename in DM10004, this make the Memory card write error (A343.08) to ocurr
1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0