The GseosCmd module implements the GSEOS command interface. The commands availabe are defined in a command defintion file (*.cpd). You have to load the command definition file before you can issue the commands. You issue commands with the ExecCmd() function, if your commands define descriptions you can access the command description with GetCmdDoc(). Range checking is controlled with the function EnableRangeCheck(). IsRangeCheckEnabled() allows you to query if range checking is enabled or disabled.
ExecCmd() parses your command and validates it against the command database. If it is a critical command it will prompt with a dialog to confirm the command unless it confirmation has been globally disabled in the gseos.ini file or for this command specifically with the bCriticalCmdDialog flag. If not all parameters are specified it will prompt for the remaining arguments. The output of ExecCmd() is the system block CmdString. This block in turn will be processed by the command processor and generate the BinCmd block depending on your command definition. This block in turn is processed by the BIOS module and will command your instrument hardware as necessary.
You can assign commands to hierarchical command menus for easy access or place them on command buttons on your screens.