Public Member Functions | Private Member Functions | Private Attributes

dataqsdk Class Reference

DataqSDK library interface class.

#include <dataqsdk.h>

Collaboration diagram for dataqsdk:
Collaboration graph
[legend]

Public Member Functions

const int ADChannelCount ()
 Number of channels being scanned.
void ADChannelCount (const int ChannelCount)
 Number of channels to scan.
void ADChannelList (const int *const ChannelList)
 Map software channels and physical channels.
const long int ADCounter ()
void ADCounter (const long int Counter)
void ADDiffList (const int *const DiffList)
void ADGainList (const int *const GainList)
void ADMethodList (const int *const MethodList)
 Change the IOS setting for each channel.
const long int AvailableData ()
 Number of data points in input buffer.
const long int BurstCounter ()
void BurstCounter (const long int BurstCounter)
const bool ControlError (long int &Code)
 Determines the last library error.
void DAOutput (const int value, const int port)
 dataqsdk ()
 Simple initialization.
const char *const DetectedDevices ()
void DeviceFile (const char *const DeviceFile)
 Device file path and name used to connect to the device.
const char *const DeviceFile ()
 Device file path and name used to connect to the device.
const long int DigitalInput ()
void DigitalOutput (const int value)
const long int EventPoint ()
 Number of data points required before NewData() fires.
void EventPoint (const long int EventPnt)
 Number of data points required before NewData() fires.
void GetData ()
void GetDataEx (short int *iArray, const int Count)
 Get acquired data from device.
void GetDataFrame ()
void GetDataFrameEx (short int *iArray, const int Count)
const int InfoBoardID ()
 The device's model number.
const bool InfoPGL ()
 The device's input measurement setting.
const int InfoRev ()
 The device's firmware revision.
const char *const InfoSerial ()
 The device's serial number.
const double MaxBurstRate ()
 Maximum sampling rate of combined channels.
void MaxBurstRate (const double MaxBurstRt)
 Maximum sampling rate of combined channels.
const bool NewData (long int &Count)
 Determines whether new data is available according to the event point.
const bool OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.
void ProductName (const char *const ProductName)
const char *const ProductName ()
void SampleRate (const double SampleRt)
 Requested sample rate.
const double SampleRate ()
 Actual sample rate.
void Start ()
 Start acquisition.
void Stop ()
 Stop acquisition.
const int TrigHysteresisIdx ()
void TrigHysteresisIdx (const int Hidx)
const int TrigLevel ()
void TrigLevel (const int Level)
void TrigMode (const int Mode)
const int TrigMode ()
void TrigPostLength (const int PostLength)
const int TrigPostLength ()
const int TrigPreLength ()
void TrigPreLength (const int PreLength)
const int TrigScnChnIdx ()
void TrigScnChnIdx (const int SCidx)
const int TrigSlope ()
void TrigSlope (const int Slope)
 ~dataqsdk ()
 Deletes allocated memory.

Private Member Functions

 dataqsdk (const dataqsdk &copy)
 Do not allow copying of this class.

Private Attributes

dsdkm_classID
 Pointer to appropriate device handling code.
int m_last_error
 Interface class internal error variable.
char * m_ProductName
 Identifies current device.

Detailed Description

Definition at line 31 of file dataqsdk.h.


Constructor & Destructor Documentation

dataqsdk::dataqsdk (  )

Definition at line 35 of file dataqsdk.cpp.

dataqsdk::~dataqsdk (  )

Definition at line 42 of file dataqsdk.cpp.

dataqsdk::dataqsdk ( const dataqsdk copy ) [private]

Copy constructor. There's no way to implement bounds checks without knowing the device. If the copy is meant for a different device, properties are reset to that device's default when the ProductName changes anyway.

Parameters:
copyDevice to copy.

Definition at line 1221 of file dataqsdk.cpp.


Field Documentation

Definition at line 176 of file dataqsdk.h.

int dataqsdk::m_last_error [private]

Definition at line 175 of file dataqsdk.h.

char* dataqsdk::m_ProductName [private]

Definition at line 174 of file dataqsdk.h.


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