Skip to main content

PCMSGetGovernorSpeed

Syntax

int PCMSGetGovernorSpeed(Trip trip)

Parameters

  • Trip trip – Handle to a trip.

Description

Retrieves the governor speed setting for this trip. The speed will be returned in units that match the distance units setting of the trip (mph or km/h).

Return Values

Zero (0) will be returned if the governor speed is disabled. A positive number speed limit will be returned if it is enabled.

Supported Since: PC*Miler Connect 30 Category: Trip Options

Last updated July 8, 2025.