In the Magelis iPC, can I open a Windows program within Runtime?
Issue:
In the Magelis iPC, can I open a Windows program within Runtime?
Resolution:
Yes, you can call a Windows program within the Runtime on a Magelis iPC. The script you need to use is:
Sys.createProcess
Function
Only available on XBTGTW and iPC Series targets. Starts an application program on the target machine.
Format
int Sys.createProcess(String processName, String args);
Parameters
Parameter Description
String processName Enter the complete path and file name of the application program.
Use double slashes between drive and directory names.
e.g. C:\\Winnt\\Notepad.exe
The slash is used to denote special characters, such as tab "\t" and new line "\n".
The extra backslash is required to override the special character designation.
String args Enter an argument here when required by the program. Enter an empty string ("")
when there is no argument.
Return Value
Returns 0 when the process ends abnormally. Otherwise, returns the value of the handle. This
handle number is required to terminate a process.
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance:
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.