# 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://2396693198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlRJv2XDCMeZSU0VbeZlG%2Fuploads%2Fgit-blob-04eda023ada9695eacef769ccdc86930b4af7633%2FASLoop6.gif?alt=media)

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://2396693198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlRJv2XDCMeZSU0VbeZlG%2Fuploads%2Fgit-blob-567d5bebd098029b49fc0d1e6b2d9be1eef59a01%2FASLoop7.gif?alt=media)
