Yoctopuce Yocto-RS485-V2 Mode D'emploi page 358

Table des Matières

Publicité

25. Référence de l'API de haut niveau
serialport→get_functionId()
serialport→functionId()
Retourne l'identifiant matériel du port série, sans référence au module.
function get_functionId( )
js
string get_functionId( )
cpp
-(NSString*) functionId
m
function get_functionId( ) As String
vb
string get_functionId( )
cs
String get_functionId( )
java
get_functionId( )
py
function get_functionId( )
php
async get_functionId( ): Promise<string>
ts
async get_functionId( )
es
string get_functionId( )
dnp
string get_functionId( )
cp
Par example
relay1
.
Retourne :
une chaîne de caractères identifiant le port série (ex:
En cas d'erreur, déclenche une exception ou retourne
350
relay1
)
YSerialPort.FUNCTIONID_INVALID
YSerialPort
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières