> For the complete documentation index, see [llms.txt](https://docs.intrepidcs.com/vspy-3-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intrepidcs.com/vspy-3-documentation/3.9.17/vehicle-spy-main-menus/main-menu-scripting-and-automation/function-blocks/function-blocks-types/script-type-function-block-commands/script-type-function-block-command-load-message-data.md).

# Script Type Function Block Command: Load Message Data

### Command Description

This command loads byte data from a file into a [transmit message](/vspy-3-documentation/3.9.17/vehicle-spy-main-menus/main-menu-spy-networks/message-editor/messages-editor-receive-transmit-and-database-tables.md). You can use it to set the contents of a message before sending it out.

### Value Field Parameters

Double-click in the **Value** field to launch this command's parameter dialog box (Figure 1). There are several settings here.

![Figure 1: Parameter setup for the Load Message Datacommand.](https://content.gitbook.com/content/ZqysKgxMTlY1CiNX5qrT/blobs/2BhvokWD9uQP4mgeeSbp/fb_load_message_data.gif)

### Start Index

The value of the first byte of data in the file to load. This is specified as an [application signal](/vspy-3-documentation/3.9.17/vehicle-spy-main-menus/main-menu-scripting-and-automation/application-signals.md) (**Message Data Start Value** in our example in Figure 1) that should be declared ahead of time and set to the correct figure.

### Length

The length of the data, in bytes, to load from the file. Again this is specified not directly but rather through an application signal (**Data Length** in Figure 1).

### Filename without extension (\*.msgbin)

This is the name of the actual file from which to load data. The file must have a **.msgbin** extension and be located in the [data directory](/vspy-3-documentation/3.9.17/basic-operation-of-vehicle-spy/data-directory.md) of the current user.

### Fast load data

When this optional setting is checked, data will be stored in flash memory, if possible, instead of RAM. This frees up more RAM for other purposes.

### Transmit Message

The transmit message to receive the data:

* **Message:** The actual transmit message, selected through a drop-down box (this is **Outgoing Data Transmission** in Figure 1).
* **Byte Start Index:** Specifies the first byte of the transmit message into which data should be loaded.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.intrepidcs.com/vspy-3-documentation/3.9.17/vehicle-spy-main-menus/main-menu-scripting-and-automation/function-blocks/function-blocks-types/script-type-function-block-commands/script-type-function-block-command-load-message-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
