Comedi Relacs Plugins
0.9.8
|
#include <comedinipfi.h>
Public Member Functions | |
ComediNIPFI (void) | |
ComediNIPFI (const string &device, const Options &opts) | |
virtual | ~ComediNIPFI (void) |
virtual int | open (const string &device) override |
Public Member Functions inherited from ComediRouting | |
ComediRouting (void) | |
ComediRouting (const string &deviceclass) | |
ComediRouting (const string &device, const Options &opts) | |
virtual | ~ComediRouting (void) |
virtual bool | isOpen (void) const |
virtual void | close (void) |
Protected Member Functions | |
virtual void | initOptions (void) override |
Protected Member Functions inherited from ComediRouting | |
int | open (const string &device, int subdev, int channel, int routing, const string &signal="") |
Static Protected Attributes | |
static const int | PFISignalsMax = 31 |
static const string | PFISignals [PFISignalsMax] |
Additional Inherited Members | |
Protected Attributes inherited from ComediRouting | |
comedi_t * | DeviceP |
[Device] Controlls the PFI pins of a NI M-series daq-board via comedi.
Use for routing either the following integer values or the names without the "NI_PFI_OUTPUT_" part (from comedi.h):
channel
routing
ComediNIPFI | ( | void | ) |
Create a new ComediNIPFI without opening a device.
References ComediNIPFI::initOptions().
ComediNIPFI | ( | const string & | device, |
const Options & | opts | ||
) |
Open comedi specified by its device file device.
References ComediNIPFI::open().
|
virtual |
Close the comedi driver.
|
overridevirtual |
Open the PFI device specified by device.
Reimplemented from ComediRouting.
References ComediRouting::open(), ComediNIPFI::PFISignals, and ComediNIPFI::PFISignalsMax.
Referenced by ComediNIPFI::ComediNIPFI().
|
overrideprotectedvirtual |
Reimplemented from ComediRouting.
References ComediNIPFI::PFISignals, and ComediNIPFI::PFISignalsMax.
Referenced by ComediNIPFI::ComediNIPFI().
|
staticprotected |
Referenced by ComediNIPFI::initOptions(), and ComediNIPFI::open().
|
staticprotected |
Referenced by ComediNIPFI::initOptions(), and ComediNIPFI::open().