Yoctopuce Yocto-Serial Mode D'emploi page 408

Table des Matières

Publicité

24. Référence de l'API de haut niveau
serialport→writeArray()
Envoie une séquence d'octets (fournie sous forme d'une liste) sur le port série.
function writeArray( byteList)
js
int writeArray( vector<int> byteList)
cpp
-(int) writeArray : (NSMutableArray*)
m
LongInt writeArray( byteList: TLongIntArray): LongInt
pas
procedure writeArray( ByVal
vb
int writeArray( List<int> byteList)
cs
int writeArray( ArrayList<Integer> byteList)
java
async Task<int> writeArray( List<int> byteList)
uwp
writeArray( byteList)
py
function writeArray( $byteList)
php
async writeArray( byteList)
es
int writeArray( int[] byteList)
dnp
int writeArray( vector<int> byteList)
cp
YSerialPort
target
cmd
Paramètres :
la liste d'octets à envoyer
byteList
Retourne :
YAPI_SUCCESS
si l'opération se déroule sans erreur.
En cas d'erreur, déclenche une exception ou retourne un code d'erreur négatif.
402
byteList
byteList
As List(Of)
writeArray
byteList
YSerialPort
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières