MC-Basic:SYSTEM.ANIN.bitrange

From SoftMC-Wiki
Revision as of 06:51, 30 March 2022 by Miborich (talk | contribs) (Created page with " {{Languages|MC-Basic:SYSTEM.ANIN.bitrange}} <br/> {{MC-Basic<br/> |SHORT FORM=<br/> Sys.AnIn[Index].bitrange<br> |SYNTAX=<br/> ?System.AnIn[Index].bitrange<br> |AVAILA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English
 
{{MC-Basic
|SHORT FORM=
Sys.AnIn[Index].bitrange

|SYNTAX=
 ?System.AnIn[Index].bitrange

|AVAILABILITY=
Version 0.4.20.5r8-C2 or higher

|DESCRIPTION=
Exactly the same as Sys.ANIN[Index].bitrange

Used to map the analog input to a specific range in the digital infrastructure array.

|TYPE=
long

|RANGE=
0, 8, 12, 16, 32 or other

|UNITS=

|DEFAULT=
0

|SCOPE=
Configuration, Task or Terminal

|LIMITATIONS=
Read or write.

|EXAMPLE=

  • -->Sys.AnIn[1].bitrange = 8
    * according to SYSTEM.ANIN.map property, the analog input will be mapped to sys.Din[<.map>][8]

|SEE ALSO=
* SYSTEM.ANIN
* SYSTEM.ANIN.sim
* SYSTEM.ANIN.analogscale
* SYSTEM.ANIN.map
* SYSTEM.ANIN.signed



}}