Hi Guilherme,
Man... You are swimming in deep water, without safe devices... lol
OutSystems applications, being web applications, have some limitations.
One of them is that the app runs in a browser, for security reasons, basically prevents you from accessing the client machine (hardware included).
So, you will mostly NOT be able to access the com port directly from the OutSystems app.
I recommend reading this: https://stackoverflow.com/questions/15171522/how-can-a-web-page-read-from-the-users-serial-port-in-the-year-2017
Basically, you will have to create a native app that will be able to connect to your app (websockets or webservice) and you will retrieve the info through it.
Maybe someone else knows an easier way, but I don't think so...
Anyway, good luck!
Cheers
Eduardo Jauch