Yoctopuce Yocto-Serial Mode D'emploi page 450

Table des Matières

Publicité

24. Référence de l'API de haut niveau
poweroutput→loadAttribute()
Retourne la valeur actuelle d'un attribut spécifique de la fonction, sous forme de texte, le plus
rapidement possible mais sans passer par le cache.
function loadAttribute( attrName)
js
string loadAttribute( string attrName)
cpp
-(NSString*) loadAttribute : (NSString*)
m
string loadAttribute( attrName: string): string
pas
function loadAttribute( ByVal
vb
string loadAttribute( string attrName)
cs
String loadAttribute( String attrName)
java
async Task<string> loadAttribute( string attrName)
uwp
loadAttribute( attrName)
py
function loadAttribute( $attrName)
php
async loadAttribute( attrName)
es
string loadAttribute( string attrName)
dnp
string loadAttribute( string attrName)
cp
Paramètres :
attrName
le nom de l'attribut désiré
Retourne :
une chaîne de caractères représentant la valeur actuelle de l'attribut.
En cas d'erreur, déclenche une exception ou retourne un chaîne vide.
444
attrName
attrName
As String) As String
YPowerOutput
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières