Hi Ben
With the App Developper Comport receive IntArray I can just receive 255 Byte because the length is probably one byte instead of one Int size
With the uart in the hardware I can sende longer integer array
Can this be extended if it is not a big effort?
App receive just smaller array:
Hardware send big aaray:
App Developper Comport receive IntArray extend
-
- Valued Contributor
- Posts: 1012
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 193 times
- Been thanked: 217 times
-
- Valued Contributor
- Posts: 1012
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 193 times
- Been thanked: 217 times
Re: App Developper Comport receive IntArray extend
Hi Ben
It is very easy and comfortable to send data array from processor to app and save it into a file. If these are integer array I can create wavefile very easily. I just have to create the header and it works. But unfortunately the appdevelopper can only receive small arrays. probably this makes my transfer too slow. would it be possible to extend this? or is there a better option?
Save to wave file is ok:
It is very easy and comfortable to send data array from processor to app and save it into a file. If these are integer array I can create wavefile very easily. I just have to create the header and it works. But unfortunately the appdevelopper can only receive small arrays. probably this makes my transfer too slow. would it be possible to extend this? or is there a better option?
Save to wave file is ok:
-
- Matrix Staff
- Posts: 1954
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 626 times
- Been thanked: 656 times
Re: App Developper Comport receive IntArray extend
Hi Stefan.
I have made the requested change for you.
Although you know how to update flowcode with the attached component ,I will all instructions for anyone who does not know.
Browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.
Place the attached component.
If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).
After testing, can you let me know how you get on.
I have made the requested change for you.
Although you know how to update flowcode with the attached component ,I will all instructions for anyone who does not know.
Browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.
Code: Select all
%ProgramData%\MatrixTSL\FlowcodeV10\Components
If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).
After testing, can you let me know how you get on.
- Attachments
-
- COMPort.fcpx
- (51.15 KiB) Downloaded 29 times
Martin
-
- Valued Contributor
- Posts: 1012
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 193 times
- Been thanked: 217 times
Re: App Developper Comport receive IntArray extend
Hi Martin
It looks like sending an array with the component uart is also limited to a byte value. I already have problems with sending
even if I can enter an integer value.
Component:
It looks like sending an array with the component uart is also limited to a byte value. I already have problems with sending
even if I can enter an integer value.
Component:
-
- Matrix Staff
- Posts: 1954
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 626 times
- Been thanked: 656 times
Re: App Developper Comport receive IntArray extend
Hi Stefan.
Can you see if the attached works as you want it to?
Can you see if the attached works as you want it to?
- Attachments
-
- COMPort.fcpx
- (51.16 KiB) Downloaded 32 times
Martin
-
- Valued Contributor
- Posts: 1012
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 193 times
- Been thanked: 217 times
Re: App Developper Comport receive IntArray extend
Hi Martin
APPDEVELOPPER:
Yes perfect! It's working now to receive bigger array than 255 values.
I have to be a little careful now it's no longer ret_byte now it's ret_int
--------------------------------------------------------------------------------------------------
STM BOARD:
With the component uart sending with the STM32 is a problem. but I have been able to solve that for the moment.
If I use the command send_array with a high value then it continues to send without stopping always the same data.
But Anyway I would like to change my board and use this hardware in the post.
I still have no information, how to do this with STM32F405 and USB connection
https://flowcode.co.uk/forums/viewtopic.php?t=2991
working this way, with ST-LINK/V2 on the board
APPDEVELOPPER:
Yes perfect! It's working now to receive bigger array than 255 values.
I have to be a little careful now it's no longer ret_byte now it's ret_int

--------------------------------------------------------------------------------------------------
STM BOARD:
With the component uart sending with the STM32 is a problem. but I have been able to solve that for the moment.
If I use the command send_array with a high value then it continues to send without stopping always the same data.
But Anyway I would like to change my board and use this hardware in the post.
I still have no information, how to do this with STM32F405 and USB connection
https://flowcode.co.uk/forums/viewtopic.php?t=2991
working this way, with ST-LINK/V2 on the board
-
- Matrix Staff
- Posts: 1954
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 626 times
- Been thanked: 656 times
Re: App Developper Comport receive IntArray extend
That's great, sounds like you are happy with the changes.stefan.erni wrote: ↑Wed Apr 09, 2025 9:32 amAPPDEVELOPPER:
Yes perfect! It's working now to receive bigger array than 255 values.
Yes , it made sense as if you are using a count of more than 255 numbers, then the value returned of Course should be a UInt or int.stefan.erni wrote: ↑Wed Apr 09, 2025 9:32 amI have to be a little careful now it's no longer ret_byte now it's ret_int![]()
In the release version probably better as UInt.
Martin
-
- Valued Contributor
- Posts: 1012
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 193 times
- Been thanked: 217 times
Re: App Developper Comport receive IntArray extend
Hi Martin
Yes, this app-developper is really great. I send the data from USB or Bluetooth and can display it in a live chart or in different bars.
Simply save to CSV file and at the same time to wave file and also save an automatic printscreen at the end of the recording. Only the data transfer is (was) not yet good enough.
Maybe you could take this opportunity to change the other component on the embedded board.
I will test and post the result here again
component on the embedded board:
Yes, this app-developper is really great. I send the data from USB or Bluetooth and can display it in a live chart or in different bars.
Simply save to CSV file and at the same time to wave file and also save an automatic printscreen at the end of the recording. Only the data transfer is (was) not yet good enough.
Maybe you could take this opportunity to change the other component on the embedded board.
I will test and post the result here again
component on the embedded board: