OSCALL – Operating system calls

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio TRG E iE OSCALL

Function Description
The OSCALL block is intended for executing operating system functions from within the REXYGEN system. The chosen action is performed upon a rising edge (off on) at the TRG input. However, not all actions are supported on individual platforms. The result of the operation and the possible error code are displayed by the E and iE outputs.

Note that there is also the EPC block available, which allows execution of external programs.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Input

TRG

Trigger of the selected action

Bool

Parameter

action

System function to perform  1

Long (I32)

1 ....

Reboot system

2 ....

System shutdown

3 ....

System halt

4 ....

Flush disc caches

5 ....

Lock system partition

6 ....

Unlock system partition

7 ....

Disable internal webserver

8 ....

Enable internal webserver

cmd

Reserved for internal use

String

Output

E

Error indicator

Bool

off ..

No error

on ...

An error occurred

iE

Error code

Long (I32)

2024 © REX Controls s.r.o., www.rexygen.com