Monday, April 24, 2017

The SecsDriver Controller Application (with source code)

See article:
1 SecsDriver, the demo in virtualbox image
2 SecsDriver, the cross-flatform SECS-II driver

Overview

The SecsDriver Controller, is the tool to view the SecsDriver.


Download

You can download the source code MSC.src..zip from
https://www.mediafire.com/folder/4hj5wascjg4xh/SecsDriver


Screenshot


Configuration

In the master configuration file of SecsDriver, secsdriver.ini we have the session

[HOST]
# SERVICE_TCPPORT: SecsDriverControler will connect to this port
SERVICE_TCPPORT=6666

The SecsDriver will listen on the port 6666, and the SecsDriverControler will connect to this port

How to run the demo

1. Run the SecsDriver on VirtualBox (see the last post http://www.secsdriver.com/2017/04/secsdriver-demo-in-virtualbox-image.html)

2. In virtualBox linux, run the command to start SecsDriver as the Host Role

./run.sh

It will run the SecsDriver with the master configurtion file at: /mnt/sda1/secs/secsdriver.ini

3. Get the IP of the virtualbox machine by run the command:

ifconfig

Example, the IP is 192.168.1.7

4. Run the SecsDriverControlerApp on another PC (or the virtualbox host pc, Windows OS)

5. Connect to IP 192.168.1.7, Port 6666

You will see




0 comments:

Post a Comment

About Me

Work as the developer. c++, cpp, java, c#...
vuzzan@gmail.com

Popular Posts

Search This Blog