How can read a Virtual COM Port on Ignition

Hello, Guys! I need integrate the ignition with another 3rd software, so I wanna connect my tag with a Virtual COM Port and record the data from Virtual COM Port in my tag. How can I do it ?

https://docs.inductiveautomation.com/display/DOC81/Serial+Modules

You’d probably read from the serial port and write it to a memory tag, or vice versa.

I got it. But, now I need to connect a external button with ignition. This button is on a wireless device, the comunication is throught Virtual COM Port. How can I do it ?

What is that button going to send? Once you have a message received with the serial port data receive functions, how you decipher it and what you do with it is entirely up to your script.