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
xExecuteBOOLRising edge: Starts defined operationFALSE: Resets the defined operation after ready condition was reachedETrig
Output
xDoneBOOLTRUE: Ready condition reachedETrig
xBusyBOOLTRUE: Operation is runningETrig
xErrorBOOLTRUE: Error condition reachedETrig
Input
sFilePathSTRING(255)pGeoLocationPOINTER 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: