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

Table des Matières

Publicité

25. 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: string): Promise<number>
ts
async writeStr( text)
es
int writeStr( string text)
dnp
int writeStr( string text)
cp
YSerialPort
target
cmd
Paramètres :
text
la chaîne de caractères à 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.
420
text
text
As String) As Integer
writeStr
text
YSerialPort
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières