#include <di194.h>
Inherits dsdk.
Inherited by di154_dsdk.
Inheritance diagram for di194_dsdk:
Public Member Functions | |
di194_dsdk () | |
Sets up device defaults for DI-194RS. | |
~di194_dsdk () | |
Deletes any allocated memory. | |
const int | ADChannelCount () |
Number of channels being scanned. | |
const long int | AvailableData () |
Number of data points in input buffer. | |
const long int | EventPoint () |
Number of data points required before NewData() fires. | |
const char *const | InfoSerial () |
Device serial number. | |
const double | SampleRate () |
Actual sample rate. | |
void | ADChannelCount (const int ChannelCount) |
Number of channels to scan. | |
void | EventPoint (const long int EventPnt) |
Number of data points required before NewData() fires. | |
void | SampleRate (const double SampleRt) |
Requested sample rate. | |
void | ADChannelList (const int *const ChannelList) |
Map software channels and physical channels. | |
void | ADMethodList (const int *const MethodList) |
Change the IOS setting for each channel. | |
void | DeviceConnect () |
Activate device connection. | |
void | DeviceDisconnect () |
Safely deactivate device connection. | |
void | GetDataEx (short int *iArray, const int Count) |
Get acquired data from device. | |
void | Start () |
Start acquisition. | |
void | Stop () |
Stop acquisition. | |
const bool | OverRun () |
Determines whether the input buffer OR the device buffer overflowed. | |
Protected Member Functions | |
virtual const short int | convert (const u_int8_t *const di_data, const u_int8_t num_chan) |
Converts 'di_data' into counts. | |
Protected Attributes | |
bool | digital_chan |
Whether the digital channel is enabled. | |
di_serial_io | m_connection |
Connection to device. | |
int | chan_order [DI194_CHANNELS] |
Used by convert(). | |
Private Member Functions | |
di194_dsdk (const di194_dsdk ©) | |
Do not allow copying of this class. |
Definition at line 34 of file di194.h.
|
Sets up device defaults for DI-194RS.
Definition at line 42 of file di194.cpp. References chan_order, digital_chan, and SampleRate(). |
Here is the call graph for this function:
|
Deletes any allocated memory. Disconnects first. Then, it deallocates any allocated memory used by the class's private members. Definition at line 67 of file di194.cpp. References DeviceDisconnect(). |
Here is the call graph for this function:
|
Do not allow copying of this class.
|
|
Converts 'di_data' into counts. Converts 'di_data' into Counts.
Reimplemented in di154_dsdk. Definition at line 916 of file di194.cpp. References chan_order. Referenced by GetDataEx(). |