Page 1 of 1

terminal to API Allcode to Hardware Allcode simulation

Posted: Tue Dec 14, 2021 11:16 am
by sundgau
Hello, would it be possible to have a modification of the Formula AllCode API so that we can send an external command in USBserial and transfer it to the Formula AllCode hardware in simulation.
The idea is to be able to test the commands coming from a terminal (here Termite) or from a windows application or others.
Screen Shot 12-14-21 at 10.32 AM.JPG
Screen Shot 12-14-21 at 10.32 AM.JPG (113.96 KiB) Viewed 4184 times
Best regards

Bruno

Re: terminal to API Allcode to Hardware Allcode simulation

Posted: Tue Dec 14, 2021 4:07 pm
by Benj
Hi Bruno,

If you use the USB Serial or COM port components then it should be possible to send commands to the FA hardware, there's no need for the API component as this simply does the same thing.

Or we can add a function to the API component if you just want access to read/write the com port directly.

Re: terminal to API Allcode to Hardware Allcode simulation

Posted: Wed Dec 15, 2021 5:17 pm
by sundgau
Hi Benj,

I would like to take advantage of all the macros in the api and act on the Allcode hardware. It would indeed require an additional function on the API interacting with the API Target method /Formula AllCode Sim functionality.
This would allow to test all the codes with labview, python, flowcode of course, and from a terminal... and to see the result in simulation on the hardware.
Do you think you can make the change for the start of school in January!
In the meantime, happy Christmas and New Year.

Bruno

Re: terminal to API Allcode to Hardware Allcode simulation

Posted: Fri Jan 21, 2022 9:01 am
by sundgau
Hello Benj,
Do you think you can answer my request?
Best regards

Bruno