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

Table des Matières

Publicité

25. 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: number[]): Promise<number>
ts
async writeArray( byteList)
es
int writeArray( int[] byteList)
dnp
int writeArray( vector<int> byteList)
cp
YSerialPort
target
cmd
Paramètres :
byteList
la liste d'octets à envoyer
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.
414
byteList
byteList
As List(Of)
writeArray
byteList
YSerialPort
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières