20. High-level API Reference
YGps
YGps.FindGps()
yFindGps()
Retrieves a GPS for a given identifier.
js
function yFindGps(
func
)
nodejs
function FindGps(
func
)
cpp
YGps* yFindGps( string
func
)
m
+(YGps*) FindGps : (NSString*)
func
pas
function yFindGps(
func
: string): TYGps
vb
function yFindGps( ByVal
func
As String) As YGps
cs
YGps FindGps( string
func
)
java
YGps FindGps( String
func
)
uwp
YGps FindGps( string
func
)
py
def FindGps(
func
)
php
function yFindGps(
$func
)
es
function FindGps(
func
)
The identifier can be specified using several formats:
FunctionLogicalName
●
ModuleSerialNumber.FunctionIdentifier
●
ModuleSerialNumber.FunctionLogicalName
●
ModuleLogicalName.FunctionIdentifier
●
ModuleLogicalName.FunctionLogicalName
●
This function does not require that the GPS is online at the time it is invoked. The returned object is
nevertheless valid. Use the method
YGps.isOnline()
to test if the GPS is indeed online at a given
time. In case of ambiguity when looking for a GPS by logical name, no error is notified: the first instance
found is returned. The search is performed first by hardware name, then by logical name.
Parameters :
func
a string that uniquely characterizes the GPS
Returns :
a
YGps
object allowing you to drive the GPS.
232
www.yoctopuce.com
Summary of Contents for Yocto-GPS
Page 1: ...Yocto GPS User s guide...
Page 2: ......
Page 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Page 10: ...4 www yoctopuce com...
Page 14: ...8 www yoctopuce com...
Page 18: ...12 www yoctopuce com...
Page 22: ...16 www yoctopuce com...
Page 38: ...32 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 54: ...48 www yoctopuce com...
Page 72: ...66 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 122: ...116 www yoctopuce com...
Page 132: ...126 www yoctopuce com...
Page 564: ...22 Characteristics 558 www yoctopuce com...
Page 565: ......
Page 566: ......