KangarooChannelUnits Method Kangaroo Library for .NET
Sets custom units for the channel. This command may be called after you start the channel but before you home it. If you do not set custom units, the units you have set up in DEScribe will be used. If you haven't set any, machine units will be used.

Namespace: DimensionEngineering.Kangaroo
Assembly: DimensionEngineering.Kangaroo (in DimensionEngineering.Kangaroo.dll) Version: 1.0.5.0 (1.0.5.0)
Syntax

public KangarooError Units(
	int desiredUnits,
	int machineUnits
)

Parameters

desiredUnits
Type: SystemInt32
The amount in your units that correspond to the specified amount of machine units.
machineUnits
Type: SystemInt32
The amount of machine units (millivolts or lines) corresponding to the specified amount in your units.

Return Value

Type: KangarooError
A KangarooError. Most commonly, this will be None if the channel does not require homing, or NotHomed if it does.
See Also

Reference