Search found 869 matches

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))
by nicolaiB
25 Jan 2024, 21:22
Forum: RevPiModIO
Topic: AttributeError: can not find io 'HEATER_V'
Replies: 8
Views: 576

Re: AttributeError: can not find io 'HEATER_V'

readprocimg is also mentioned in the link above. revpimodio2 provides the handy function replace_io, which can create an virtual IO based on the provided data type. In your example the definition would look something like this: import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True) rpi.io...
by nicolaiB
25 Jan 2024, 18:59
Forum: RevPiModIO
Topic: AttributeError: can not find io 'HEATER_V'
Replies: 8
Views: 576

Re: AttributeError: can not find io 'HEATER_V'

Hi The warnings are a hint for duplicate variable / devices names. In order to get values from the process image you have to use revpimodio with autorefresh=True or call the read_procimg() method. More details can be found in the API documentation or one the the linked examples: https://revpimodio.o...
by nicolaiB
25 Jan 2024, 16:41
Forum: RevPiModIO
Topic: Configuration of AIO module using revpimodio2 Python library
Replies: 1
Views: 169

Re: Configuration of AIO module using revpimodio2 Python library

No, unfortunately this is not possible (yet).

Nicolai
by nicolaiB
25 Jan 2024, 16:22
Forum: Software
Topic: Anscheinend Treiberproblem nach Update auf bullseye-armhf-lite
Replies: 1
Views: 472

Re: Anscheinend Treiberproblem nach Update auf bullseye-armhf-lite

Hallo Ingo, ich kenne logi rts jetzt nicht im Detail und kann daher mit der Meldung nicht viel anfangen. Eine kurze Suche nach RTSS_REVPI_IO fördert aber folgende Anleitung von logirts zu Tage: https://help.logicals.com/display/LC3UserDocuDE/Revolution+Pi-Projekte+oder+logi.RTS+fuer+Revolution+Pi+au...
by nicolaiB
21 Jan 2024, 12:51
Forum: PiCtory
Topic: DIO Ausgänge schalten nicht
Replies: 12
Views: 55013

Re: DIO Ausgänge schalten nicht

Schaut korrekt aus. Siehst du denn ein Bild wenn du das funktionierende Image bootest?

Nicolai
by nicolaiB
20 Jan 2024, 23:57
Forum: PiCtory
Topic: DIO Ausgänge schalten nicht
Replies: 12
Views: 55013

Re: DIO Ausgänge schalten nicht

Hi Martin, danke für dein Feedback. Normalerweise solltest du zumindest den Regenbogen vom Bootloader sehen. Kannst du bitte mal die Checksumme von deinem Image abgleichen? Nicht das etwas mit dem Download nicht richtig geklappt hat und das geflashte Image deswegen kaputt ist. Alles schon selbst geh...
by nicolaiB
18 Jan 2024, 11:42
Forum: Software
Topic: Adding Balena-OS support for revpi-connect-4
Replies: 27
Views: 120592

Re: Adding Balena-OS support for revpi-connect-4

Hi RevPaul,

the Balena devs have received the hardware and are working on this. I expect the support to be ready by end of q1 or earlier and will keep you updated.

Nicolai
by nicolaiB
17 Jan 2024, 13:27
Forum: Software
Topic: PROBLEM WITH BOOT IMAGE
Replies: 3
Views: 778

Re: PROBLEM WITH BOOT IMAGE

No, nothing is wrong, it's just a warning about optional missing files. The files are intentionally missing / rpiboot checks for optional files.

Nicolai
by nicolaiB
16 Jan 2024, 22:42
Forum: PiCtory
Topic: PiCtory leer nach Update --> lässt sich nicht mehr konfigurieren
Replies: 18
Views: 12023

Re: PiCtory leer nach Update --> lässt sich nicht mehr konfigurieren

Versuch mal die Konfigurationen unter /var/www/pictory/projects (*.rsc) zu verschieben (Backup). Wenn es an der Config liegt sollte Pictory danach ohne Probleme laden.

Nicolai