-
Notifications
You must be signed in to change notification settings - Fork 595
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
Serialport - crashes using more than three serial ports #366
Comments
Hi @soundmanuk I assume there's an error message in the node-red log output that provides some details on what it is crashing with? When you say it loses all flows ... what do you mean? |
No error message, i add the node, configure for a fourth com port, deploy 1st time seems ok (no connected nodes), move it to re-deploy, press deploy and then the screen greys out as though its deploying the changes. at this point i have to crash out the browser and restart the service, at which point all the configs have been lost. |
I'm not asking about error messages in the browser. The node-red runtime will be logging its own output - where exactly will depend on how you've setup node-red to run. |
30 Oct 13:49:21 - [info] Welcome to Node-RED30 Oct 13:49:21 - [info] Node-RED version: v0.17.5 |
thats the log output. it just seems to hang completely. |
In your settings.js file ( That said, the log shows the runtime believes the deploy has completed (see the When its hung, can you check the process cpu usage? Is it suddenly maxed out? |
Log stays pretty much the same |
OK, I've done a fair bit more testing on this now. To clarify all com ports work fine outside of node-red/serialport node. I've had 8 ports open talking to various pieces of hardware with no issue whatsoever. I have the following at my disposal. 1 x USB - 4 port rs232 adapters, 2 x USB to 2 port rs232 adapters, 1 x 1 port RS322 Adapter. Test 1: 1 x 4 port cable, add ports 1 and 2 - all ok add port 3, deploys fine but doesn't send anything out of the port (debug messages do show in node red console). Add port 4, deploys first time but then crashes on any further deployment attempts. Test 2: using 2 x 2 port adapters, same results as Test 1. this got me thinking it may be a driver issue, but remember i've had 8 ports working outside node-red. Test 3: 1 x 1 Port, 1 x 2 Port. All 3 ports deploy and send ok. Hope that helps. I don't have any more gear to throw at testing it unfortunately. |
Hi, most odd - just managed to scrape together 4 ftdi single usb adapters and so far on my Pi they are all connecting ok - not a lot of data flowing to be honest - but not hanging or slowing down rest of ui. But... you are welcome to try the latest beta - which I'd like to release soon anyway... once it has been given a good testing... and this would help :-) in your user directory
|
I have two installations of node-red on windows machines, the serialport nodes work fine but only up to 3 com ports, 4 or more crashes node-red and loses all flows.
Have tried a usb to 4 com port cable and also virtual com ports.
Same issue on both.
The text was updated successfully, but these errors were encountered: