Page 1 of 1
App Developer Background Images
Posted: Thu Jan 28, 2021 9:04 am
by Oscar_T
Hi
I am making a control panel, and would like to use a background image to help me with the graphics.
In simulation everything is ok, when I go to export the app instead the background image is not exported.
Re: App Developer Background Images
Posted: Thu Jan 28, 2021 9:47 am
by Steve-Matrix
That may not currently be supported.
Please post your App Developer project file (not the deployed app) and I will see if there is a workaround (or PM the project to me if you want it to remain private).
Re: App Developer Background Images
Posted: Thu Jan 28, 2021 10:18 am
by Oscar_T
Hi Steve
I can share the program, maybe it can help others too
Re: App Developer Background Images
Posted: Thu Jan 28, 2021 11:17 am
by BenR
Hello,
Here you go this seems to be working.
- Demo.zip
- (55.22 KiB) Downloaded 781 times
I created a 2D panel object and added the image as a texture and then added the image as a resource during the export to app process.
Re: App Developer Background Images
Posted: Thu Jan 28, 2021 4:07 pm
by Oscar_T
Hello Ben
Many thanks!
Re: App Developer Background Images
Posted: Fri Jan 29, 2021 8:58 am
by Oscar_T
Hi
I have a problem with the serial connection between the board and the program. On the one hand I have a pcb with an stm32f031 and an FT234XD converter and on the other hand the windows pc with the application ( app developer). As long as I have to send a single byte all ok, as soon as I try to send an array I have problems.
For example the PC program sends three bytes (0x4D 0x4D, 0x4D). The pcb receives the data correctly and gives the correct answer (0x7B).
At this point the pc program sends 3 bytes again (0xFB, 0xFB, 0xFB) and expects to receive an additional acknowledgment byte (0x7B) and a subsequent 6-byte array containing the values. The pcb sends the confirmation byte (0x7B) but is unable to send the 6 byte array
What can it depend on?
I attach both the app and the program
EDIT
I tried using a terminal and sending the usual commands. with the terminal it seems to work(I tried with termite 3.4)
I am attaching the software configuration through which everything seems to work correctly ( only on termite 3.4)
Re: App Developer Background Images
Posted: Sat Jan 30, 2021 3:47 pm
by Oscar_T
Hi an update on the program.
I was able to get it to work correctly and now the application and the card are talking correctly.
in What was I wrong?
How did I manage the incoming data from the com. Following jay_dee's example I use a temporal interrupt to check the com port buffer.
The com port data is then placed in a circular buffer.
Re: App Developer Background Images
Posted: Fri Jun 25, 2021 3:19 pm
by Oscar_T
Hi
I have a problem with background image export. If I transfer the folder to another PC, the background image disappears
Re: App Developer Background Images
Posted: Fri Jun 25, 2021 3:30 pm
by Steve-Matrix
The image itself is not saved as part of the Flowcode project file, but its location is. This location might be absolute (full path starting with a drive letter) or be a path relative to the project file (starting with ".\" or "..\"). It looks like Flowcode cannot find the file because it is not in the location it thinks it is in.
To fix this, simply browse to the correct location in the "Image" property of the rectangle shape you are using as the background.
Re: App Developer Background Images
Posted: Fri Jun 25, 2021 4:14 pm
by Oscar_T
I Steve
Thanks for your help, I have now been able to move the folder to another computer and the background image is in place
Kind regards