Télécharger Imprimer la page

Yoctopuce YoctoHub-Wireless-g Mode D'emploi page 283

Publicité

realtimeclock→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
function loadAttribute( attrName: string): string
pas
function loadAttribute( ) As String
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
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.
www.yoctopuce.com
attrName
11. Référence de l'API de haut niveau
YRealTimeClock
279

Publicité

loading