Main Page | Modules | Class Hierarchy | Class List | File List | Class Members

di154_dsdk Class Reference

Main device class for the DI-154RS. More...

#include <di154.h>

Inherits di194_dsdk.

Inheritance diagram for di154_dsdk:

Inheritance graph
[legend]
Collaboration diagram for di154_dsdk:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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


Private Member Functions

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

const short int convert (const u_int8_t *const di_data, const u_int8_t num_chan)
 Converts 'di_data' into counts.


Detailed Description

Main device class for the DI-154RS.

Definition at line 33 of file di154.h.


Constructor & Destructor Documentation

di154_dsdk::di154_dsdk  ) 
 

Sets up device defaults for DI-154RS.

  • 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.

References di194_dsdk::SampleRate().

Here is the call graph for this function:

di154_dsdk::di154_dsdk const di154_dsdk copy  )  [inline, private]
 

Do not allow copying of this class.

Parameters:
copy Class 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.

Converts 'di_data' into Counts.

Parameters:
di_data Pointer to array of raw data.
num_chan Channel list position to check for analog or digital.

Reimplemented from di194_dsdk.

Definition at line 69 of file di154.cpp.


Generated on Mon Aug 2 09:44:56 2004 for DataqSDK by doxygen 1.3.6