![Yoctopuce Yocto-GPS User Manual Download Page 448](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557448.webp)
20. High-level API Reference
YGroundSpeed
YGroundSpeed.FindGroundSpeedInContext()
yFindGroundSpeedInContext()
Retrieves a ground speed sensor for a given identifier in a YAPI context.
java
YGroundSpeed FindGroundSpeedInContext( YAPIContext
yctx
,
String
func
)
uwp
YGroundSpeed FindGroundSpeedInContext( YAPIContext
yctx
,
string
func
)
es
function FindGroundSpeedInContext(
yctx
,
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 ground speed sensor is online at the time it is invoked. The
returned object is nevertheless valid. Use the method
YGroundSpeed.isOnline()
to test if the
ground speed sensor is indeed online at a given time. In case of ambiguity when looking for a ground
speed sensor 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 :
yctx
a YAPI context
func
a string that uniquely characterizes the ground speed sensor
Returns :
a
YGroundSpeed
object allowing you to drive the ground speed sensor.
442
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: ......