Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Raspberry Pi / RunApp

Author
Message
Yeshu777
4
Years of Service
User Offline
Joined: 26th Feb 2020
Location: Cardiff ( Caerdydd ), Wales ( Cymru ), UK
Posted: 3rd Jul 2024 03:19
Hi,

I'm using RunApp to run a small program that sends a character down the serial port on the Pi 3.

It's called every 1 second and works fine...

However, after 2140 calls - RunApp returns 0 and the comms program isn't called..

Would there be any logical reason for this?

Cheers,

Yeshu
Yeshu777
4
Years of Service
User Offline
Joined: 26th Feb 2020
Location: Cardiff ( Caerdydd ), Wales ( Cymru ), UK
Posted: 5th Jul 2024 23:45
Ok,

Resovled, just for information..

I placed a call before the RunApp..

if GetAppRunning ( proc_id ) then TerminateApp( proc_id )

which seems to have resolved the problem.

Yeshu777

Login to post a reply

Server time is: 2024-11-17 23:34:11
Your offset time is: 2024-11-17 23:34:11