Yoctopuce Yocto-Color Mode D'emploi page 190

Table des Matières

Publicité

20. Référence de l'API de haut niveau
module→get_productId()
module→productId()
Retourne l'identifiant USB du module, préprogrammé en usine.
function get_productId( )
js
function get_productId( )
nodejs
int get_productId( )
cpp
-(int) productId
m
function get_productId( ): LongInt
pas
function get_productId( ) As Integer
vb
int get_productId( )
cs
int get_productId( )
java
async Task<int> get_productId( )
uwp
def get_productId( )
py
function get_productId( )
php
function get_productId( )
es
YModule
target
cmd
Retourne :
un entier représentant l'identifiant USB du module, préprogrammé en usine
En cas d'erreur, déclenche une exception ou retourne
184
get_productId
Y_PRODUCTID_INVALID
YModule
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières