Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
FPGAThread Class Reference

#include <FPGAThread.h>

Inheritance diagram for FPGAThread:
DataThread

List of all members.

Public Member Functions

 FPGAThread (SourceNode *sn)
 ~FPGAThread ()
bool foundInputSource ()
 Returns true if the data source is connected, false otherwise.
int getNumChannels ()
 Returns the number of continuous channels the data source can provide.
float getSampleRate ()
 Returns the sample rate of the data source.
float getBitVolts ()
 Returns the volts per bit of the data source.
int getNumEventChannels ()
 Returns the number of event channels of the data source.
void setOutputHigh ()
 Experimental method used for testing data sources that can deliver outputs.
void setOutputLow ()
 Experimental method used for testing data sources that can deliver outputs.
- Public Member Functions inherited from DataThread
 DataThread (SourceNode *sn)
 ~DataThread ()
void run ()
 Calls 'updateBuffer()' continuously while the thread is being run.
DataBuffergetBufferAddress ()
 Returns the address of the DataBuffer that the input source will fill.
virtual void * getDevice ()
 
Returns a pointer to the data input device, in case other processors

need to communicate with it.

Additional Inherited Members

- Public Attributes inherited from DataThread
ScopedPointer< DataBufferdataBuffer
SourceNodesn
int16 eventCode
uint64 timestamp
Time timer

Constructor & Destructor Documentation

FPGAThread::FPGAThread ( SourceNode sn)
FPGAThread::~FPGAThread ( )

Member Function Documentation

bool FPGAThread::foundInputSource ( )
virtual

Returns true if the data source is connected, false otherwise.

Implements DataThread.

int FPGAThread::getNumChannels ( )
virtual

Returns the number of continuous channels the data source can provide.

Implements DataThread.

float FPGAThread::getSampleRate ( )
virtual

Returns the sample rate of the data source.

Implements DataThread.

float FPGAThread::getBitVolts ( )
virtual

Returns the volts per bit of the data source.

Implements DataThread.

int FPGAThread::getNumEventChannels ( )
virtual

Returns the number of event channels of the data source.

Reimplemented from DataThread.

void FPGAThread::setOutputHigh ( )
virtual

Experimental method used for testing data sources that can deliver outputs.

Reimplemented from DataThread.

void FPGAThread::setOutputLow ( )
virtual

Experimental method used for testing data sources that can deliver outputs.

Reimplemented from DataThread.


The documentation for this class was generated from the following file: