Difference between revisions of "Get Values from Environment"
From ArcoWiki
| (One intermediate revision by one other user not shown) | |||
| Line 11: | Line 11: | ||
<code><span style="color: green; text-decoration: none;">$$ In this case the function returns the current specified sensor setting</span><br/></code> | <code><span style="color: green; text-decoration: none;">$$ In this case the function returns the current specified sensor setting</span><br/></code> | ||
<code><span style="color: green; text-decoration: none;">$$ and the search distance | <code><span style="color: green; text-decoration: none;">$$ and the search distance | ||
| + | [[it:Ottieni valori dall'ambiente]] | ||
| + | [[zh-cn:从环境中获取价值]] | ||
| + | [[pt:Obter valores do ambiente]] | ||
| + | [[de:Werte aus der Umgebung abrufen]] | ||
| + | [[es:Obtener valores del entorno]] | ||
| + | [[en:Get Values from Environment]] | ||
[[Category:Dmis_Tutorial]] | [[Category:Dmis_Tutorial]] | ||
Latest revision as of 07:33, 7 June 2018
The command Value/ allow to Get Values from Environment.
This function can return different data types, so the result must be assigned to a previously declared variable of a proper type.
Please refer to the DMIS manual in order to get the full list of commands.
$$ Example of the Value command
$$ Declaration of the variable
DECL/DOUBLE,act_search
$$ Assignment to the declared variable of the different type value
act_search=VALUE/SNSET,SEARCH
$$ In this case the function returns the current specified sensor setting
$$ and the search distance