To define motion capture devices
- Start the device server.
		
 
- For data-server devices, use the 
		  defineDataServer command to define the device in Maya.
		
 
- Enter the following command in Maya’s 
		  Script Editor:
		  
defineDataServer -device <
deviceName
> -server <
		  
serverName
>; 
		
		Where:
		
		- <deviceName> is a unique device name. Choose one that will be easy for you to remember later.
		  
 
- <serverName> is the name of the communication interface defined to talk to the server, as defined in the server setup. 
		  
 
	  
To undefine a device
- Use the following syntax:
		
defineDataServer -device <deviceName> -undefine;