Télécharger Imprimer la page

Yoctopuce Yocto-MaxiMicroVolt-Rx Mode D'emploi page 414

Publicité

23. Référence de l'API de haut niveau
YWeighScale.FirstWeighScaleInContext()
YWeighScale.FirstWeighScaleInContext()
Commence l'énumération des capteurs de poids accessibles par la librairie.
static YWeighScale FirstWeighScaleInContext( YAPIContext yctx)
java
static YWeighScale FirstWeighScaleInContext( YAPIContext yctx)
uwp
static FirstWeighScaleInContext( yctx: YAPIContext): YWeighScale | null
ts
static FirstWeighScaleInContext( yctx)
es
Utiliser la fonction
YWeighScale.nextWeighScale()
Paramètres :
yctx
un contexte YAPI.
Retourne :
un pointeur sur un objet
null
ou
si il n'y a pas de capteurs de poids disponibles.
408
YWeighScale
, correspondant au premier capteur de poids accessible en ligne,
pour itérer sur les autres capteurs de poids.
YWeighScale
www.yoctopuce.com

Publicité

loading

Ce manuel est également adapté pour:

Yocto-bridgeYwbridg1