How to check whether a process is running on my computer

audi0615
2018-10-31
2018-11-06
  • audi0615 - 2018-10-31

    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.

     
  • dFx

    dFx - 2018-11-06

    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).

     

Log in to post a comment.