MC-Basic:SYSTEM.ANOUT.signed

From SoftMC-Wiki
Revision as of 14:17, 31 December 2020 by Guy (talk | contribs) (Created page with "{{Languages|MC-Basic:SYSTEM.ANOUT.signed}} {{MC-Basic |SHORT FORM= Sys.AnOut[Index].signed<br> |SYNTAX= ?System.AnOut[Index].signed<br> |AVAILABILITY= Version 0.4.20.5r8-C2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English

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

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

Short form

Sys.AnOut[Index].signed

Syntax

?System.AnOut[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 output as unsigned, negative values will become invalid values.

Examples

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

See Also