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.
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.
Đã phát hành cho: Schneider Electric Việt Nam






Bạn cần trợ giúp?
Công cụ chọn sản phẩm
Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.
Nhận báo giá
Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.
Nơi mua hàng?
Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.
Trung tâm Hỗ trợ
Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.