Skip to main content

PCMSSetRoutingProfileName

Syntax

int PCMSSetRoutingProfileName(Trip trip, const char *profileName)

Parameters

Trip trip – Handle to a trip.

const char *profileName – The name assigned to the route profile when it was created in PC*Miler.

Description

Applies a Route Profile to the current trip. You can create and name route profiles in the PC*Miler user interface or use the preset profiles that come standard with PC*Miler 34 and higher.

Return Values

Returns -1 on error. “Profile not found” error message will write to the log file if input name is not a valid route profile name.

Supported Since: PC*Miler Connect 30

Category: Route Profiles

Last updated July 19, 2025.