Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Port Problem #2737

Open
iamardatasyurek opened this issue Dec 17, 2023 · 0 comments
Open

Connection Port Problem #2737

iamardatasyurek opened this issue Dec 17, 2023 · 0 comments

Comments

@iamardatasyurek
Copy link

SerialPort Version

12

Node Version

20

Electron Version

No response

Platform

Windows 10

Architecture

x64

Hardware or chipset of serialport

No response

What steps will reproduce the bug?

Running the programme for the first time.

What happens?

var port1 = new SerialPort({ path: 'COM1', baudRate: 9600, autoOpen: true })
var port2 = new SerialPort({ path: 'COM2', baudRate: 9600, autoOpen: true })
var port3 = new SerialPort({ path: 'COM3', baudRate: 9600, autoOpen: true })
var port4 = new SerialPort({ path: 'COM4, baudRate: 9600, autoOpen: true })

I have four serial ports. when I check them in the device manager I see that their names are COM1, COM2, COM3 and COM4. Sometimes I can only connect to COM3. Sometimes I can connect to COM1, COM3, COM4 and not COM2, sometimes I can connect to all of them. When I restart the programme I see that it connects to all of them.

What should have happened?

I had to connect to all of them.

Additional information

The same javascript file runs smoothly on 2 different computers (identical computers) that I have previously prepared.

I encountered the problem for the first time. Ports are available but not connected. When I restart, I see that they are all connected.

I need to connect the first time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant