MC-Basic:SYSTEM.ANIN.bitrange

From SoftMC-Wiki
Jump to: navigation, search
Language: English


Exactly the same as Sys.ANIN[Index].bitrange

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

Short form


Sys.AnIn[Index].bitrange

Syntax


 ?System.AnIn[Index].bitrange

Availability


Version 0.4.20.5r8-C2 or higher

Type


long

Range


0, 8, 12, 16, 32 or other

Default


0

Scope


Configuration, Task or Terminal

Limitations


Read or write.

Examples

  • -->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