Here are the commands I used:libphidget22extra.so.0: cannot open shared object file: No such file or directory
Code: Select all
cd libphidget22-1.6.20201117
./configure && make && sudo make install
cd /home/pi/Phidget-biblioteker/libphidget22extra-1.6.20201117
./configure && make && sudo make install
cd /home/pi/Phidget-biblioteker/phidget22networkserver-1.6.20201117
./configure && make && sudo make install
Code: Select all
make
make: Nothing to be done for 'all'.
Code: Select all
sudo echo /usr/local/lib >> /etc/ld.so.conf && sudo ldconfig
bash: /etc/ld.so.conf: No access
Code: Select all
wget -qO- http://www.phidgets.com/gpgkey/pubring.gpg | sudo apt-key add - && sudo bash -c "echo 'deb http://www.phidgets.com/debian stretch main' > /etc/apt/sources.list.d/phidgets.list"
sudo apt-get update
sudo apt-get install libphidget22
npm install node-red-contrib-phidget22
sudo apt-get install phidget22networkserver -y
sudo apt-get install phidget22admin -y
sudo mousepad /lib/systemd/system/phidgetsserver.service
sudo chmod 644 /lib/systemd/system/phidgetsserver.service
sudo systemctl enable /lib/systemd/system/phidgetsserver.service
Code: Select all
Attempting to Connect to Server (127.0.0.1:5661)
Attempting to Open DigitalOutput (SN:15593, Ch:2)
Connect Success (127.0.0.1:5661)
DigitalOutput Opened (SN:15593, Ch:2)
setLEDForwardVoltage (in onAttach) not supported
setLEDCurrentLimit (in onAttach) not supported
Open failed:PhidgetError: Open timed out
LED Forward Voltage: volts_1_7
LED Current Limit: 0.02
Channel: 2 (I assume this is the port to open, but I'm not sure)
Serial #: 15593
Using a VINT Port in DigitalOutput mode? Tried both on and off
Users browsing this forum: No registered users and 0 guests