---
title: "PEF 150 Channel"
canonical: "https://docs.cuesystem.com/space/CVCHELP/524353894/PEF%20150%20Channel"
format: markdown
---
> Macro (toc)

---

# Properties

- **Channel address** 0-31 address of the channel, defaults to 1.
- **Bank** 0-9 module group, defaults to 1.

# ChangeLevel

This function increases the level (leveldifference is positive) or decreases (leveldifference is negative) a channel within ramptime. The new_level := old_level + leveldifference. 

#### Syntax 

```visualbasic
Function ChangeLevel( 
  leveldifference As double, 
Optional ramptime As Time := :0)
```

#### Parameters 

leveldifference 

[<u>Double</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double) It is the level difference. The value is from -100.0 to 100.0. 

ramptime 

[<u>Time</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Time) Optional, defaults to :0. It is the time of the ramp. If it is :0 by default, the level is changed immediately. 

# GetLevel

This function gets channel level. 

#### Syntax 

```visualbasic
Function GetLevel() As Double
```

#### Return value 

[<u>Double</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double) It is the level. The value is from 0.0 to 100.0. 

# IsDownClosed

The function returns if an input channel Down is closed or opened. 

#### Syntax 

```visualbasic
Function IsDownClosed() As Boolean
```

#### Return value 

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) It is True if the input channel Down is closed, False otherwise. 

# IsUpClosed

The function returns if an input channel Up is closed or opened. 

#### Syntax 

```visualbasic
Function IsUpClosed() As Boolean
```

#### Return value 

[<u>Boolean</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean) It is True if the input channel Up is closed, False otherwise. 

# SetLevel

This function sets a level on a channel within ramptime. 

#### Syntax 

```visualbasic
Function SetLevel( 
  level As Double, 
  Optional ramptime As Time := :0)
```

#### Parameters 

level 

[<u>Double</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double) It is the new level. The value is from 0.0 to 100.0. 

ramptime 

[<u>Time</u>](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Time) Optional, defaults to :0. It is the time of the ramp. If it is :0 by default, the level is set immediately. 

# StopAtCurrentLevel

This function stops level change on the current level. 

#### Syntax 

```visualbasic
Function StopAtCurrentLevel()
```