Table of Contents

Class ContextTask

Namespace
OpenEphys.Onix
Assembly
OpenEphys.Onix.dll
public class ContextTask : IDisposable
Inheritance
ContextTask
Implements
Inherited Members

Constructors

ContextTask(string, int)

public ContextTask(string driver, int index)

Parameters

driver string
index int

Fields

DefaultDriver

public static readonly string DefaultDriver

Field Value

string

DefaultIndex

public static readonly int DefaultIndex

Field Value

int

Properties

AcquisitionClockHz

public uint AcquisitionClockHz { get; }

Property Value

uint

BlockReadSize

public int BlockReadSize { get; }

Property Value

int

BlockWriteSize

public int BlockWriteSize { get; }

Property Value

int

DeviceTable

public Dictionary<uint, Device> DeviceTable { get; }

Property Value

Dictionary<uint, Device>

HardwareAddress

public int HardwareAddress { get; set; }

Property Value

int

HubState

public PassthroughState HubState { get; set; }

Property Value

PassthroughState

MaxReadFrameSize

public uint MaxReadFrameSize { get; }

Property Value

uint

MaxWriteFrameSize

public uint MaxWriteFrameSize { get; }

Property Value

uint

SystemClockHz

public uint SystemClockHz { get; }

Property Value

uint

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetHub(uint)

public Hub GetHub(uint deviceAddress)

Parameters

deviceAddress uint

Returns

Hub

GetPassthroughDeviceAddress(uint)

public virtual uint GetPassthroughDeviceAddress(uint deviceAddress)

Parameters

deviceAddress uint

Returns

uint

ReadFrame()

public Frame ReadFrame()

Returns

Frame

Reset()

public void Reset()

Write(uint, IntPtr, int)

public void Write(uint deviceAddress, IntPtr data, int dataSize)

Parameters

deviceAddress uint
data IntPtr
dataSize int

Write<T>(uint, T)

public void Write<T>(uint deviceAddress, T data) where T : unmanaged

Parameters

deviceAddress uint
data T

Type Parameters

T

Write<T>(uint, T[])

public void Write<T>(uint deviceAddress, T[] data) where T : unmanaged

Parameters

deviceAddress uint
data T[]

Type Parameters

T