Hi Ben
I use the FAT component in a hardware with a PIC32 and a micro sd card. This works very reliably and without any problems. With this I take recordings for several hours and then load the file into the PC via cardreader. So far, I have always opened these files with Matlab and edited and saved them.
I prefer do this with the app developer. That's just better.
The app developer has an similar FAT component. This component is very practically to create a file for test and also to create and test a file header. This program code can be easily transferred later to the embedded system.
What I would like to ask:
Can I load my recorded file from the SD-Card (or the copy on the computers SSD Disk) in the app developer much faster, then edit it and save it again much faster with and with a "long" filename?
Is there a way to have a File open / File save menu in the App developer?
regards
Stefan
App Developer File open / File save menu
-
- Valued Contributor
- Posts: 997
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: App Developer File open / File save menu
Hi Ben
Some more wish for the App Developer.
A additional component just working in the App Developer called NTFS File I/O.
should be extremely fast and very simple to use.
Just a buffer or a DSP component to define and some information for the header.
regards
Stefan
And some parameter to set for example:
Some more wish for the App Developer.
A additional component just working in the App Developer called NTFS File I/O.
should be extremely fast and very simple to use.
Just a buffer or a DSP component to define and some information for the header.
regards
Stefan
And some parameter to set for example:
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: App Developer File open / File save menu
Hi Stefan,
Some great requests there.
The App developer File component should allow you to read/write local files on the file system and it will work with both FAT and NTFS file systems and long file names. Long file name support for embedded is on my list but it's not straightforward.
As for file open and saving, yes this can be done but at the moment it's more a case for the user to implement these switches and perform the functionality. Maybe we can do a bit more so an entire file can be loaded into memory, edited and then saved back to the disk on requests. I'll investigate this.
The CSV Read/Write component provides an easy interface to allow you to easily read and write data and may be useful depending on your application. However if you need full control of the file then the File component is probably the one to use for now. There are also DSP file input and output components which should do similar things to the CSV Read/Write component.
Some great requests there.
The App developer File component should allow you to read/write local files on the file system and it will work with both FAT and NTFS file systems and long file names. Long file name support for embedded is on my list but it's not straightforward.
As for file open and saving, yes this can be done but at the moment it's more a case for the user to implement these switches and perform the functionality. Maybe we can do a bit more so an entire file can be loaded into memory, edited and then saved back to the disk on requests. I'll investigate this.
The CSV Read/Write component provides an easy interface to allow you to easily read and write data and may be useful depending on your application. However if you need full control of the file then the File component is probably the one to use for now. There are also DSP file input and output components which should do similar things to the CSV Read/Write component.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: App Developer File open / File save menu
Hi Ben
The FAT system works very reliably and without any problems. So I sample data and record it during the night with 2khz and 12channels.
So next day a have a 2Gigabyte file. With the speed from the FAT component I can not load and save it with the App Developer in a useful time.
The App Developer has some very nice DSP component like filter, rectifier, median and much more. So it looks as very good tool and perfect for analyze and converting the recording.
With my computer and a nvme ssd in the App Developer at the moment i'm not faster than a PIC32 embedded.
Maybe there's a simple reason why it's not faster
If you can have a look to this post?
regards
Stefan
https://flowcode.co.uk/forums/viewtopic.php?f=9&t=326
The FAT system works very reliably and without any problems. So I sample data and record it during the night with 2khz and 12channels.
So next day a have a 2Gigabyte file. With the speed from the FAT component I can not load and save it with the App Developer in a useful time.
The App Developer has some very nice DSP component like filter, rectifier, median and much more. So it looks as very good tool and perfect for analyze and converting the recording.
With my computer and a nvme ssd in the App Developer at the moment i'm not faster than a PIC32 embedded.
Maybe there's a simple reason why it's not faster
If you can have a look to this post?
regards
Stefan
https://flowcode.co.uk/forums/viewtopic.php?f=9&t=326
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: App Developer File open / File save menu
Hi Ben
Would it be possible to have a simple file open menu in the future?
To make it easier to browse and select a file.
Like this example:
I would like to open with the App Developer, some data file, that was created with FC9 and a PIC, so that I can analyze it.Is there a way to have a File open / File save menu in the App developer?
Would it be possible to have a simple file open menu in the future?
To make it easier to browse and select a file.
Like this example:
- Attachments
-
- menue_2022-02-11_16-41-24.png (221.06 KiB) Viewed 4069 times
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: App Developer File open / File save menu
Hi Ben
Using the built-in fuction in Flowcode APP Developper is working nice.
Only a File-open menu is missing. Is there a possibility to create something?
I created a short info how easy file read/write with the app is but somehow a selection when opening a file would be a good addition
regards
Stefan
Using the built-in fuction in Flowcode APP Developper is working nice.
Only a File-open menu is missing. Is there a possibility to create something?
I created a short info how easy file read/write with the app is but somehow a selection when opening a file would be a good addition
regards
Stefan
- Attachments
-
- File_use_built_in_Function.pdf
- (249.89 KiB) Downloaded 481 times