#include <dataqsdk.h>
Collaboration diagram for dataqsdk:

Public Member Functions | |
| dataqsdk () | |
| Simple initialization. | |
| ~dataqsdk () | |
| Deletes allocated memory. | |
| const int | ADChannelCount () |
| Number of channels being scanned. | |
| const long int | ADCounter () |
| const long int | AvailableData () |
| Number of data points in input buffer. | |
| const long int | BurstCounter () |
| const char *const | DeviceFile () |
| Device file path and name used to connect to the device. | |
| const long int | EventPoint () |
| Number of data points required before NewData() fires. | |
| 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. | |
| const char *const | ProductName () |
| const double | SampleRate () |
| Actual sample rate. | |
| const int | TrigHysteresisIdx () |
| const int | TrigLevel () |
| const int | TrigMode () |
| const int | TrigScnChnIdx () |
| const int | TrigSlope () |
| const int | TrigPostLength () |
| const int | TrigPreLength () |
| void | ADChannelCount (const int ChannelCount) |
| Number of channels to scan. | |
| void | ADCounter (const long int Counter) |
| void | BurstCounter (const long int BurstCounter) |
| void | DeviceFile (const char *const DeviceFile) |
| Device file path and name used to connect to the device. | |
| void | EventPoint (const long int EventPnt) |
| Number of data points required before NewData() fires. | |
| void | MaxBurstRate (const double MaxBurstRt) |
| Maximum sampling rate of combined channels. | |
| void | ProductName (const char *const ProductName) |
| void | SampleRate (const double SampleRt) |
| Requested sample rate. | |
| void | TrigHysteresisIdx (const int Hidx) |
| void | TrigLevel (const int Level) |
| void | TrigMode (const int Mode) |
| void | TrigScnChnIdx (const int SCidx) |
| void | TrigSlope (const int Slope) |
| void | TrigPostLength (const int PostLength) |
| void | TrigPreLength (const int PreLength) |
| void | ADChannelList (const int *const ChannelList) |
| Map software channels and physical channels. | |
| 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. | |
| void | DAOutput (const int value, const int port) |
| const char *const | DetectedDevices () |
| const long int | DigitalInput () |
| void | DigitalOutput (const int value) |
| 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) |
| void | Start () |
| Start acquisition. | |
| void | Stop () |
| Stop acquisition. | |
| const bool | ControlError (long int &Code) |
| Determines the last library error. | |
| 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. | |
Private Member Functions | |
| dataqsdk (const dataqsdk ©) | |
| Do not allow copying of this class. | |
Private Attributes | |
| char * | m_ProductName |
| Identifies current device. | |
| int | m_last_error |
| Interface class internal error variable. | |
| dsdk * | m_classID |
| Pointer to appropriate device handling code. | |
Definition at line 31 of file dataqsdk.h.
|
|
Do not allow copying of this class. 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.
Definition at line 1221 of file dataqsdk.cpp. |
1.3.6