Table of Contents

Class OutputChannelConfiguration

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

Represents pulse train configuration parameters for an output channel on a Pulse Pal device.

[TypeConverter(typeof(OutputChannelConfiguration.OutputChannelConfigurationConverter))]
public class OutputChannelConfiguration : OutputChannelParameterConfiguration
Inheritance
OutputChannelConfiguration
Derived
Inherited Members

Properties

Biphasic

Gets or sets a value specifying whether to use biphasic or monophasic pulses.

public bool Biphasic { get; set; }

Property Value

bool

BurstDuration

Gets or sets the duration of a pulse burst, in the range [0, 3600] seconds. If set to zero, bursts are disabled.

[Range(0, 3600)]
[Precision(4, 0.0001)]
public double BurstDuration { get; set; }

Property Value

double

ContinuousLoop

Gets or sets a value specifying whether to set the output channel in continuous loop mode.

public bool ContinuousLoop { get; set; }

Property Value

bool

CustomTrainIdentity

Gets or sets a value specifying the identity of the custom pulse train to use on this output channel.

public CustomTrainId CustomTrainIdentity { get; set; }

Property Value

CustomTrainId

CustomTrainLoop

Gets or sets a value specifying whether the output channel will loop its custom pulse train.

public bool CustomTrainLoop { get; set; }

Property Value

bool

CustomTrainTarget

Gets or sets a value specifying the interpretation of pulse times in the custom pulse train.

public CustomTrainTarget CustomTrainTarget { get; set; }

Property Value

CustomTrainTarget

InterBurstInterval

Gets or sets the duration of the off-time between bursts, in the range [0.0001, 3600] seconds.

[Range(0.0001, 3600)]
[Precision(4, 0.0001)]
public double InterBurstInterval { get; set; }

Property Value

double

InterPhaseInterval

Gets or sets the interval between the first and second phase of a biphasic pulse, in the range [0, 3600] seconds.

[Range(0, 3600)]
[Precision(4, 0.0001)]
public double InterPhaseInterval { get; set; }

Property Value

double

InterPulseInterval

Gets or sets the interval between pulses, in the range [0.0001, 3600] seconds.

[Range(0.0001, 3600)]
[Precision(4, 0.0001)]
public double InterPulseInterval { get; set; }

Property Value

double

Phase1Duration

Gets or sets the duration of the first phase of the pulse, in the range [0.0001, 3600] seconds.

[Range(0.0001, 3600)]
[Precision(4, 0.0001)]
public double Phase1Duration { get; set; }

Property Value

double

Phase1Voltage

Gets or sets the voltage for the first phase of each pulse.

[Range(-10, 10)]
[Precision(3, 0.001)]
public double Phase1Voltage { get; set; }

Property Value

double

Phase2Duration

Gets or sets the duration of the second phase of the pulse, in the range [0.0001, 3600] seconds.

[Range(0.0001, 3600)]
[Precision(4, 0.0001)]
public double Phase2Duration { get; set; }

Property Value

double

Phase2Voltage

Gets or sets the voltage for the second phase of each pulse.

[Range(-10, 10)]
[Precision(3, 0.001)]
public double Phase2Voltage { get; set; }

Property Value

double

PulseTrainDelay

Gets or sets the delay to start the pulse train, in the range [0.0001, 3600] seconds.

[Range(0.0001, 3600)]
[Precision(4, 0.0001)]
public double PulseTrainDelay { get; set; }

Property Value

double

PulseTrainDuration

Gets or sets the duration of the pulse train, in the range [0.0001, 3600] seconds.

[Range(0.0001, 3600)]
[Precision(4, 0.0001)]
public double PulseTrainDuration { get; set; }

Property Value

double

RestingVoltage

Gets or sets the resting voltage, in the range [-10, 10] volts.

[Range(-10, 10)]
[Precision(3, 0.001)]
public double RestingVoltage { get; set; }

Property Value

double

TriggerOnChannel1

Gets or sets a value specifying whether trigger channel 1 can trigger this output channel.

public bool TriggerOnChannel1 { get; set; }

Property Value

bool

TriggerOnChannel2

Gets or sets a value specifying whether trigger channel 2 can trigger this output channel.

public bool TriggerOnChannel2 { get; set; }

Property Value

bool

Methods

Configure(PulsePalDevice)

Applies the channel parameter configuration to the specified Pulse Pal device.

public override void Configure(PulsePalDevice pulsePal)

Parameters

pulsePal PulsePalDevice

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.