Yoctopuce Yocto-VOC-V3 Mode D'emploi page 576

Table des Matières

Publicité

23. Référence de l'API de haut niveau
temperature→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: string): Promise<string>
ts
async loadAttribute( attrName)
es
string loadAttribute( string attrName)
dnp
string loadAttribute( string attrName)
cp
Paramètres :
le nom de l'attribut désiré
attrName
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.
570
attrName
attrName
As String) As String
YTemperature
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières