20. High-level API Reference
YAltitude
YAltitude.FindAltitude()
yFindAltitude()
Retrieves an altimeter for a given identifier.
js
function yFindAltitude(
func
)
nodejs
function FindAltitude(
func
)
cpp
YAltitude* yFindAltitude( string
func
)
m
+(YAltitude*) FindAltitude : (NSString*)
func
pas
function yFindAltitude(
func
: string): TYAltitude
vb
function yFindAltitude( ByVal
func
As String) As YAltitude
cs
YAltitude FindAltitude( string
func
)
java
YAltitude FindAltitude( String
func
)
uwp
YAltitude FindAltitude( string
func
)
py
def FindAltitude(
func
)
php
function yFindAltitude(
$func
)
es
function FindAltitude(
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 altimeter is online at the time it is invoked. The returned object is
nevertheless valid. Use the method
YAltitude.isOnline()
to test if the altimeter is indeed online
at a given time. In case of ambiguity when looking for an altimeter 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 altimeter
Returns :
a
YAltitude
object allowing you to drive the altimeter.
384
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: ......