grandMA3 User Manual Publication

GetShowFileStatus()

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetShowFileStatus()
Version 2.0

Description

The GetShowFileStatus Lua function returns a string with the current device's show file status, for example, "NoShow", "ShowLoaded", "ShowDownloaded", "ShowSaving", and "DataNegotiationActive".

Arguments

This function does not accept any arguments.

Return

  • String:
    The returned string is the enum string from "Enums.ShowFileStatus" that matches the current status.

Example

This example prints the current device's show file status in the Command Line History:

Lua
return function ()
-- Prints the current showfile status
Printf("ShowfileStatus: "..GetShowFileStatus())
end