CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Dec 15, 2018 3:56 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Oct 31, 2018 4:10 pm 
Offline

Joined: Fri Dec 01, 2017 3:06 pm
Posts: 19
Hi,

Is there any function to check whether a process is running on my computer?

for instance, I'd like to know whether "mysoftware.exe" is running on my Windows.


Top
   
PostPosted: Tue Nov 06, 2018 11:40 am 
Offline

Joined: Fri Feb 23, 2018 3:41 pm
Posts: 67
Just write a file with your "software.exe" with for instance a timestamp in it.
Then read it back with codesys. If the timestamp is outdated, your process may not be running.

Be carefull at file sharing mode (your exe should share a read right and codesys should open it in read mode).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited