Search found 322 matches

by RevPiModIO
23 Feb 2023, 16:17
Forum: Hardware
Topic: How to use status signals for modules health
Replies: 5
Views: 2203

Re: How to use status signals for modules health

In RevPiModIO, the status of the modules can be read via their variables in the process image. Each DIO/DO/DI module has a status word (16 bits) which indicates various errors, see link. https://revolutionpi.com/tutorials/overview-revpi-io-modules/configuration-digital-io-modules/ In control project...
by RevPiModIO
08 Feb 2023, 06:54
Forum: RevPiModIO
Topic: Negative Values
Replies: 2
Views: 2364

Re: Negative Values

Hi!

You can configure the IO in your Python program. Just set the signed value of your input to True.

Code: Select all


your_revpi_mod_io.io.your_input.signed = True

# Now the value will show negative values
print(your_revpi_mod_io.io.your_input.value)

Sven
by RevPiModIO
06 Feb 2023, 15:50
Forum: News & Announcements
Topic: Buster Image 01/2023 with RevPi Core SE support
Replies: 0
Views: 66939

Buster Image 01/2023 with RevPi Core SE support

Dear RevPi Community. We are happy to announce that we have released our latest Buster Image 01/2023. The image offers support for the RevPi Core SE products. Have a look at our release notes: https://revolutionpi.de/tutorials/downloads/#releasenotes You can download the images (full / lite) as usua...
by RevPiModIO
06 Feb 2023, 15:38
Forum: Neuigkeiten & Ankündigungen
Topic: Buster Image 01/2023 mit RevPi Core SE Unterstützung
Replies: 0
Views: 64513

Buster Image 01/2023 mit RevPi Core SE Unterstützung

Liebe RevPi Community. Wir freuen uns, euch mitteilen zu können, dass wir unser neuestes Buster Image 01/2023 veröffentlicht haben. Das Paket enthält Unterstützung für den neuen RevPi Core SE. Die detaillierten Änderungen findet ihr in unseren Release Notes: https://revolutionpi.de/tutorials/downloa...
by RevPiModIO
23 Jan 2023, 13:27
Forum: Software
Topic: Pictory Login
Replies: 17
Views: 4886

Re: Pictory Login

Hello PutR! I was able to recreate the phenomenon by using illegal characters in the hostname (a period in my case). Can you please check via SSH the "/etc/hostname" and "/etc/hosts" files for illegal hostname characters? You should use a-z 0-9 '-' (hyphen) only, no spaces or oth...
by RevPiModIO
18 Jan 2023, 00:23
Forum: Software
Topic: Access & Modify Pictory Configuration
Replies: 4
Views: 2210

Re: Access & Modify Pictory Configuration

Hi Lena! Unfortunately, you cannot write a configuration with RevPiModIO. The library only reads the piCtory configuration under /etc/revpi/config.rsc. For your point 3: You can read the configured values of the MEMs witch .io.MEMNAME.defaultvalue - Replace MEMNAME and do not use just the .value pro...
by RevPiModIO
11 Dec 2022, 18:27
Forum: RevPiModIO
Topic: Profinet IRT Gateway: latency using cycleloop() or mainloop()
Replies: 3
Views: 9842

Re: Profinet IRT Gateway: latency using cycleloop() or mainloop()

Hello Florian! Your measurement of time creates a delay itself. With os.system, Python first has to create a new sub-process, execute the ping command and your computer must also receive it at the end. This will give you at least 12-20ms delay or more depending on the network. The piBridge, which ex...
by RevPiModIO
07 Dec 2022, 09:56
Forum: RevPiModIO
Topic: Cycle time exceeded without using cycleloop() or mainloop()
Replies: 1
Views: 2769

Re: Cycle time exceeded without using cycleloop() or mainloop()

Hi RiSpa!

Yes, the ProcimgWriter is a Thread, inside of your python process. Your code:

Code: Select all

while True:
    pass
is using all resources of our process and the ProcimgWriter thread can not hold the cycle time.
by RevPiModIO
09 Nov 2022, 13:30
Forum: Software
Topic: Reinit of MIO GPIO Pulse count
Replies: 4
Views: 2202

Re: Reinit of MIO GPIO Pulse count

Hi Alexandre!

Do you use revpimodio2 or do you manage the piControl yourself?
by RevPiModIO
03 Nov 2022, 06:54
Forum: RevPiModIO
Topic: RevPiCommander Controls nicht sichtbar
Replies: 6
Views: 6489

Re: RevPiCommander Controls nicht sichtbar

Sorry, magst du noch einmal? Der Webserver bockte etwas :?