Using Logic to Write to a File or Serial Port
You can use the OPEN_PORT and WRITE_FILE functions to write data to a serial port. This is useful for exporting ASCII data to a serial port.
You can also use the WRITE_FILE function to write data to a file. For more information, please refer to: