# sendData(data)

Uploads the specified data to the script server.

### Syntax

o_sendData(data)
  data: Record - specifies both name and values of the variables to be used in the specified script
  return: Text - "OK" means that the server has received this directive. Any other result is an error.

### Usage

The data input must be a Record. The variables are defined by the field names and the values by the field values. Note that records are NOT supported as field values. Also note that as with scripts, the variable names must conform with the requirements of the chosen language.

### Location

menu: veeos ==> Scripting ==> Advanced ==> Send Data

library: scriptLib

### Example

### Notes

This object must be run at least once so that the server knows what data to use.

The script and data are persistent and independent. As such a script may be uploaded once then executed many times with different data. Similarly a dataset may be uploaded once then processed using various scripts.

### 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:32.