Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

PhysicalRelay Class Reference

#include <PhysicalRelay.h>

Collaboration diagram for PhysicalRelay:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PhysicalRelay ()
 ~PhysicalRelay ()
void PowerOn (BYTE signal, int bank)
void PowerOff ()
void Initialize ()

Private Attributes

DAQCardm_DAQCard

Constructor & Destructor Documentation

PhysicalRelay::PhysicalRelay  ) 
 

Default

Definition at line 15 of file PhysicalRelay.cpp.

References Initialize().

PhysicalRelay::~PhysicalRelay  ) 
 

Deconstructor

Definition at line 20 of file PhysicalRelay.cpp.


Member Function Documentation

void PhysicalRelay::Initialize  ) 
 

Definition at line 39 of file PhysicalRelay.cpp.

References DAQCard::Instance(), and m_DAQCard.

Referenced by Relay::Initialize(), and PhysicalRelay().

void PhysicalRelay::PowerOff  ) 
 

Turn off the device, defined in .cpp to turn off banks 0 and 1

Definition at line 31 of file PhysicalRelay.cpp.

References DIOOutputByte(), DAQCard::m_cardData, and m_DAQCard.

Referenced by Relay::PowerOff().

void PhysicalRelay::PowerOn BYTE  signal,
int  bank
 

Open a channel (turn somethiing on by sending a signal to a bank)

Definition at line 24 of file PhysicalRelay.cpp.

References DIOOutputByte(), DAQCard::m_cardData, and m_DAQCard.

Referenced by Relay::PowerOn().


Member Data Documentation

DAQCard* PhysicalRelay::m_DAQCard [private]
 

Pointer to an instance of the DAQ card

Definition at line 46 of file PhysicalRelay.h.

Referenced by Initialize(), PowerOff(), and PowerOn().


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 12:54:42 2007 for DSACSS Operational Code by  doxygen 1.3.9.1