> 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/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/message-capture-method-restart-options.md).

# Message Capture Method: Restart Options

In [VehicleScape DAQ](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-online-tab.md) [Standalone Logging](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab.md), a number of restart options are available for the [Message Capture](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/collections-and-methods-message-capture-method.md) method. There are three possible choices, but which ones are available depends on the selected [Start Option](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/collections-and-methods-message-capture-method/message-capture-method-start-options.md) and [Stop Option](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/message-capture-method-stop-options.md).

### Start Option = Start Immediately

In this case there are two restart options with the **Force restart** option grayed out (Figure 1):

* **Do not restart the collection when finished:** End logging after data has been captured.
* **Restart the collection when finished:** Start logging again after initial data capture.

![Figure 1: Restart Options when Start Option = Start immediately.](https://3170208387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL6lcovCpkhoS9uTOFtEp%2Fuploads%2F7VIpoyHb0OhUwSu0SsLX%2Fspyvssalrestartoptions_immediately.gif?alt=media\&token=557bc23d-a6a9-407b-b1f2-e32b3638ba57)

### Start Option = Start When Expression is True

In this case there are three restart options. The option controls what happens after [the correct number of messages are collected or the finish expression is true](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/message-capture-method-stop-options/message-capture-method-stop-options-finish-after-collecting-messages-or-when-expression-is-true.md):

* **Do not restart the collection when finished:** End logging.
* **Restart the collection when finished:** Start logging again when the start expression is again true.
* **Force restart (do not wait for start expression):** Restart again regardless of the condition of the start expression.

Figure 2 shows the three options.

![Figure 2: Restart Options when Start Option = Start when expression is true.](https://3170208387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL6lcovCpkhoS9uTOFtEp%2Fuploads%2Ftmr4SkyxRNLUEG6bvptC%2Fspyvssalrestartoptions_when_expression_is_true.gif?alt=media\&token=c5663194-324d-436f-8eda-b96687f20afa)

### Start Option = Start Using Trigger Expression

There are again here three basic restart options, but which appear depends on other settings made in the Standalone Logging area:

* **Do not restart the collection when finished:** End logging. This option is always available unless the [Pre/Post Collection Method](/vspy-3-documentation/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/message-capture-method-stop-options/message-capture-method-stop-options-pre-post-collection.md) is selected and the **Stop on expression** box is checked (which makes the **Do not restart** option here irrelevant, so it is grayed out).
* **Restart the collection when finished:** Start logging again; if triggering based on when an expression is true, do so when the start expression is true again. This option is always available.
* **Force Restart:** If **Trigger when expression is true** is selected, and the **One-shot Report** Stop Option is chosen, this item is enabled to allow restart regardless of the condition of the start expression.

**Note:** For Pre/Post Collection, choosing **Restart**will erase the oldest capture with new data.

Table 1 summarizes which restart options are available based on selected Standalone Logging settings. Figure 3 shows an example where **Trigger when expression is true** and **One-shot Report** are both selected.

**Table 1: Available Restart Options Based on Trigger Event and Stop Option Settings**

| Trigger Option                                                                                | Pre/Post Collection without Stop on Expression Checked | Pre/Post Collection with Stop on Expression Checked | One-shot Report                                  |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------ | --------------------------------------------------- | ------------------------------------------------ |
| Trigger when expression is true                                                               | Do Not Restart, Restart                                | Restart                                             | <p>Do Not Restart, Restart,<br>Force Restart</p> |
| Trigger when expression changes                                                               | Do Not Restart, Restart                                | Restart                                             | Do Not Restart, Restart                          |
| Trigger when expression increases / decreases / changes / exceeds constant and then decreases | Do Not Restart, Restart                                | Restart                                             | Do Not Restart, Restart                          |

![Figure 3: Restart Options when Start Option = Using Trigger Expression, the Trigger when expression is true suboption is selected, and the One-shot Report Stop Option has been chosen.](https://3170208387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL6lcovCpkhoS9uTOFtEp%2Fuploads%2Ftmr4SkyxRNLUEG6bvptC%2Fspyvssalrestartoptions_when_expression_is_true.gif?alt=media\&token=c5663194-324d-436f-8eda-b96687f20afa)


---

# 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/vehicle-spy-main-menus/main-menu-measurement/vehiclescape-daq/vehiclescape-daq-standalone-logging-tab/standalone-logging-collections-and-methods/message-capture-method-restart-options.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.
