Class ContextTask
public class ContextTask : IDisposable
- Inheritance
-
ContextTask
- Implements
- Inherited Members
Constructors
ContextTask(string, int)
public ContextTask(string driver, int index)
Parameters
Fields
DefaultDriver
public static readonly string DefaultDriver
Field Value
DefaultIndex
public static readonly int DefaultIndex
Field Value
Properties
AcquisitionClockHz
public uint AcquisitionClockHz { get; }
Property Value
BlockReadSize
public int BlockReadSize { get; }
Property Value
BlockWriteSize
public int BlockWriteSize { get; }
Property Value
DeviceTable
public Dictionary<uint, Device> DeviceTable { get; }
Property Value
- Dictionary<uint, Device>
HardwareAddress
public int HardwareAddress { get; set; }
Property Value
HubState
public PassthroughState HubState { get; set; }
Property Value
MaxReadFrameSize
public uint MaxReadFrameSize { get; }
Property Value
MaxWriteFrameSize
public uint MaxWriteFrameSize { get; }
Property Value
SystemClockHz
public uint SystemClockHz { get; }
Property Value
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
ReadFrame()
public Frame ReadFrame()
Returns
- Frame
Reset()
public void Reset()
Write(uint, IntPtr, int)
public void Write(uint deviceAddress, IntPtr data, int dataSize)
Parameters
Write<T>(uint, T)
public void Write<T>(uint deviceAddress, T data) where T : unmanaged
Parameters
deviceAddress
uintdata
T
Type Parameters
T
Write<T>(uint, T[])
public void Write<T>(uint deviceAddress, T[] data) where T : unmanaged
Parameters
deviceAddress
uintdata
T[]
Type Parameters
T