jadchamas - 2020-11-18

hello,

I am trying to create a screenshot function for trending graph using SysProcessExecuteCommand in Codesys 3.5.15, using a button. I do not have a PLC, I have an HMI with windows 10 connected to a vibration monitoring device via Ethernet/IP protocol. For this purpose I downloaded Nircmd and put the following command in as input command for SysProcessExecuteCommand function block: 'C:/Users/User/Desktop/nircmd-x64/nircmd.exe savescreenshot screen2.png'.
I do not have though any screenshot created (attached pic).

Can anyone guide me please how to create a screenshot in codesys ?