Page 1 of 1
App Developper Comport receive IntArray extend
Posted: Fri Mar 21, 2025 3:06 pm
by stefan.erni
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:

- 2025-03-21_15-54-41.PNG (55.05 KiB) Viewed 5560 times
Hardware send big aaray:

- 2025-03-21_15-51-49.PNG (26.87 KiB) Viewed 5560 times
Re: App Developper Comport receive IntArray extend
Posted: Mon Apr 07, 2025 3:02 pm
by stefan.erni
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:

- 2025-04-07_15-51-15.PNG (95.94 KiB) Viewed 5257 times
Re: App Developper Comport receive IntArray extend
Posted: Mon Apr 07, 2025 3:48 pm
by medelec35
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.
Code: Select all
%ProgramData%\MatrixTSL\FlowcodeV10\Components
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.
Re: App Developper Comport receive IntArray extend
Posted: Tue Apr 08, 2025 3:36 pm
by stefan.erni
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:

- 2025-04-08_16-33-54.PNG (2.22 KiB) Viewed 5098 times

- 2025-04-08_16-29-09.PNG (11.76 KiB) Viewed 5098 times

- 2025-04-08_16-30-54.PNG (141.07 KiB) Viewed 5098 times
Re: App Developper Comport receive IntArray extend
Posted: Tue Apr 08, 2025 4:06 pm
by medelec35
Hi Stefan.
Can you see if the attached works as you want it to?
Re: App Developper Comport receive IntArray extend
Posted: Wed Apr 09, 2025 9:32 am
by stefan.erni
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

- 2025-04-09_10-06-02.PNG (134.13 KiB) Viewed 4949 times
--------------------------------------------------------------------------------------------------
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

- 2025-04-09_10-07-41.PNG (181.75 KiB) Viewed 4949 times
Re: App Developper Comport receive IntArray extend
Posted: Wed Apr 09, 2025 12:42 pm
by medelec35
stefan.erni wrote: ↑Wed Apr 09, 2025 9:32 am
APPDEVELOPPER:
Yes perfect! It's working now to receive bigger array than 255 values.
That's great, sounds like you are happy with the changes.
stefan.erni wrote: ↑Wed Apr 09, 2025 9:32 am
I have to be a little careful now it's no longer ret_byte now it's ret_int
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.
In the release version probably better as UInt.
Re: App Developper Comport receive IntArray extend
Posted: Wed Apr 09, 2025 3:18 pm
by stefan.erni
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:

- 2025-04-09_16-00-41.PNG (8.16 KiB) Viewed 4810 times