HTP Configs
Configuration Files
Each HTP contains a configuration file, so that the HTP Manager can access them and make use of them. The configuration file contains information about the HTP, the phidgets attached to them and the corresponding calibration properties for them.
The default location for configuration files in the HTP folder inside documents, which is the default path on installation.
Structure
We follow the example of an HTP with the tag EF.
- <?xml version="1.0" encoding="utf-8"?>
- <HTP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <ID>239</ID>
- <ServoHeightSerialNum>88419</ServoHeightSerialNum>
- <InterfaceKitSerialNum>68103</InterfaceKitSerialNum>
- <ServoHeightPort>4</ServoHeightPort>
- <SensorPort>0</SensorPort>
- <HeightMimimum>54</HeightMimimum>
- <HeightMaximum>88</HeightMaximum>
- <MinimumPressureValue>0</MinimumPressureValue>
- <MaximumPressureValue>600</MaximumPressureValue>
- <BrakeMove>-1</BrakeMove>
- <BrakeStop>-1</BrakeStop>
- <ServoBrakeSerialNum>-1</ServoBrakeSerialNum>
- <ServoBrakePort>-1</ServoBrakePort>
- </HTP>
- ID represents the byte tag marker, which is represented in hex. However, it should be entered as a decimal value.
- ServoHeightSerialNum represents the serial number of the servo controller in which the height motor is attached.
- InterfaceKitSerialNum represents the serial number of the interface kit in which the pressure sensor is attached.
- ServoHeightPort represents the port in which the servo motor corresponding to height is attached (0 to 7).
- SensorPort represents the port in which the pressure sensor is attached (0 to 7).
- HeightMinimum represents the lowest value the HTP rod can raise up to (0 to 180).
- HeightMaximum represents the highest value the HTP rod can raise up to (0 to 180).
- MinimumPressureValue represents the minimum value of pressure the HTP can take (0 to 750).
- MaximumPressureValue represents the minimum value of pressure the HTP can take (0 to 750).
- BrakeMove represents the value in which the friction brakes are all the way up (0 to 180).
- BrakeStop represents the value in which the friction brakes are all the way down (0 to 180).
- ServoBrakeSerialNum represents the serial number of the servo controller in which the brake motor is attached to.
- ServoBrakePort represents the port number of the servo controller in which the brake motor is attached (0 to 7).
Note that if an HTP device does not support friction, the entries BrakeMove
, BrakeStop
, ServoBrakeSerialNum
and ServoBrakePort
must be set to '-1'.