Appendix B: The PCMSERVE.INI File. PC*Miler Spreadsheets 29
Annonce
Annonce
B
Appendix B:
The PCMSERVE.INI File
You can modify the PCMSERVE.INI file to set default trip options so that these options are active each time you use PC*MILER|Spreadsheets. The INI file is in your Windows or Windows NT folder, and can be opened using Notepad,
Wordpad, or another text editor.
Note that trip options can also be set using the PC*MILER|Spreadsheets Excel functions or in the PC*MILER user interface. See section 3.13, Route Options
and Default Settings, for the order of precedence between route options set in the
PC*MILER user interface, those set using Spreadsheets functions, and those set using the PCMSERVE.INI.
Settings in the INI that can be added or edited are listed below. If you open the
INI file, you won’t see all of these settings in it. If any key doesn’t have a value or is not found in the INI file, it assumes the default value or the value set in the
PC*MILER user interface.
IMPORTANT NOTE:
Excel must be closed and reopened for INI file setting changes to take effect.
Valid Values Description KEY
[Engine]
ShowEngine=
[Logging]
Enable=
0
1
0
1
Should Connect automatically start the engine (1) or not (0).
Default = 0
Should log files be generated (1) or not (0).
Default = 0
File= Path/file name of log file.
Append= 0
1
Append to old file (1) or write over (0). Default = 0
DisplayTi me=
0
1
When DisplayTime = 1, date/time are shown on each line in the log file.
Default = 0
PC*MILER|Spreadsheets User’s Guide 56
[Defaults]
CalcType=
Units=
ChangeDest=
Borders=
HubMode=
AlphaOrder=
FerryMiles=
Practical
Shortest
National
AvoidToll
Air
FiftyThree
Miles
Kilometers
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
Set the default routing type: most
Practical, Shortest by distance, favor National Network highways, avoid tolls, Air
(straight line), or 53' Trailer.
Default = Practical
Note: Toll-Discouraged,
National, and 53' routing are all based on Practical miles.
Note Also: When 53' Trailer routing is selected, the National
Network is automatically included – but not necessarily vice versa.
What unit of measure should distance be shown in.
Default = Miles
When optimizing the route, should the trip’s destination be optimized also (T).
Default = False
Should the engine try to keep routes within the United States
(F), or can they cross and recross the borders at will (T).
Default = True
Calculate the routes from the origin to each stop (T), not through each stop (F).
Default = False
List the states in the State Report in alphabetical order (T) or in the order driven (F).
Default = True
Use ferry distances in mileage and cost calculations (T), or don’t use (F).
Default = True
PC*MILER|Spreadsheets User’s Guide 57
LightVehicle=
MAPPING
EXPMAP
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
Should the DLL use Light Vehicle routing (available if Streets data is
installed with PC*MILER – see the
PC*MILER User’s Guide for more
on routing types).
Default = False
(AS/400 parameter)
Default = False
(AS/400 parameter)
Default = False
[Options]
CustomRoute=
HazRoute=
(only with the
PC*MILER|Hazmat add-on)
None
General*
Explosive
Inhalant
Radioactive
PartialCityMatch= TRUE
HistoricalRoadSpe eds=
TranslateAlias=
TRUE
FALSE
Corrosive
Flammable
HarmfultoWater
FALSE
TRUE
FALSE
TRUE
FALSE
Should PC*MILER|Connect use
Custom routing.
Default = False
Hazardous material routing types for North America are: none
(hazmat routing disabled), general, explosive, inhalant, radioactive, corrosive, or flammable. For Europe or
Oceania, hazmat route types are: none, general, explosive, flammable, or harmful to water.
Default (all regions) = None
*NOTE:
“General” = “Other” in the PC*MILER UI, they are the same route type and algorithm.
Enables the return of a city match on a partial match of 28 characters.
Default = False
Toggles activation of traffic data for use in time-based routing.
Equivalent to the “Traffic
Enabled” option in PC*MILER.
Default = False
This setting pertains to geocoding in PC*MILER|FuelTax. It changes “*” and “()” in a custom place name to a “Zip-City-State;
PC*MILER|Spreadsheets User’s Guide 58
UseUSPost
Codes=
UseMexPos tCodes=
TRUE
FALSE
TRUE
FALSE
UseStreets=
(only if Streets data is installed
with PC*MILER)
TRUE
FALSE
UseNLAbbrevInMX
CountryAbbrevType
=
TRUE
FALSE
FIPS
ISO2
ISO3
GENC2
GENC3
[ConnectOptions]
LatLonFormatDecim al=
TRUE
FALSE
PC*MILER|Spreadsheets User’s Guide
Address” format.
When set to TRUE, if a 5-digit postal code might be a U.S. or a
Mexican code, the U.S. code will be used.
Default = True (see note below)
When set to TRUE, if a 5-digit postal code might be a U.S. or a
Mexican code, the Mexican code will be used.
Default = False
NOTE:
If UseUSPostCodes and UseMexPostCodes are both FALSE, or are not in the INI, the default U.S. code will be used.
Should street-level (T) or highway-only (F) routing be used when stops are city names or postal codes.
Default = False
When set to TRUE, the “NL” abbreviation geocodes to Nuevo
Leon in Mexico.
For PC*MILER|Worldwide, this option sets the country code format that will be accepted when using city name/country abbreviations as locations in regions other than North America.
Default = FIPS
Pertains to the function
PCMSAddressToLatLong()
, causing the function to return lat/longs in decimal degrees (e.g.
40.348848N,74.662703W).
When this line is not included in the .INI or is included but
=FALSE, the function returns degrees, minutes, seconds (e.g.
59
AvoidFavorAutoSa ve=
GeofenceAutoSave
=
[MappingOptions]
AvoidFavorAutoSa ve=
GeofenceAutoSave
=
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
[Defaults]
Region= NA
SA
Africa
Asia
Europe
ME
Oceania
ProductName= PC*MILER
ProductVersion= 29
DLLPath= Usually
C:\ALK
Technologies\
PCMILER29\app
0402056N,0743946W).
Default = False (Note: when this line is not present, default = false)
(PC*MILER|Connect) This option can be set to TRUE to autosave avoids/favors on shutdown.
Default = False (Note: when this line is not present, default = false)
(PC*MILER|Connect) This option can be set to TRUE to autosave geofence data on shutdown.
Default = True (Note: when this line is not present, default = false)
(PC*MILER|Mapping) This option can be set to TRUE to autosave avoids/favors on shutdown.
Default = False (Note: when this line is not present, default = false)
(PC*MILER|Mapping) This option can be set to TRUE to autosave geofence data on shutdown.
Default = True (Note: when this line is not present, default = false)
Region default is NA (North
America). Other regions available with PC*MILER|Worldwide.
Current version of PC*MILER.
Path to the current installation of
PC*MILER.
PC*MILER|Spreadsheets User’s Guide 60
Download
Annonce