Yoctopuce YoctoHub-Ethernet Mode D'emploi page 66

Table des Matières

Publicité

10. Référence de l'API de haut niveau
hubport→get_functionId()
hubport→functionId()
Retourne l'identifiant matériel du port de YoctoHub, sans référence au module.
function get_functionId( )
js
string get_functionId( )
cpp
-(NSString*) functionId
m
function get_functionId( ) As String
vb
string get_functionId( )
cs
String get_functionId( )
java
get_functionId( )
py
function get_functionId( )
php
async get_functionId( ): Promise<string>
ts
async get_functionId( )
es
string get_functionId( )
dnp
string get_functionId( )
cp
Par example
relay1
.
Retourne :
une chaîne de caractères identifiant le port de YoctoHub (ex:
En cas d'erreur, déclenche une exception ou retourne
62
relay1
)
YHubPort.FUNCTIONID_INVALID
YHubPort
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières