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 Fri Oct 18, 2019 12:53 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Feb 25, 2019 3:30 pm 
Offline

Joined: Mon Mar 19, 2018 12:24 pm
Posts: 5
Location: BURSA
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
Sys***Process.SysProcess***ExecuteCommand('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?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 6 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