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

Node red event loop delaying due to socket can node #42

Open
Bhanu5302 opened this issue Oct 3, 2024 · 5 comments
Open

Node red event loop delaying due to socket can node #42

Bhanu5302 opened this issue Oct 3, 2024 · 5 comments

Comments

@Bhanu5302
Copy link

Bhanu5302 commented Oct 3, 2024

In node-red-contrib-socketcan 1.2.9 version, whenever the data has been requested from socket can in node for every 250ms, when socket can out node is added to the flow, the other part of the code execution is getting slower.
My CAN baudrate is configured at 125kbps

@Bhanu5302 Bhanu5302 changed the title Nod red event loop delaying due to socket can node Node red event loop delaying due to socket can node Oct 3, 2024
@grodansparadis
Copy link
Owner

OK I have not noticed this behavior. Would expect that it originate from lower layers but will check. Thanks for reporting.

@Bhanu5302
Copy link
Author

OK I have not noticed this behavior. Would expect that it originate from lower layers but will check. Thanks for reporting.

Yeah, I also suspecting this issue from lower layers. Whenever I'm installing the node-red-contrib-socketcan v1.2.9 version, I'm getting errors due to no longer supported module, I think that may be the issue. If you are aware can you just confirm ?
Uploading image.png…
Uploading image (1).png…

@grodansparadis
Copy link
Owner

I can't view the pictures. Do you get the warnings with the current version 1.2.14 also. There was a mismatch in version requests of modules in previous versions which is solved.

@Bhanu5302
Copy link
Author

I can't view the pictures. Do you get the warnings with the current version 1.2.14 also. There was a mismatch in version requests of modules in previous versions which is solved.
image

I didn't checked the latest version, bcz I don't have permissions to update the node red version..now i'm using node red 3.0.2, the latest socket module will install only on node red version >3.0.2
Like what kind of issues in node-red-contrib-socketcan module v1.2.9
Because whenever I'm exchanging data through socket CAN, the node red event loop is blocking for sometime

@grodansparadis
Copy link
Owner

Sorry for the delay here. I have been away from office. In the old version there are requirements for old versions of submodules, among other old version of node-red (used for debug) which is not needed. The dependencies section in package.json should have

"bcrypt": ">=5.0.1",
"minimist": ">=1.2.6",
"socketcan": ">=3.0.0",
"util": ">=0.12.4"

There are some other changes but none that should cause the behavior you see.

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

No branches or pull requests

2 participants