---
title: "getModuleRange"
canonical: "https://help.vicon.com/space/Shogun17/13536573/getModuleRange"
format: markdown
---
# Description

Gets a module's range of data. This is the union of the frame ranges of all channel data. If the module has no data, 1 and -1 is returned.

## Functional area

Data retrieval

# Command syntax

## Syntax

|  |
| --- |
| `getModuleRange module or moduleArray[-i]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `moduleName` | string | yes | Module to get range for. |

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `i` | 0 | — | — | — |

## Return value

Integer array

## Examples

```plaintext
// Get the RFWT`s range of data.
int $dataRange[]; 
$dataRange = `getModuleRange "RFWT"`;
print $dataRange;
```