====== Remote Scripting ====== The remote scripting feature can execute a script from a remote TCP/IP connection. It is only compatible with CHC model panel PCs running firmware version 3.15 or later. ===== General Procedure ===== - After setting the network configuration (//HMI Runtime Settings//-->//Network//), enable the remote control server (//HMI Runtime Settings//-->//Servers//-->//Run the Remote Control Server//). - Open a raw socket connection to the server. - Send a script message to the server surrounded by '''' tags. (e.g. ''''). To receive a response from the server use one or more of the [[comfilehmi:hmieditor_function:index#remote_script_functions|write_xxx functions]]. For example '''' will send the text "Hello, World!" back to the client. To test this feature from within Comfile Studio go to //Tools//-->//Advanced Features//-->//Remote Script Test Box//. {{ :comfilehmi:remote_scripting:remotescripttestbox.png }} [[comfilehmi:#Shapes_and_Graphics:|Back to ComfileHMI]]