Télécharger Imprimer la page

Retourne L'identifiant Matériel Unique De La Fonction Qui A Effectué Les Mesures, Au Format; En Cas D'erreur, Déclenche Une Exception Ou Retourne - Yoctopuce Yocto-Temperature-IR Mode D'emploi

Publicité

24. Référence de l'API de haut niveau
dataset→get_hardwareId()
dataset→hardwareId()
Retourne l'identifiant matériel unique de la fonction qui a effectué les mesures, au format
SERIAL.FUNCTIONID
function get_hardwareId( )
js
string get_hardwareId( )
cpp
-(NSString*) hardwareId
m
string get_hardwareId( ): string
pas
function get_hardwareId( ) As String
vb
string get_hardwareId( )
cs
String get_hardwareId( )
java
async Task<string> get_hardwareId( )
uwp
get_hardwareId( )
py
function get_hardwareId( )
php
async get_hardwareId( ): Promise<string>
ts
async get_hardwareId( )
es
string get_hardwareId( )
dnp
string get_hardwareId( )
cp
L'identifiant unique est composé du numéro de série du module et de l'identifiant matériel de la fonction
(par example
THRMCPL1-123456.temperature1
Retourne :
une chaîne de caractères identifiant la fonction (ex:
En cas d'erreur, déclenche une exception ou retourne
494
.
).
THRMCPL1-123456.temperature1
YDataSet.HARDWAREID_INVALID
YDataSet
)
.
www.yoctopuce.com

Publicité

loading