<< 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.

In total, there are three different options:

1.Remote control SAMLight at the same Windows PC: CCI Function commands (OCX or COM) via Function Calls.

2.Remote control SAMLight from another Windows PCs: CCI Function commands (OCX or COM) via TCP.

3.Remote control SAMLight from any system supporting telnet-like network connections: CCI ASCII commands via TCP.

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_Overview_FunctionCalls

SAMLight can be controlled by a CCI application running on the same PC.

 

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

 

CCI_Overview_TCP

SAMLight can be controlled by a CCI application running on a different PC. The SAM DLL (included in the SAMLight installer must be installed on the remote controlling PC, meaning that both system need to be a Windows PC.

Both Windows PCs are connected via TCP (Ethernet).

 

3. CCI ASCII commands via TCP

 

CCI_Overview_TCP-ASCII

SAMLight can be controlled by a CCI application running on a different system which does not need to be a Windows PC.

The system and the Windows PC are connected via TCP (Ethernet).