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
Apparently, new SerialPort(...) will automatically open the port unless adding option autoOpen: false. Since modbus-serial is also opening this port we seem to get Port is opening and app bails out.
I'm in a bit of a hurry but I simply tried to add autoOpen: false to the options object but it didn't seem to have any effect unfortunately. Maybe this is actually caused because of something else?
The text was updated successfully, but these errors were encountered:
Apparently,
new SerialPort(...)
will automatically open the port unless adding optionautoOpen: false
. Since modbus-serial is also opening this port we seem to getPort is opening
and app bails out.I'm in a bit of a hurry but I simply tried to add
autoOpen: false
to the options object but it didn't seem to have any effect unfortunately. Maybe this is actually caused because of something else?The text was updated successfully, but these errors were encountered: