Abstract base class for DataqSDK library. More...
#include <dsdk.h>
Public Member Functions | |
virtual const int | ADChannelCount () |
Number of channels being scanned. | |
virtual void | ADChannelCount (const int ChannelCount) |
Number of channels to scan. | |
virtual void | ADChannelList (const int *const ChannelList) |
Map software channels and physical channels. | |
virtual const long int | ADCounter () |
virtual void | ADCounter (const long int Counter) |
virtual void | ADDiffList (const int *const DiffList) |
virtual void | ADGainList (const int *const GainList) |
virtual void | ADMethodList (const int *const MethodList) |
Change the IOS setting for each channel. | |
virtual const long int | AvailableData () |
Number of data points in input buffer. | |
virtual const long int | BurstCounter () |
virtual void | BurstCounter (const long int BurstCounter) |
virtual const bool | ControlError (long int &Code) |
Determines the last library error. | |
virtual void | DAOutput (const int value, const int port) |
virtual void | DeviceFile (const char *const DeviceFile) |
Device file path and name used to connect to the device. | |
virtual const char *const | DeviceFile () |
Device file path and name used to connect to the device. | |
virtual const long int | DigitalInput () |
virtual void | DigitalOutput (const int value) |
dsdk () | |
Simple initialization. | |
virtual const long int | EventPoint () |
Number of data points required before NewData() fires. | |
virtual void | EventPoint (const long int EventPnt) |
Number of data points required before NewData() fires. | |
virtual void | GetData () |
virtual void | GetDataEx (short int *iArray, const int Count) |
Get acquired data from device. | |
virtual void | GetDataFrame () |
virtual void | GetDataFrameEx (short int *iArray, const int Count) |
virtual const int | InfoBoardID () |
The device's model number. | |
virtual const bool | InfoPGL () |
The device's input measurement setting. | |
virtual const int | InfoRev () |
The device's firmware revision. | |
virtual const char *const | InfoSerial () |
The device's serial number. | |
virtual void | MaxBurstRate (const double MaxBurstRt) |
Maximum sampling rate of combined channels. | |
virtual const double | MaxBurstRate () |
Maximum sampling rate of combined channels. | |
virtual const bool | NewData (long int &Count) |
Determines whether new data is available according to the event point. | |
virtual const bool | OverRun () |
Determines whether the input buffer OR the device buffer overflowed. | |
virtual const double | SampleRate () |
Actual sample rate. | |
virtual void | SampleRate (const double SampleRt) |
Requested sample rate. | |
virtual void | Start () |
Start acquisition. | |
virtual void | Stop () |
Stop acquisition. | |
virtual void | TrigHysteresisIdx (const int Hidx) |
virtual const int | TrigHysteresisIdx () |
virtual const int | TrigLevel () |
virtual void | TrigLevel (const int Level) |
virtual const int | TrigMode () |
virtual void | TrigMode (const int Mode) |
virtual void | TrigPostLength (const int PostLength) |
virtual const int | TrigPostLength () |
virtual void | TrigPreLength (const int PreLength) |
virtual const int | TrigPreLength () |
virtual void | TrigScnChnIdx (const int SCidx) |
virtual const int | TrigScnChnIdx () |
virtual const int | TrigSlope () |
virtual void | TrigSlope (const int Slope) |
virtual | ~dsdk () |
Most likely overwritten by superclass. | |
Protected Member Functions | |
virtual void | DeviceConnect () |
Activate device connection. | |
virtual void | DeviceDisconnect () |
Safely deactivate device connection. | |
Protected Attributes | |
bool | m_acquiring_data |
True when acquiring data. | |
int | m_ADChannelCount |
int * | m_ADChannelList |
long int | m_ADCounter |
int * | m_ADDiffList |
int * | m_ADGainList |
int * | m_ADMethodList |
long int | m_BurstCounter |
char * | m_device_file |
Path & name of device file. | |
long int | m_EventPoint |
long int | m_last_error |
Keep track of last error code. | |
double | m_MaxBurstRate |
double | m_SampleRate |
int | m_TrigHysteresisIdx |
int | m_TrigLevel |
int | m_TrigMode |
int | m_TrigPostLength |
int | m_TrigPreLength |
int | m_TrigScnChnIdx |
int | m_TrigSlope |
Private Member Functions | |
dsdk (const dsdk ©) | |
Do not allow copying of this class. |
General interface to be overided by every device class. Every device will have the same functions, but each implements them in their own specific way.
Definition at line 34 of file dsdk.h.
void dsdk::DeviceConnect | ( | ) | [protected, virtual] |
Reimplemented in di194_dsdk.
void dsdk::DeviceDisconnect | ( | ) | [protected, virtual] |
Reimplemented in di194_dsdk.
bool dsdk::m_acquiring_data [protected] |
int dsdk::m_ADChannelCount [protected] |
int* dsdk::m_ADChannelList [protected] |
long int dsdk::m_ADCounter [protected] |
int* dsdk::m_ADDiffList [protected] |
int* dsdk::m_ADGainList [protected] |
int* dsdk::m_ADMethodList [protected] |
long int dsdk::m_BurstCounter [protected] |
char* dsdk::m_device_file [protected] |
long int dsdk::m_EventPoint [protected] |
long int dsdk::m_last_error [protected] |
double dsdk::m_MaxBurstRate [protected] |
double dsdk::m_SampleRate [protected] |
int dsdk::m_TrigHysteresisIdx [protected] |
int dsdk::m_TrigLevel [protected] |
int dsdk::m_TrigMode [protected] |
int dsdk::m_TrigPostLength [protected] |
int dsdk::m_TrigPreLength [protected] |
int dsdk::m_TrigScnChnIdx [protected] |
int dsdk::m_TrigSlope [protected] |