Detailed Description
Static Public Attributes |
static const int | VID = 0x0403 |
static const int | PID = 0x6001 |
Constructor & Destructor Documentation
ola::plugin::ftdidmx::FtdiWidget::FtdiWidget |
( |
const std::string & |
serial, |
|
|
const std::string & |
name, |
|
|
uint32_t |
id = 0 |
|
) |
| |
Construct a new FtdiWidget instance for one widget.
- Parameters
-
serial | The widget's USB serial number |
name | The widget's USB name (description) |
id | The ID of the device (used only when FTD2XX is the backend) |
ola::plugin::ftdidmx::FtdiWidget::~FtdiWidget |
( |
| ) |
|
|
virtual |
Member Function Documentation
bool ola::plugin::ftdidmx::FtdiWidget::ClearRts |
( |
| ) |
|
bool ola::plugin::ftdidmx::FtdiWidget::Close |
( |
| ) |
|
uint32_t ola::plugin::ftdidmx::FtdiWidget::Id |
( |
| ) |
const |
|
inline |
Get the widget's FTD2XX ID number
bool ola::plugin::ftdidmx::FtdiWidget::IsOpen |
( |
| ) |
const |
Check if the widget is open
std::string ola::plugin::ftdidmx::FtdiWidget::Name |
( |
| ) |
const |
|
inline |
Get the widget's USB name
bool ola::plugin::ftdidmx::FtdiWidget::Open |
( |
| ) |
|
bool ola::plugin::ftdidmx::FtdiWidget::PurgeBuffers |
( |
| ) |
|
bool ola::plugin::ftdidmx::FtdiWidget::Read |
( |
unsigned char * |
buff, |
|
|
int |
size |
|
) |
| |
Read data from a previously-opened line
bool ola::plugin::ftdidmx::FtdiWidget::Reset |
( |
| ) |
|
Reset the communications line
std::string ola::plugin::ftdidmx::FtdiWidget::Serial |
( |
| ) |
const |
|
inline |
Get the widget's USB serial number
bool ola::plugin::ftdidmx::FtdiWidget::SetBaudRate |
( |
| ) |
|
bool ola::plugin::ftdidmx::FtdiWidget::SetBreak |
( |
bool |
on | ) |
|
Toggle communications line BREAK condition on/off
bool ola::plugin::ftdidmx::FtdiWidget::SetFlowControl |
( |
| ) |
|
bool ola::plugin::ftdidmx::FtdiWidget::SetLineProperties |
( |
| ) |
|
Setup communications line for 8N2 traffic
bool ola::plugin::ftdidmx::FtdiWidget::SetupOutput |
( |
| ) |
|
Setup device for DMX Output
Setup our device for DMX send Mainly used to test if device is working correctly before AddDevice()
void ola::plugin::ftdidmx::FtdiWidget::Widgets |
( |
std::vector< FtdiWidgetInfo > * |
widgets | ) |
|
|
static |
Build a list of available ftdi widgets.
- Parameters
-
Build a list of all attached ftdi devices
bool ola::plugin::ftdidmx::FtdiWidget::Write |
( |
const ola::DmxBuffer & |
data | ) |
|
Write data to a previously-opened line
The documentation for this class was generated from the following files:
- plugins/ftdidmx/FtdiWidget.h
- plugins/ftdidmx/FtdiWidget-ftd2xx.cpp
- plugins/ftdidmx/FtdiWidget-libftdi.cpp