# Get information about the serial com available with the node function

**URL:** <https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520>\
**Category:** General\
**Tags:** function-node\
**Created:** [12 August 2023 16:18 UTC](https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520 "2023-08-12T16:18:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JorgeTorres01](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgetorres01/32/79909_2.png) [@JorgeTorres01](https://discourse.nodered.org/u/JorgeTorres01)\
**Post date:** [12 August 2023 16:18 UTC](https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520/1 "2023-08-12T16:18:00Z")

</div>

Continuing the discussion from [Any possibility to choose the serial COM port in the dashboard?](https://discourse.nodered.org/t/any-possibility-to-choose-the-serial-com-port-in-the-dashboard/78517/7):

Hello,

I tried to solve the last issue adding multi nodes serialport in and out, and config them with COM1, COM2, .... this works but it is not a good approach.

I thought in another approach, using the node function:

1. get all COM available
2. get the serial number of each
3. choose the COM by serial number (I will use multi FTDI 232, and I will configure each a unique serial number)

How I can get all COM available and read serial number?

Thank you,  
Jorge

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 August 2023 16:20 UTC](https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520/2 "2023-08-12T16:20:11Z")

</div>

Check out the code for the Node-RED serial-in node. It contains a cross-platform lookup for serial ports.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 October 2023 16:20 UTC](https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520/3 "2023-10-11T16:20:28Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
