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

Table des Matières

Publicité

serialport→writeStxEtx()
Envoie une chaîne de caractères sur le port série, précédée d'un code STX et suivie d'un code ETX.
function writeStxEtx( text)
js
int writeStxEtx( string text)
cpp
-(int) writeStxEtx : (NSString*)
m
LongInt writeStxEtx( text: string): LongInt
pas
function writeStxEtx( ByVal
vb
int writeStxEtx( string text)
cs
int writeStxEtx( String text)
java
async Task<int> writeStxEtx( string text)
uwp
writeStxEtx( text)
py
function writeStxEtx( $text)
php
async writeStxEtx( text: string): Promise<number>
ts
async writeStxEtx( text)
es
int writeStxEtx( string text)
dnp
int writeStxEtx( string text)
cp
YSerialPort
target
cmd
Paramètres :
text
la chaîne de caractères à envoyer
Retourne :
YAPI.SUCCESS
En cas d'erreur, déclenche une exception ou retourne un code d'erreur négatif.
www.yoctopuce.com
text
text
As String) As Integer
writeStxEtx
text
si l'opération se déroule sans erreur.
25. Référence de l'API de haut niveau
YSerialPort
421

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières