Yoctopuce Yocto-IO Mode D'emploi page 326

Table des Matières

Publicité

23. Référence de l'API de haut niveau
digitalio→get_functionId()
digitalio→functionId()
Retourne l'identifiant matériel du port d'E/S digital, 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 d'E/S digital (ex:
En cas d'erreur, déclenche une exception ou retourne
320
relay1
)
YDigitalIO.FUNCTIONID_INVALID
YDigitalIO
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières