Difference between revisions of "Get the Sensor Name"

From ArcoWiki
Jump to: navigation, search
m (3 revisions imported)
 
Line 8: Line 8:
 
::<code>SENSOR_NAME=ASSIGN/SCSNS()<br/></code>
 
::<code>SENSOR_NAME=ASSIGN/SCSNS()<br/></code>
 
::<code>PRDIAM=OBTAIN/SA(@SENSOR_NAME),10<br/></code>
 
::<code>PRDIAM=OBTAIN/SA(@SENSOR_NAME),10<br/></code>
 +
[[it:Ottieni il nome del sensore]]
 +
[[zh-cn:获取传感器名称]]
 +
[[pt:Obter o nome do sensor]]
 +
[[de:Erhalte den Sensornamen]]
 +
[[es:Obtener el nombre del sensor]]
 +
[[en:Get the Sensor Name]]
  
 
[[Category:Dmis_Tutorial]]
 
[[Category:Dmis_Tutorial]]

Latest revision as of 07:48, 7 June 2018

In order to Get the Sensor Name it is necessary to use the command SCSNS().
It return the name of the current probe.

$$ Example of the SCSNS code

DECL/DOUBLE,PRDIAM
DECL/CHAR,50,SENSOR_NAME

$$ It Assigns to the SENSOR_NAME variable the SCSN Value

SENSOR_NAME=ASSIGN/SCSNS()
PRDIAM=OBTAIN/SA(@SENSOR_NAME),10