MC-Basic:SYSTEM.ANIN.signed

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

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

Used to state whether this input channel will input signed or unsigned voltage values.

Short form

Sys.AnIn[Index].signed

Syntax

?System.AnIn[Index].signed

Availability

Version 0.4.20.5r8-C2 or higher

Type

Long

Range

1 or 0

Default

0

Scope

Configuration, Task or Terminal

Limitations

Read or write. by setting an analog input as unsigned, negative values will become invalid values.

Examples

  • -->Sys.AnIn[1].signed = 1
    • both negative and positive values are allowed
  • -->Sys.AnIn[1].signed = 0
    • only positive values are allowed

See Also