MC-Basic:SYSTEM.ANIN.sim

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

Exactly the same as Sys.ANOUT[Index].sim

Used to set an analog Input as simulated. Once an output was set as simulated, there is no meaning to all other analog properties.
The analog output becomes a simple double variable that holds a certain value regardless of its real arrangement in the digital infrastructure.
Any index can be set as simulated in the analog array.

Short form

Sys.AnIn[Index].sim

Syntax

?System.AnIn[Index]sim

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.

Examples

  • -->Sys.AnIn[1].sim = 1

See Also