Search found 43 matches

by Brendan
Thu Feb 22, 2024 10:42 pm
Forum: Bug Reports
Topic: Under-reported no. of bytes in circular buffer
Replies: 4
Views: 330

Re: Under-reported no. of bytes in circular buffer

Hi ChipFryer, Unfortunately, this is for a professional project and I'm prohibited from publicly sharing project details, so I've just shared the debug code added to the end of the main loop to exemplify the issue and test results. The main program loop was simply jumpered with a go-to from start of...
by Brendan
Thu Feb 22, 2024 9:01 pm
Forum: Bug Reports
Topic: Under-reported no. of bytes in circular buffer
Replies: 4
Views: 330

Under-reported no. of bytes in circular buffer

Hi Guys. I presently have six active hardware UARTS on an STM32F407 micro. Each UART is served by an Rx-Int, each calling a separate dedicated interrupt service macro for each port, and the data is captured to separate circular buffers for each UART. In the main thread, it was my intention to branch...
by Brendan
Tue Feb 20, 2024 12:21 am
Forum: Feature Requests
Topic: Variable Name Confirmation in Pop-Up
Replies: 1
Views: 414

Variable Name Confirmation in Pop-Up

When cleaning up code by group-selection of often hundreds of variables for redundant deletion, hitting delete, and relying on Flowcode to find/confirm variables in use, the resulting pop-up states where variables are used but not the name of the variable itself. Flowcode Pop-Up No Var Name.png Conf...
by Brendan
Thu Feb 15, 2024 3:28 pm
Forum: Feature Requests
Topic: Defaults for custom macro parameter field(s)
Replies: 1
Views: 352

Defaults for custom macro parameter field(s)

When working with macros it is required to re-enter input values in all parameter fields every time. However, I'm finding that if it were possible to set editable default value(s) within the macro itself (i.e. highlighted default entries specified in the macro edits), then could save considerable ti...
by Brendan
Wed Jan 31, 2024 10:18 am
Forum: Bug Reports
Topic: Error when returning a string from a macro
Replies: 7
Views: 754

Re: Error when returning a string from a macro

UPDATE... I can confirm the following, per Kersing's experience and advice: 1. I created a new macro, setting the .return type to 'string' immediately on creation , and with added local vars the same as the problem macro. 2. Copy-pasted the flow from the problem macro to new macro. 3. Removed all ca...
by Brendan
Tue Jan 30, 2024 10:42 am
Forum: Bug Reports
Topic: Error when returning a string from a macro
Replies: 7
Views: 754

Re: Error when returning a string from a macro

Thank you Steve and Kersing.

Kersing's suggestion could indeed work, as originally .return was declared as integer until changed and macro code modified to pass back a string.

Will update once tried and tested against your suggestions :)

Many thanks!
Brendan
by Brendan
Tue Jan 30, 2024 8:49 am
Forum: Bug Reports
Topic: Error when returning a string from a macro
Replies: 7
Views: 754

Re: Error when returning a string from a macro

Thanks Chip... The .return is declared within the macro editing pane, the var type set when creating the macro (i.e. drop-down at the bottom of the macro edit pane), and the name .return is therefore reserved for this purpose and data type already declared. Various data types are available and, as y...
by Brendan
Tue Jan 30, 2024 1:07 am
Forum: Bug Reports
Topic: Error when returning a string from a macro
Replies: 7
Views: 754

Error when returning a string from a macro

I tried to return a short string compiled inside a macro.

The .return type parameter was appropriately declared as 'string'.

However, when I try to copy the compiled string to .return in a calculation, the following results...

FC_Returning_String_Error.png
FC_Returning_String_Error.png (70.51 KiB) Viewed 754 times


Thanks and regards,

Brendan
by Brendan
Wed Nov 29, 2023 12:47 pm
Forum: Projects - Embedded
Topic: MODBUS using ENC28J60 tcp/ip component isn't working
Replies: 10
Views: 10210

Re: MODBUS using ENC28J60 tcp/ip component isn't working

Good luck! I was heavily involved with putting that course together when we first did it (a long time ago!). I've not really looked at it recently though, but I hope it helps your project. An extremely well-structured and well-written document, if I may say so! Thank you Steve - Precisely the infor...
by Brendan
Thu Nov 23, 2023 12:25 pm
Forum: Projects - Embedded
Topic: MODBUS using ENC28J60 tcp/ip component isn't working
Replies: 10
Views: 10210

Re: MODBUS using ENC28J60 tcp/ip component isn't working

Thank you Steve - Most sincerely appreciated, and drilling down I note the instructional material is relevant to the ENC28J60.

I have but two weeks to get the project working reliably and integrated at system-level, so wish me luck :)