---
title: "getEclipseActiveTrial"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736573/getEclipseActiveTrial"
format: markdown
---
# Description

Return the full path of active trial from Eclipse database. If there is no selection or selection does not include any trial, the empty string is returned

## Functional area

Data management

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getEclipseActiveTrial` |

### Arguments

None

### Flags

None

## Return value

string

The returned string is a full path of active trial from Eclipse database

## Examples

```plaintext
// Print active trial file from Eclipse database
string $trial = `getEclipseActiveTrial`; 
print $trial;
```

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

# Additional information

## Related commands

- [getEclipseAssociatedCalibration](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737516)
- [getEclipseAssociatedSubjects](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737055)
- [getEclipseMarkedTrials](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737009)