C# Class IIOCmdSrv, iio-cmdsrv

Mostrar archivo Open project: analogdevicesinc/iio-cmdsrv Class Usage Examples

Public Methods

Method Description
BufRead ( string device, uint count, uint itemsize ) : byte[]
Connect ( string server ) : ConnectStatus
Connect ( string server, int port ) : ConnectStatus
Disconnect ( ) : void
ListDevices ( ) : IIODevice[],
Read ( string request, bool expect_retval ) : string
Sample ( string device, uint count, uint itemsize ) : byte[]
Version ( ) : string
Write ( string request ) : int

Method Details

BufRead() public method

public BufRead ( string device, uint count, uint itemsize ) : byte[]
device string
count uint
itemsize uint
return byte[]

Connect() public method

public Connect ( string server ) : ConnectStatus
server string
return ConnectStatus

Connect() public method

public Connect ( string server, int port ) : ConnectStatus
server string
port int
return ConnectStatus

Disconnect() public method

public Disconnect ( ) : void
return void

ListDevices() public method

public ListDevices ( ) : IIODevice[],
return IIODevice[],

Read() public method

public Read ( string request, bool expect_retval ) : string
request string
expect_retval bool
return string

Sample() public method

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

Version() public method

public Version ( ) : string
return string

Write() public method

public Write ( string request ) : int
request string
return int