.

Controller.Location

Specifies the name or IP address of the server where the motion controller card is located.

NOTE: The Init method must be called to connect to a motion controller after the properties Address, Number, Port, and/or Type have been changed.

Location is used with the Port and Number properties when the Type property is set to ControlTypeRemote.

This property cannot be saved to flash memory.

Version History

Introduced in MPX 2.0.

Type

String

Visual Basic

Syntax

Property Address As String

Sample Code

 
Mpx.Controller controller = new Mpx.Controller();

With controller
    .Type = Mpx.ControllerType.Remote;
    .Port = 3310;
    .Location = "192.168.1.74";
    .Connect(); 
End With
 


Sample Application

 

C#

Syntax

 

 

Sample Code

 
Mpx.Controller controller = new Mpx.Controller();

controller.Type = Mpx.ControllerType.Remote;
controller.Port = 3310;
controller.Location = "192.168.1.74";
controller.Connect(); 
 

 

 

See Also

Type
Number
Port

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering