Search Results

by osrenterprises
Sun Sep 19, 2021 12:53 am
Forum: Javascript
Topic: Can't execute connection.connect() on node.js
Replies: 2
Views: 25201

Re: Can't execute connection.connect() on node.js

Hi, Thanks for your reply. What version of npm package 'phidget22' did you install? regarding your comments : 1. I have the require statement in the top of my code (forgot to mentioned it in my post). 2. as for the 'const initPhidgetChannel = () => {' - I do the entire connection/channel init in thi...
by osrenterprises
Tue Sep 14, 2021 4:57 am
Forum: Javascript
Topic: Can't execute connection.connect() on node.js
Replies: 2
Views: 25201

Can't execute connection.connect() on node.js

I'm trying to develop node.js webserver that interact with my phidgetAnalog 4-Output. I've installed all the needed libraries according to the Phidget Getting started user guide. I Create a conn object and try to run conn.connect() but the code keep on crashing to the point it doesn't even breaks in...