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 you can 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