Search found 868 matches

by nicolaiB
02 Feb 2024, 10:36
Forum: Hardware
Topic: How to unplug individual wire of PCB connectors
Replies: 5
Views: 643

Re: How to unplug individual wire of PCB connectors

If you're using ferrules (depending on the crimp pattern) it can be sometimes helpful to twist a little while pulling.

Nicolai
by nicolaiB
02 Feb 2024, 08:58
Forum: Connectivity
Topic: RevPi Connect: Zugriff über 2 Netzwerkkarten
Replies: 7
Views: 1127

Re: RevPi Connect: Zugriff über 2 Netzwerkkarten

Hi Christian, wenn du ohne extra Routen aus dem einem Netz auf einen bestimmten Port (z.B. vom Webinterface) eines Gerätes im Sensornetz zugreifen willst, würde ich mit Portweiterleitungen arbeiten. So aus dem Kopf: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT --to-destination 192.168.0...
by nicolaiB
31 Jan 2024, 19:19
Forum: CODESYS
Topic: Problem with the new runtime
Replies: 3
Views: 1100

Re: Problem with the new runtime

Thanks for letting us know. Probably this will help other users upgrading.

Nicolai
by nicolaiB
31 Jan 2024, 19:18
Forum: Software
Topic: AIO missing decimal point
Replies: 2
Views: 280

Re: AIO missing decimal point

The value in process image is of type integer. Multiplier and Divisor are applied to the same integer feld, thus no decimals If you want to have a float value, I suggest to do the processing in your application.

Nicolai
by nicolaiB
31 Jan 2024, 14:02
Forum: Software
Topic: Real Time Output - Scripts
Replies: 1
Views: 229

Re: Real Time Output - Scripts

You get call piTest with `-1` and it will return asap the value has been printed. I guess the ~45 secs are result of your timer
by nicolaiB
30 Jan 2024, 21:30
Forum: Software
Topic: webpage password not working
Replies: 9
Views: 3731

Re: webpage password not working

The above posted /boot/config.txt gave it away: The dtoverlay=revpi-core is missing, so the device did not know which pins to connect to what. Thus nothing really will work (eg. piSerial which relies on the crypto chip). The overlay is usualy set during factory reset which you might omitted with the...
by nicolaiB
30 Jan 2024, 09:05
Forum: Software
Topic: webpage password not working
Replies: 9
Views: 3731

Re: webpage password not working

Hi

From which version did you upgrade to Bullseye and how?

Looks like the security chip is not initialized. Could you please share the content of dmesg and /boot/config.txt.

Nicolai
by nicolaiB
29 Jan 2024, 12:48
Forum: RevPiModIO
Topic: Incorrect Analog output when using RevPiModIO
Replies: 7
Views: 537

Re: Incorrect Analog output when using RevPiModIO

Which version of revpimodio2 are you using? /etc/revpi/config.rsc should be a symlink to /var/www/pictory/projects/_config.rsc (on Stretch) or /var/www/revpi/pictory/projects/_config.rsc (on Buster and upwards). NOTE: Pictory version 1.4.7 is (very) outdated, thus you must be using an outdated versi...
by nicolaiB
29 Jan 2024, 12:43
Forum: RevPiModIO
Topic: AttributeError: can not find io 'HEATER_V'
Replies: 8
Views: 576

Re: AttributeError: can not find io 'HEATER_V'

Try to set the wordorder import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True) rpi.io.HEATER_V_HB.replace_io('heater_v', 'H', byteorder='little', wordorder='little') print("value=" + str(rpi.io.heater_v.value)) or import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True...
by nicolaiB
26 Jan 2024, 14:35
Forum: RevPiModIO
Topic: AttributeError: can not find io 'HEATER_V'
Replies: 8
Views: 576

Re: AttributeError: can not find io 'HEATER_V'

Looks like you're using an older image with python3, which does not support f strings. Try:

Code: Select all

import revpimodio2
rpi = revpimodio2.RevPiModIO(autorefresh=True)
rpi.io.HEATER_V_HB.replace_io('heater_v', 'H', byteorder='little')
print("value=" + str(rpi.io.heater_v.value))