#include <PhysicalRelay.h>
Collaboration diagram for PhysicalRelay:
Public Member Functions | |
PhysicalRelay () | |
~PhysicalRelay () | |
void | PowerOn (BYTE signal, int bank) |
void | PowerOff () |
void | Initialize () |
Private Attributes | |
DAQCard * | m_DAQCard |
|
Default Definition at line 15 of file PhysicalRelay.cpp. References Initialize(). |
|
Deconstructor Definition at line 20 of file PhysicalRelay.cpp. |
|
Definition at line 39 of file PhysicalRelay.cpp. References DAQCard::Instance(), and m_DAQCard. Referenced by Relay::Initialize(), and PhysicalRelay(). |
|
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(). |
|
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(). |
|
Pointer to an instance of the DAQ card Definition at line 46 of file PhysicalRelay.h. Referenced by Initialize(), PowerOff(), and PowerOn(). |