<< Click to Display Table of Contents > 

SAMLight Manual > Client Control Interface

Client Control Interface
Previous pageReturn to chapter overviewNext page

The Client Control Interface (CCI) can be used to remote control SAMLight from another software. A short overview over the different options of control is given here, examples and a more detailed documentation of all commands can be found at:
https://download.scaps.com/downloads/Software/Programming/Client_Control_Interface/

Client Control can be done via one of the following ways:

OCX (ActiveX) function calls via SCAPS.ScSamlightClientCtrl

COM (CCI Ex) function calls via SCAPS.ScSamlightClientCtrlEx

ASCII (plain text) commands

Regarding the function calls, the OCX (ActiveX) control SCAPS.ScSamlightClientCtrl and the COM (CCI Ex) control SCAPS.ScSamlightClientCtrlEx are providing function commands to remote control SAMLight from another software. This allows fast development of automation with different Windows development environments. OCX and COM can be used in a 32-bit or a 64-bit custom program. In addition CCI can be used without the OCX or COM encapsulation. In this case, plain ASCII commands are sent via TCP from a different system which does not need to be a Windows PC.

These three different ways to realize CCI are illustrated and described in further detail in the following (images always show the connection to a USC card, but CCI of course can also be used together with an RTC card.):

 

1.CCI Function Commands (OCX or COM) via Function Calls

 

CCI_FunctionCommandsViaFunctionCalls

Figure 549: CCI Function Commands (OCX or COM) via Function Calls

2.CCI Function commands (OCX or COM) via TCP

 

CCI_FunctionCommandsViaTCP

Figure 550: CCI Function commands (OCX or COM) via TCP

3. CCI ASCII commands via TCP

 

CCI_ASCIICommandsViaTCP

Figure 551: CCI ASCII commands via TCP