22. Référence de l'API de haut niveau
currentloopoutput→get_loopPower()
currentloopoutput→loopPower()
Retourne l'état de l'alimentation de la boucle.
function get_loopPower( )
js
Y_LOOPPOWER_enum get_loopPower( )
cpp
-(Y_LOOPPOWER_enum) loopPower
m
Integer get_loopPower( ): Integer
pas
function get_loopPower( ) As Integer
vb
int get_loopPower( )
cs
int get_loopPower( )
dnp
int get_loopPower( )
java
async Task<int> get_loopPower( )
uwp
get_loopPower( )
py
function get_loopPower( )
php
async get_loopPower( )
es
YCurrentLoopOutput
cmd
POWEROK: la boucle est alimentée. NOPWR: la boucle n'est pas alimenté. LOWPWR: la boucle n'est
pas alimenté suffisamment pour pouvoir maintenir le courant demandé (tension insuffisante)
Retourne :
u n e
v a l e u r
p a r m i
Y_LOOPPOWER_POWEROK
En cas d'erreur, déclenche une exception ou retourne
306
target
get_loopPower
Y _ L O O P P O W E R _ N O P W R
r e p r é s e n t a n t l ' é t a t d e l ' a l i m e n t a t i o n d e l a b o u c l e
YCurrentLoopOutput
Y _ L O O P P O W E R _ L O W P W R
,
Y_LOOPPOWER_INVALID
e t
.
www.yoctopuce.com