> 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.12/application-notes/application-note-vehiclescape-standalone-logging/application-note-vehiclescape-standalone-logging-part-2-collection-and-restart-options.md).

# Application Note: VehicleScape Standalone Logging - Part 2: Collection and Restart Options

### Collection Configuration (Part 1):

This is for those who chose "Immediately" or "When Expression is True" on the previous step. In this menu, you have two options for how you can stop your collection. The simplest method is to stop after a certain number of messages (Figure 1: ![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/smOne.gif)). The number of messages to collect may be chosen from the drop down or manually entered in. The other option is to "Finish on Expression" (Figure 1: ![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/smTwo.gif)). With this option selected, you may set up an expression that will stop your data collection.

![Figure 1: Collection Configuration](https://2280262322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3KyOmcYmM6ZVd3OQDa1%2Fuploads%2FpEya71HQ8fSQtMl2QPuu%2FCollconfig.gif?alt=media\&token=5db4d3b8-7c4d-4a31-af09-8f29cdcf28d7)

### Collection Configuration (Part 2):

If you chose "Using Trigger" in the previous step you will see different setup options than above.  Start this part by choosing one of two options "Pre/Post Collection" or a "One-Shot Report" (Figure 2: ![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/smOne.gif)). Next select the size of your SD card (Figure 2: ![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/smTwo.gif)). Next, select the number of messages you want to be collected before and after the trigger that was defined in the previous step (Figure 2: ![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/smThree.gif)). Besides selecting a number from the dropdown you may enter any number of your choice by clicking inside the drop down box. You can also choose a time length before and after the defined trigger. The number in blue reflects the total number of captures that can be saved before the SD card is full.  If you require more captures, you must reduce the total number of messages in each capture.

![Figure 2: Collection Configuration (Pre/Post Trigger)](https://2280262322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3KyOmcYmM6ZVd3OQDa1%2Fuploads%2FkIRi3wlIHgHCfEUctlou%2FCollconfig2trigger.gif?alt=media\&token=84deede1-e0ab-4c19-b9bf-2c7ca463e1ed)

### Restart Options:

Once you have set the parameters above, you can set if you want to log another collection, or if you want to stop logging after one collection. Alternatively, you can force the start of another collection regardless of the start expression.

![Figure 3: Restart Options](https://2280262322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC3KyOmcYmM6ZVd3OQDa1%2Fuploads%2FO8UyJV9Fb8mqpSxiQywK%2FRestartOptionsNew.gif?alt=media\&token=2b1f6868-f26b-4868-b41f-ec303eada807)


---

# 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.12/application-notes/application-note-vehiclescape-standalone-logging/application-note-vehiclescape-standalone-logging-part-2-collection-and-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.
