C# Class IIODevice, iio-cmdsrv

Mostra file Open project: analogdevicesinc/iio-cmdsrv Class Usage Examples

Public Methods

Method Description
BufferEnable ( bool state ) : int
BufferGetLength ( ) : uint
BufferIsEnabled ( ) : bool
BufferSetLength ( uint length ) : int
IIODevice ( IIOCmdSrv, server, string name ) : System
ListAttributes ( ) : string[]
ListScanElements ( ) : string[]
Read ( string attribute ) : string
RegRead ( uint reg ) : uint
RegWrite ( uint reg, uint val ) : int
Sample ( uint count ) : byte[]
Sample ( uint count, uint itemsize ) : byte[]
ScanElementRead ( string attribute ) : string
ScanElementWrite ( string attribute, string value ) : int
SizeFromScanElements ( ) : uint
ToString ( ) : string
Write ( string attribute, string value ) : int

Method Details

BufferEnable() public method

public BufferEnable ( bool state ) : int
state bool
return int

BufferGetLength() public method

public BufferGetLength ( ) : uint
return uint

BufferIsEnabled() public method

public BufferIsEnabled ( ) : bool
return bool

BufferSetLength() public method

public BufferSetLength ( uint length ) : int
length uint
return int

IIODevice() public method

public IIODevice ( IIOCmdSrv, server, string name ) : System
server IIOCmdSrv,
name string
return System

ListAttributes() public method

public ListAttributes ( ) : string[]
return string[]

ListScanElements() public method

public ListScanElements ( ) : string[]
return string[]

Read() public method

public Read ( string attribute ) : string
attribute string
return string

RegRead() public method

public RegRead ( uint reg ) : uint
reg uint
return uint

RegWrite() public method

public RegWrite ( uint reg, uint val ) : int
reg uint
val uint
return int

Sample() public method

public Sample ( uint count ) : byte[]
count uint
return byte[]

Sample() public method

public Sample ( uint count, uint itemsize ) : byte[]
count uint
itemsize uint
return byte[]

ScanElementRead() public method

public ScanElementRead ( string attribute ) : string
attribute string
return string

ScanElementWrite() public method

public ScanElementWrite ( string attribute, string value ) : int
attribute string
value string
return int

SizeFromScanElements() public method

public SizeFromScanElements ( ) : uint
return uint

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( string attribute, string value ) : int
attribute string
value string
return int