<< Click to Display Table of Contents > Implementation |
![]() ![]() ![]() |
In general, CCI can be used with any programming environment of your choice. SAMLight offers three interfaces for remote control which differ in the configuration, communication and return value handling. Always configure the remote settings in SAMLight (Settings - System - Remote) for the desired interface (local function calls, remote TCP or remote ASCII) first. Then, proceed as follows depending on your chosen interface. oInitialize COM oInstantiate ActiveX control SCAPS.ScSamlightClientCtrl oIf TCP, connect via ScOpenTCPConnection oCall desired functions oInitialize COM oCreate instance of SCAPS.ScSamlightClientCtrlEx object oIf TCP, connect via ScOpenTCPConnection oCall desired functions oOpen TCP connection to configured IP and Port oSend commands in the configured code page, with end character <LF> oWait for end character <LF> in return data, interpret return string |
---|