---
title: "getEclipseActiveTrial"
canonical: "https://help.vicon.com/space/Shogun112/31234493/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

|  |
| --- |
| `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;
```

# Additional information

## Related commands

- [getEclipseAssociatedCalibration](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31237048)
- [getEclipseAssociatedSubjects](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31230380)
- [getEclipseMarkedTrials](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31232915)