Search found 198 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 20
by RevPiModIO
18 Oct 2019, 17:35
Forum: RevPiModIO
Topic: 4-Byte-Floats per Modbus TCP auslesen
Replies: 5
Views: 222

Re: 4-Byte-Floats per Modbus TCP auslesen

Hi Luke! Soweit alles richtig, aber RevPiModIO kann noch nicht wissen, dass es float sein soll. Die Länge des IOs sollte 4 Byte sein und müsste nun mit .replace_io(...) ersetzt werden (leider kann man die alten Namen für neue IOs nicht verwenden - wäre evtl. mal ein interessantes Feature für die Zuk...
by RevPiModIO
10 Oct 2019, 18:42
Forum: RevPiModIO
Topic: Refresh Input
Replies: 4
Views: 275

Re: Refresh Input

Hi Yvonne! That will not work! You have to use your "revpi" object to set IOs of it! To set just variables with the same name as the piCtory names will not work. revpi.io.pictory_name.value # Something from your code should look like (if the piCtory name is rada_value: print("Radar: ", revpi.io.rada...
by RevPiModIO
04 Oct 2019, 11:43
Forum: RevPiModIO
Topic: Refresh Input
Replies: 4
Views: 275

Re: Refresh Input

Hi Yvonne! I need some more information about your problem! Do you use RevPiPyLoad to start your program on the RevPi on startup? And it would be nice if you could post more of your source code. Do you use RevPiModIO(autorefresh=True)? Did your program end after setting the output - if yes, do you u...
by RevPiModIO
28 Sep 2019, 17:32
Forum: RevPi Day
Topic: Melde Dich zum RevPi Day 2019 in Leipzig an
Replies: 1
Views: 438

Re: Melde Dich zum RevPi Day 2019 in Leipzig an

Hier ist der Quelltext von unserem Gabelstapler-Exponat! Viel Spaß damit!

https://revpimodio.org/revpiday2019/

Gruß, Sven
by RevPiModIO
18 Sep 2019, 08:39
Forum: RevPiModIO
Topic: import revpimodio2 error
Replies: 3
Views: 281

Re: import revpimodio2 error

Hi Ibrahim! The library will run on every Revolution Pi, RaspberryPi, Linux machine, Windows machine and so on :D How did you install it? Kunbus has got it in the repositories, so you should do it by: # Update catalog sudo apt-get update # Install module: sudo apt-get install python3-revpimodio2 And...
by RevPiModIO
16 Sep 2019, 14:58
Forum: Software
Topic: MQTT connection and retain settings
Replies: 5
Views: 584

Re: MQTT connection and retain settings

Hi Sander! Sorry for the late response! I had to update some other things for RevPiModIO and the PyLoad/PyControl system first - that's done! The first release of the MQTT function was very simple and basic. You successions sounds very nice! Especially the JSON part makes muuuuch sense! I know this ...
by RevPiModIO
02 Sep 2019, 21:32
Forum: RevPiModIO
Topic: input status
Replies: 4
Views: 790

Re: input status

Well, I think each IO module has got its own "Status" and "Output_Status" Input. So check the names in piCtory (if you use more than one IO-Module) and get the status with python. # For example rpi = revpimodio2.RevPiModIO(autorefresh=True, direct_output=True) print(rpi.io.Status.value) print(rpi.io...
by RevPiModIO
02 Sep 2019, 21:20
Forum: RevPiModIO
Topic: How to disconnect a process from RevPiModIO?
Replies: 2
Views: 530

Re: How to disconnect a process from RevPiModIO?

Hi akash.sharma! About the multi processing things, I wrote an answer here: https://revolution.kunbus.de/forum/viewtopic.php?f=41&t=1314&p=5180&hilit=python+multiprocessing#p5791 You can "disconnect" you local RevPiModIO object with the call of .cleanup() . This will write close and disconnect all l...
by RevPiModIO
02 Sep 2019, 21:13
Forum: RevPiModIO
Topic: revpimodio2 with Python Multiprocessing
Replies: 1
Views: 476

Re: revpimodio2 with Python Multiprocessing

Hi akash.sharma! RevPiModIO was not build to operate with two processes on the same process image. This was because of performance and safety! Your ONE control program should know the states of all set outputs and force them to the process image! Otherwise you have to check all outputs in your progr...
by RevPiModIO
02 Sep 2019, 12:46
Forum: RevPiModIO
Topic: Revpimodio2 - cycle time exeeded? Invalid Ioctl in dmesg?
Replies: 2
Views: 307

Re: Revpimodio2 - cycle time exeeded? Invalid Ioctl in dmesg?

Moin Lace! Das bekommen wir sehr schnell gelöst (fast). Der Fehler "piControl: Invalid Ioctl from python3" ist leider im piControl Treiber und tritt immer auf, wenn man sich per Python mit dem Prozessabbild verbindet. Daran arbeitet Kunbus - Es tritt ja auch nur einmal bei Programmstart auf. Zu dein...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 20