Yoctopuce Yocto-Serial Mode D'emploi page 414

Table des Matières

Publicité

24. Référence de l'API de haut niveau
serialport→writeStr()
Envoie une chaîne de caractères telle quelle sur le port série.
function writeStr( text)
js
int writeStr( string text)
cpp
-(int) writeStr : (NSString*)
m
LongInt writeStr( text: string): LongInt
pas
function writeStr( ByVal
vb
int writeStr( string text)
cs
int writeStr( String text)
java
async Task<int> writeStr( string text)
uwp
writeStr( text)
py
function writeStr( $text)
php
async writeStr( text)
es
int writeStr( string text)
dnp
int writeStr( string text)
cp
YSerialPort
target
cmd
Paramètres :
la chaîne de caractères à envoyer
text
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.
408
text
text
As String) As Integer
writeStr
text
YSerialPort
www.yoctopuce.com

Publicité

Table des Matières
loading

Table des Matières