Scheduling on the Raspberrypi

Vous avez réalisé ou vous voulez réaliser un truc impensable avec votre Raspberry Pi ? Cet endroit est pour vous...

Modérateur : Francois

Verrouillé
merimem
Messages : 1
Enregistré le : jeu. 20 avr. 2017 13:22

Scheduling on the Raspberrypi

Message par merimem » jeu. 20 avr. 2017 13:24

Hello,
I have two python scripts.
The first script is used to process images.
The second script has a function interrupt. If the user pushes the button the interrupt picks up the signal and takes pictures.

I want to do a scheduling between the two scripts.
The raspberry executes the first script but if the interrupt of the other script picks up a signal, the raspberry must stop the execution of the first script until the second script finishes taking pictures.

Can you help me to do that please? Have you any idea ??

Thank you in advance

domi
Administrateur
Messages : 3230
Enregistré le : mer. 17 sept. 2014 18:12
Localisation : Seine et Marne

Re: Scheduling on the Raspberrypi

Message par domi » jeu. 20 avr. 2017 15:46

Forum Français, merci de le respecter.

Je vérouille
Passionné de Raspberry, Arduino, ESP8266, ESP32, et objets connectés :
Spécial débutant, concevez vous-même votre domotique DIY : https://www.youtube.com/c/DomoticDIY
Conception d'une station météo DIY, et envoi des infos à votre Domotique.

Verrouillé

Retourner vers « Utilisateurs avancés »