Difference between revisions of "Get the Sensor Name"
From ArcoWiki
(Created page with "In order to '''Get the Sensor Name''' it is necessary to use the command <code>SCSNS()</code>.<br/> It return the name of the current probe.<br/> <code><span style="color: gr...") |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | In order to '''Get the Sensor Name''' it is necessary to use the command <code>SCSNS()</code>.<br/> | + | In order to '''[[Get the Sensor Name]]''' it is necessary to use the command <code>SCSNS()</code>.<br/> |
It return the name of the current probe.<br/> | It return the name of the current probe.<br/> | ||
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]] |
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