Public Member Functions | Private Member Functions

di154_dsdk Class Reference

Main device class for the DI-154RS.

#include <di154.h>

Inheritance diagram for di154_dsdk:
Inheritance graph
[legend]
Collaboration diagram for di154_dsdk:
Collaboration graph
[legend]

Public Member Functions

 di154_dsdk ()
 Sets up device defaults for DI-154RS.

Private Member Functions

const short int convert (const u_int8_t *const di_data, const u_int8_t num_chan)
 Converts 'di_data' into counts.
 di154_dsdk (const di154_dsdk &copy)
 Do not allow copying of this class.

Detailed Description

Definition at line 33 of file di154.h.


Constructor & Destructor Documentation

di154_dsdk::di154_dsdk (  )
  • Sets up the channel order array (1 channel)
  • Sets channel count to use 1 analog channel
  • Sets up 'connection' to use the DI-154RS settings
  • Creates the following lists:
    • m_ADChannelList
      Normal order
    • m_ADMethodList
      IOS Average
  • Disables the digital channel
  • Calls sample rate function passing it the default sample rate, as defined in the dsdk

Definition at line 42 of file di154.cpp.

Here is the call graph for this function:

di154_dsdk::di154_dsdk ( const di154_dsdk copy ) [inline, private]
Parameters:
copyClass to copy.

Definition at line 43 of file di154.h.


Member Function Documentation

const short int di154_dsdk::convert ( const u_int8_t *const   di_data,
const u_int8_t  num_chan 
) [private, virtual]

Converts 'di_data' into Counts.

Parameters:
di_dataPointer to array of raw data.
num_chanChannel list position to check for analog or digital.

Reimplemented from di194_dsdk.

Definition at line 69 of file di154.cpp.


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