FREEMASTER:  Remote Server Tutorial

Document created by Iva Dorazinova Employee on Jan 6, 2015
Version 1Show Document
  • View in full screen mode

For Remote Control means, that is needed two computers - Server Computer and User Computer, which will be in connection.

There are two types of connection, which can be used - HTTP or DCOM. There are two different ways how to set up the remote control in Windows.

 

I made the tutorial, which describes both types of Remote Control.

Ok - so, let´s start!

 

HTTP Settings

On the Server Computer side:

1. Plug the board to the Server Computer

2. Go to Remote Communication Server

FM_Remote_Server20.png

3. Set HTTP connection and choose the right COM Port according the plugged board

FM_Remote_Server21.png

If the plugged board is on e.g. COM23, it is possible to edit number of Port in Device Manager

FM_Remote_Server3.png

FM_Remote_Server4.png

FM_Remote_Server5.png

On the User PC side:

1. Open FreeMASTER,  go to Project -> Options

FM_Remote_Server15.png

2. Choose Plug-in Module: FreeMASTER CommPlugin for Remote Server (HTTP) and type the IP address of the server,

do not forget join to IP address :8080

FM_Remote_Server18.png

3. And start communication by STOP button to successful connection

FM_Remote_Server19.png


DCOM Settings

On the Server Computer side:

1. Plug board to the Server Computer

2. Launch DCOM in FreeMASTER Remote Server

FM_Remote_Server.png

Choose COM according plugged board or edit COM according to step 2 - Server Computer in HTTP Connection (up).

FM_Remote_Server2.png

3. Setting permissions for the user, User PC.

Right click on Computer -> Manage.

In Computer Management click to Distributed COM Users.

FM_Remote_Server7.png

In Distributed COM Users Properties add the user, User Computer.

FM_Remote_Server8_.png

After that, set the permissions in Component Services. In cmd type dcomcnfg.exe

In Component Services go to Computers -> My Computer -> DCOM Config -> MCB FreeMASTER Remote Server Application

FM_Remote_Server9.png

Right click on MCB FreeMASTER Remote Server Application and go to Properties.

FM_Remote_Server10.png

In Security Tab is possible to add the permissions.

There are 3 types of permissions.

FM_Remote_Server11.png

First permission - Launch and Activation Permissions.

There are 4 permission options. Local Launch and Remote Launch means, that user, User Computer can launch e.g. FM Remote Server Application.

But for success communication is needed allowing Local Activation and Remote Activation.

FM_Remote_Server12.png

Second permission - Access Permissions.

Click to Edit and Allow Local Access and Remote Access for the user.

FM_Remote_Server14.png

Do not forget that if there is a change of permissions, specifically allowing, it is necessary for User to log out and log in.


On the User Computer side:

1. Open Freemaster, go to Project -> Options

2. Choose Plug-in Module: FreeMASTER CommPlugin for Remote Server (DCOM) and for filling Connect string is possible to use Configure.

Definitely, type the IP address of the server and ;Port Name.

FM_Remote_Server16.png

3. And start communication by STOP button in FreeMASTER to successful connection


And now.. you can do anything :-)

1 person found this helpful

Attachments

    Outcomes