Exemplo n.º 1
0
/**
 * Start the GearTooth sensor counting.
 * Start the counting for the geartooth sensor. Before this, the sensor is allocated
 * but not counting pulses.
 *
 * @param slot The slot the digital module is plugged into
 * @param channel The digital I/O channel the sensor is plugged into
 */
void StartGearTooth(UINT8 moduleNumber, UINT32 channel)
{
    GearTooth *gt = GTptr(moduleNumber, channel);
    if (gt) gt->Start();
}
Exemplo n.º 2
0
/**
 * Start the GearTooth sensor counting.
 * Start the counting for the geartooth sensor. Before this, the sensor is allocated
 * but not counting pulses.
 *
 * @param slot The slot the digital module is plugged into
 * @param channel The digital I/O channel the sensor is plugged into
 */
void StartGearTooth(UINT32 slot, UINT32 channel)
{
	GearTooth *gt = GTptr(slot, channel);
	if (gt) gt->Start();
}