Difference between revisions of "Get the Sensor Name"

From ArcoWiki
Jump to: navigation, search
m (Links to existing pages added by LinkTitles bot.)
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>
 +
 +
[[Category:Dmis_Tutorial]]

Revision as of 15:16, 4 August 2016

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