UART RX Interrupt in simulation

For general Flowcode discussion that does not belong in the other sections.
Post Reply
evolutiongtx
Posts: 6
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 12:48 am

UART RX Interrupt in simulation

Post by evolutiongtx »

Hi Team,

I noticed that UART RX interrupt doesnt seem to work during simulation, is it possible to have UART RX interrupts in simulation? Thanks!

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: UART RX Interrupt in simulation

Post by medelec35 »

Hi, evolutiongtx.
No, sorry. RX interrupt has never been able to simulate.
What I do is use IsSim to call the RX macro during simulation only.
I can help you with that if you are stuck.
Martin

evolutiongtx
Posts: 6
Joined: Sat Dec 05, 2020 12:48 am

Re: UART RX Interrupt in simulation

Post by evolutiongtx »

I would greatly appreciate it, how would I be able to do that? Thanks!

evolutiongtx
Posts: 6
Joined: Sat Dec 05, 2020 12:48 am

Re: UART RX Interrupt in simulation

Post by evolutiongtx »

Are you using a key binding to call the rx Macro during sim?

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: UART RX Interrupt in simulation

Post by medelec35 »

Hi, evolutiongtx.
I have attached a flowchart that works with Is Sim & keybinding to r.
To change the key, select Edit ribbon, and Key mappings
Unfortanlty, the flowchart will not fully work as injectors are in the process of being phased out and replaced with API calls.
However, there should be enough to give the basic idea.
If you are still a bit stuck, can you post your flowchart & I will modify it for you?
Attachments
Is Sim & Keybind RX Interrupt.fcfx
(16.73 KiB) Downloaded 121 times
Martin

Post Reply