if you can change brigness via terminal in Linux or Command Line in Windows, of course you can also change via code by using "SysProcessExecuteCommand" function. To try this method you need to apply below modification.
Connect to the target device.
Find and open the runtime configuration file "...codesys/CODESYSControl.cfg" with an editor.
Before [CmpLog], add [SysProcess] and allow line.
Thanks for feedback ,actually im not sure that i got that ,so because of that let me please again to explaine you what i need : i have a plc + hmi weidmuller i need to control brightness of screen inside my programme , so for taht i need to connect my to my hmi and find maybe a library or something like that .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Can we adjust the brightness of HMI using a code in codesys ,if someone have any idea please can you shre it with us .
Thanks
if you can change brigness via terminal in Linux or Command Line in Windows, of course you can also change via code by using "SysProcessExecuteCommand" function. To try this method you need to apply below modification.
Connect to the target device.
Find and open the runtime configuration file "...codesys/CODESYSControl.cfg" with an editor.
Before [CmpLog], add [SysProcess] and allow line.
For more detail please find:
https://forge.codesys.com/forge/talk/Engineering/thread/64904fac37/
Necati..
Thanks for feedback ,actually im not sure that i got that ,so because of that let me please again to explaine you what i need : i have a plc + hmi weidmuller i need to control brightness of screen inside my programme , so for taht i need to connect my to my hmi and find maybe a library or something like that .