# checkStatus()

Queries the script server to determine if it is running and ready for use.

### Syntax

o_checkStatus()
  no inputs
  return: Text - "OK" means that the server is up and ready. Any other result is an error.

### Usage

Use this to determine if the server is up and ready.

### Location

menu: veeos ==> Scripting ==> Advanced ==> checkStatus

library: scriptLib

### Example

The typical usage of checkStatus is a polling loop that waits for the server to reply with "OK".

### Notes

This object never actually needs to be run, but it is advisable to check the server status before attempting to execute any script

### Reference

### Dependencies

### Supported On

VEE 7.0+, Windows 7+

### See Also

checkStatus, disconnectServer, executeScript, getResult, sendData, sendScript, setShutdownTimeout

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 09 August 2021 18:20.