Page 1 of 1

FAT Append String to file

Posted: Tue May 23, 2017 3:12 pm
by alikimiafar
Hi
I use flow code6 and pic 18f26k22 ,conect micro to sd but have 2 problems
1. Ì can't create a file name more than 4 charector .....why?
2. When append string to file in line 46 some txt write on line 35 .....
I saw a problem in (viewtopic.php?f=64&t=18356) look like my problem that Benj fix it and send new FAT.fcpx file for flowcode7
But my problem in flowcode6 and I cant use this file for my flowcode6
Please help me and send FAT.fcpx

This is "data.txt" file that micro write in microsd file
Look at line 35 and 46

input is 1000000000 245 at 17/05/23 16:16:48
input is 0000000000 245 at 17/05/23 16:16:49
input is 1000000000 245 at 17/05/23 16:16:51
input is 0000000000 245 at 17/05/23 16:16:51
input is 1000000000 245 at 17/05/23 16:16:53
input is 0000000000 245 at 17/05/23 16:16:54
input is 1000000000 245 at 17/05/23 16:16:56
input is 0000000000 245 at 17/05/23 16:16:57
input is 1000000000 245 at 17/05/23 16:16:58
input is 0000000000 245 at 17/05/23 16:17:00
input is 1000000000 245 at 17/05/23 16:17:04
input is 0000000000 245 at 17/05/23 16:17:05
input is 1000000000 245 at 17/05/23 16:17:07
input is 0000000000 245 at 17/05/23 16:17:09
input is 1000000000 245 at 17/05/23 16:17:10
input is 0000000000 245 at 17/05/23 16:17:12
input is 1000000000 245 at 17/05/23 16:17:13
input is 0000000000 245 at 17/05/23 16:17:15
input is 1000000000 245 at 17/05/23 16:17:18
input is 0000000000 245 at 17/05/23 16:17:20
input is 1000000000 245 at 17/05/23 16:17:21
input is 0000000000 245 at 17/05/23 16:17:23
input is 1000000000 245 at 17/05/23 16:17:26
input is 0000000000 245 at 17/05/23 16:17:27
input is 1000000000 245 at 17/05/23 16:17:29
input is 0000000000 245 at 17/05/23 16:17:31
input is 1000000000 245 at 17/05/23 16:17:33
input is 0000000000 245 at 17/05/23 16:17:36
input is 1000000000 245 at 17/05/23 16:17:38
input is 0000000000 245 at 17/05/23 16:17:41
input is 1000000000 245 at 17/05/23 16:17:44
input is 0000000000 245 at 17/05/23 16:17:46
input is 1000000000 245 at 17/05/23 16:17:47
input is 0000000000 245 at 17/05/23 16:17:50
input at 17/05/230 245 at 17/05/23 16:17:52
input is 0000000000 245 at 17/05/23 16:17:55
input is 1000000000 245 at 17/05/23 16:17:58
input is 0000000000 245 at 17/05/23 16:18:00
input is 1000000000 245 at 17/05/23 16:18:03
input is 0000000000 245 at 17/05/23 16:18:06
input is 1000000000 245 at 17/05/23 16:18:08
input is 0000000000 245 at 17/05/23 16:18:10
input is 1000000000 245 at 17/05/23 16:18:13
input is 0000000000 245 at 17/05/23 16:18:16
input is 1000000000 245 at 17/05/23 16:18:22
input is 0000000000 245

Re: FAT Append String to file

Posted: Mon May 29, 2017 2:07 pm
by alikimiafar
please help me

Re: FAT Append String to file

Posted: Fri Jun 02, 2017 1:23 pm
by alikimiafar
Benj please help me .....you solved this problem for flowcode7 But I use flowcode6 .....

Re: FAT Append String to file

Posted: Sat Jun 03, 2017 6:50 pm
by medelec35
Hi alikimiafar,
Ben is on holiday all next week.
So please bear with for a while longer.

Martin

Re: FAT Append String to file

Posted: Mon Jun 05, 2017 8:50 pm
by alikimiafar
Thanks
Ok I am waiting....to come back....

Re: FAT Append String to file

Posted: Mon Jun 12, 2017 9:20 am
by alikimiafar
Hi Benj
Please help me !

Re: FAT Append String to file

Posted: Tue Jun 13, 2017 11:03 am
by Benj
Hello,

Sorry for the delay. Please can you try this and see how you get on.

Simply copy the attached file into your "Flowcode 6/components" directory and restart Flowcode.

FAT.fcpx
(66.24 KiB) Downloaded 149 times

Re: FAT Append String to file

Posted: Wed Jun 14, 2017 12:50 am
by alikimiafar
hi Benj
thanks very much :D
very good my problem number 2 solved
but I cant create file name bigger than 4 character for example :
I can create data.txt but I cant create flowcode.txt (with more than 4 character) and on sd card just create flow.txt What is the problem?

Re: FAT Append String to file

Posted: Thu Jun 15, 2017 9:51 am
by Benj
Hello,

Glad this has fixed the append issue for you.

I can create data.txt but I cant create flowcode.txt (with more than 4 character) and on sd card just create flow.txt What is the problem?


I haven't come across this issue before the file name "flowcode.txt" should be fine. Have you tried a different card to make sure it's not a card specific thing.