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

Table des Matières

Publicité

25. Référence de l'API de haut niveau
YSerialPort.FirstSerialPort()
YSerialPort.FirstSerialPort()
Commence l'énumération des ports série accessibles par la librairie.
function yFirstSerialPort( )
js
YSerialPort * FirstSerialPort( )
cpp
+(YSerialPort*) FirstSerialPort
m
TYSerialPort yFirstSerialPort( ): TYSerialPort
pas
function FirstSerialPort( ) As YSerialPort
vb
static YSerialPort FirstSerialPort( )
cs
static YSerialPort FirstSerialPort( )
java
static YSerialPort FirstSerialPort( )
uwp
FirstSerialPort( )
py
function FirstSerialPort( )
php
static FirstSerialPort( ): YSerialPort | null
ts
static FirstSerialPort( )
es
Utiliser la fonction
YSerialPort.nextSerialPort()
Retourne :
un pointeur sur un objet
null
si il n'y a pas de ports série disponibles.
324
YSerialPort
, correspondant au premier port série accessible en ligne, ou
pour itérer sur les autres ports série.
YSerialPort
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières