FREEMASTER: Remote Server Tutorial

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FREEMASTER: Remote Server Tutorial

FREEMASTER: Remote Server Tutorial

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 :-)

评论

Hello

I am trying to run FreeMaster Remote Server [HTTP mode] on a Windows 7 PC with the UART set to COM1 (COM1 exist and can be used by other programs - no other programs are using it when this is attempted).

The error message at the FreeMaster client is

"Could not open the communication port (Error 0x848a1001: Specified communication port not found on the server.)!"

I interpret this to mean that the client couldn't open COM1 (at 9600Baud)

What could the reason be for this - as noted above, COM1 is otherwise working for other programs?

I have tried running mcbsrv as user and as administrator, with the same results.

Regards

Mark

Hi Mark!

It is strange. I done it on different computers and it works! If you change the name of the Port and it is "is use" > Yes, you want to continue.

And remember, you must have computers in the same network.

Iva

无评分
版本历史
最后更新:
‎01-06-2015 08:47 AM
更新人: