C# Class VixenModules.Controller.OpenDMX.FTDI

Mostrar archivo Open project: sall/vixen-modules Class Usage Examples

Public Properties

Property Type Description
buffer byte[]
bytesWritten int
done bool
handle uint
status FT_STATUS

Public Methods

Method Description
initOpenDMX ( ) : void
setDmxValue ( int channel, byte value ) : void
start ( ) : void
stop ( ) : void
updateData ( ICommand outputStates ) : void
write ( uint handle, byte data, int length ) : int
writeData ( ) : void

Private Methods

Method Description
FT_Close ( uint ftHandle ) : FT_STATUS
FT_ClrRts ( uint ftHandle ) : FT_STATUS
FT_GetModemStatus ( uint ftHandle, UInt32 &lpdwModemStatus ) : FT_STATUS
FT_GetStatus ( uint ftHandle, UInt32 &lpdwAmountInRxQueue, UInt32 &lpdwAmountInTxQueue, UInt32 &lpdwEventStatus ) : FT_STATUS
FT_Open ( UInt32 uiPort, uint &ftHandle ) : FT_STATUS
FT_Purge ( uint ftHandle, UInt32 dwMask ) : FT_STATUS
FT_Read ( uint ftHandle, IntPtr lpBuffer, UInt32 dwBytesToRead, UInt32 &lpdwBytesReturned ) : FT_STATUS
FT_ResetDevice ( uint ftHandle ) : FT_STATUS
FT_SetBreakOff ( uint ftHandle ) : FT_STATUS
FT_SetBreakOn ( uint ftHandle ) : FT_STATUS
FT_SetDataCharacteristics ( uint ftHandle, byte uWordLength, byte uStopBits, byte uParity ) : FT_STATUS
FT_SetDivisor ( uint ftHandle, char usDivisor ) : FT_STATUS
FT_SetFlowControl ( uint ftHandle, char usFlowControl, byte uXon, byte uXoff ) : FT_STATUS
FT_Write ( uint ftHandle, IntPtr lpBuffer, UInt32 dwBytesToRead, UInt32 &lpdwBytesWritten ) : FT_STATUS

Method Details

initOpenDMX() public method

public initOpenDMX ( ) : void
return void

setDmxValue() public method

public setDmxValue ( int channel, byte value ) : void
channel int
value byte
return void

start() public method

public start ( ) : void
return void

stop() public method

public stop ( ) : void
return void

updateData() public method

public updateData ( ICommand outputStates ) : void
outputStates ICommand
return void

write() public method

public write ( uint handle, byte data, int length ) : int
handle uint
data byte
length int
return int

writeData() public method

public writeData ( ) : void
return void

Property Details

buffer public_oe static_oe property

public static byte[] buffer
return byte[]

bytesWritten public_oe static_oe property

public static int bytesWritten
return int

done public_oe static_oe property

public static bool done
return bool

handle public_oe static_oe property

public static uint handle
return uint

status public_oe static_oe property

public static FT_STATUS status
return FT_STATUS