You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: