> 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.16/application-notes/application-note-dynamically-manipulating-application-signal-arrays/application-note-dynamically-manipulating-application-signal-arrays-2.md).

# Application Note: Dynamically Manipulating Application Signal Arrays

### Looping through an Application Signal Array in a Function Block

Below is an example of a simple function block that will store the values from Signal 1 in Example Message 1 in the Application Signal array Example Array, which has size of 10.

![](https://content.gitbook.com/content/l4AHCa3zNeJQNFBrgCqy/blobs/PwBX8Jc90y4EGmfcjUpw/ASLoop6.gif)

Once the values you are looking to capture are stored in an array, you can manipulate and use that data in similar ways. In the function block below, the array is used to generate an average of all the stored array values using a loop, as an alternative to using Jump If.

![](https://content.gitbook.com/content/l4AHCa3zNeJQNFBrgCqy/blobs/FLpNJdRQ8gslPniV3mmH/ASLoop7.gif)


---

# 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.16/application-notes/application-note-dynamically-manipulating-application-signal-arrays/application-note-dynamically-manipulating-application-signal-arrays-2.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.
