Shut down

From Sim Innovations Wiki
Jump to navigation Jump to search

Description

value = shut_down(type)

shut_down is used to shut down the application (Air Manager or Air Player) or the system where the instrument runs on

Return value

This function won't return any value.

Arguments

# Argument Type Description
1 type String "APPLICATION" if you want to shut down Air Manager or Air Player, or "SYSTEM" if you want to shutdown the system (windows, Raspberry Pi etc.)

Example

-- Shut down Windows or the Raspberry Pi
shut_down("SYSTEM")