Anonymous - 2019-02-25

Originally created by: Ali Tevfik BAYKENT

I wish to play a video file by using Sys Process Execute instruction in my CodeSys running under Windows10. There are nice forum pages for Linux based systems, but my Windows version does not work:

VAR
Video_Result: RTS_IEC_result;
END_VAR

IF GLOBAL_VARIABLES.VideoRequirements THEN
SysProcess.SysProcessExecuteCommand('C:\Program Files\VideoLAN\VLC\vlc
C:\Users\Hat30_Hatsonu_PC\Videos\R1_Masa1.3gb', ADR(Video_Result));
GLOBAL_VARIABLES.VideoRequirements:= FALSE;
END_IF

I have introduced VLC player in CodeSysControl.cfg file:
[SysProcess]
Command.0=C:\PROGRAM Files\VideoLAN\VLC>vlc
Command=AllowAll

Have anyone ever tried my commands similar to above?