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

Table des Matières

Publicité

25. Référence de l'API de haut niveau
serialport→writeLine()
Envoie une chaîne de caractères sur le port série, suivie d'un saut de ligne (CR LF).
function writeLine( text)
js
int writeLine( string text)
cpp
-(int) writeLine : (NSString*)
m
LongInt writeLine( text: string): LongInt
pas
function writeLine( ByVal
vb
int writeLine( string text)
cs
int writeLine( String text)
java
async Task<int> writeLine( string text)
uwp
writeLine( text)
py
function writeLine( $text)
php
async writeLine( text: string): Promise<number>
ts
async writeLine( text)
es
int writeLine( string text)
dnp
int writeLine( 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.
418
text
text
As String) As Integer
writeLine
text
YSerialPort
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières