Page 3 of 3
Re: CSV Read/Write or Output CSV
Posted: Tue Nov 15, 2022 9:51 am
by RGV250
Hi Ben,
I have just tried it on my laptop and that worked with the original file, I have now updated and downloaded the new file and it does not appear to have the File component and the 0 from the file open command is missing??
I have to go out for a while but could you please check as this is a bit strange.
Bob
Re: CSV Read/Write or Output CSV
Posted: Tue Nov 15, 2022 10:06 am
by BenR
Hi Bob,
Make sure you're getting the example from the v9 wiki and not the v8 wiki n the matrixtsl site.
https://www.flowcode.co.uk/wiki/index.p ... e_Tools%29
Re: CSV Read/Write or Output CSV
Posted: Tue Nov 15, 2022 2:37 pm
by RGV250
Hi Ben,
That was the mistake on the laptop but I have downloaded the correct one and it does not create the file on either PC or laptop. As far as i can tell it is being simulated completely, is there anything else I can do to diagnose.
Bob
Re: CSV Read/Write or Output CSV
Posted: Tue Nov 15, 2022 4:27 pm
by BenR
Using the View -> Console menu brings up a console window where there is a tab that shows you the File SD component status and it should report the status of the file creation.
Re: CSV Read/Write or Output CSV
Posted: Tue Nov 15, 2022 4:38 pm
by RGV250
Hi Ben,
Unfortunately when I do that it says I need a debugging pack.
Bob
Re: CSV Read/Write or Output CSV
Posted: Wed Nov 16, 2022 12:32 am
by RGV250
Hi Ben,
I thought I had found it, I think the issue is that I do not have a licence for the File SD component. I changed it to File RPI and it still did not create the file. I am not sure if I should need it as I could not find information on the FileRPI but I added a create file and it did create the file but it does not get populated so I removed it.
This is what I have so far.
Bob
Re: CSV Read/Write or Output CSV
Posted: Wed Nov 16, 2022 9:49 am
by BenR
Hi Bob,
Aha sounds like progress that's great. Try running the sim twice, there seems to be a bug where it will only create the file but then on the second run when the file exists it will populate it. I'm investigating the problem.
Re: CSV Read/Write or Output CSV
Posted: Wed Nov 16, 2022 10:26 am
by RGV250
Hi Ben,
I had already tried that but it does not populate it at all, I could live with that.
Should I actually need the create file as it is not needed in your one with File SD??
Bob
Re: CSV Read/Write or Output CSV
Posted: Wed Nov 16, 2022 12:14 pm
by BenR
Hi Bob,
Aha many thanks I have replicated the problem with the simulation of the File RPI component and have pushed a new update for this that should solve the issue for you.
I've also added more examples here for the CSV component when used with different File components.
https://www.flowcode.co.uk/wiki/index.p ... )#Examples
Re: CSV Read/Write or Output CSV
Posted: Wed Nov 16, 2022 5:14 pm
by RGV250
Hi Ben,
Thanks, that works in the sim, just got to find the time to merge it with the other stuff on the Pi now.
I think it is good that you have added different examples where the platform makes a difference as I am sure it will help a lot of people like me out.
Bob