> 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.15/vehicle-spy-main-menus/main-menu-spy-networks/message-editor/messages-editor-message-fields/message-length.md).

# Message Length

The **DLC** (Data Length Code) allows specification of the expected length for a CAN message (Figure 1).

Likewise, the Len column specifies the length for a LIN message.

![Figure 1: Specify Message Length in the DLC Column](/files/R3MNJzQvVSihM1JPkxBT)

When a message is received, its length is compared to the expected message length. If it doesn't match, the global error and expected length bits will be set in the message status field. Vehicle Spy will indicate an error by showing a red dot next to the message in [Messages](/vspy-3-documentation/3.9.15/vehicle-spy-main-menus/main-menu-spy-networks/messages-view.md) view.

Leave the length column blank to disable length checking.


---

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

```
GET https://docs.intrepidcs.com/vspy-3-documentation/3.9.15/vehicle-spy-main-menus/main-menu-spy-networks/message-editor/messages-editor-message-fields/message-length.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
