LoadGeoLocationFromFile (FB)¶
FUNCTION_BLOCK LoadGeoLocationFromFile EXTENDS CBML.ETrig
Loads an old, original API result, that contains location data, from a file.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
xExecute
BOOL
Rising edge: Starts defined operationFALSE
: Resets the defined operation after ready condition was reachedETrig
Output
xDone
BOOL
TRUE
: Ready condition reachedETrig
xBusy
BOOL
TRUE
: Operation is runningETrig
xError
BOOL
TRUE
: Error condition reachedETrig
Input
sFilePath
STRING(255)
pGeoLocation
POINTER TO GeoLocation
Provide a “GeoLocation” structure to load the loaction data into.
sLanguageCode
‘’
Optional ISO 3166 country code to extract a local city name in the specifiec language, if available.
Output
eError
Methods:
Structure: