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

Table des Matières

Publicité

25. Référence de l'API de haut niveau
serialport→get_lastMsg()
serialport→lastMsg()
Retourne le dernier message reçu (pour les protocoles de type Line, Frame et Modbus).
function get_lastMsg( )
js
string get_lastMsg( )
cpp
-(NSString*) lastMsg
m
string get_lastMsg( ): string
pas
function get_lastMsg( ) As String
vb
string get_lastMsg( )
cs
String get_lastMsg( )
java
async Task<string> get_lastMsg( )
uwp
get_lastMsg( )
py
function get_lastMsg( )
php
async get_lastMsg( ): Promise<string>
ts
async get_lastMsg( )
es
string get_lastMsg( )
dnp
string get_lastMsg( )
cp
YSerialPort
target
cmd
Retourne :
une chaîne de caractères représentant le dernier message reçu (pour les protocoles de type Line, Frame et
Modbus)
En cas d'erreur, déclenche une exception ou retourne
354
get_lastMsg
YSerialPort.LASTMSG_INVALID
YSerialPort
.
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières