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

Table des Matières

Publicité

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

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières