My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::GpibUsbDevice Class Reference
Inheritance diagram for gcp::util::GpibUsbDevice:
gcp::util::Agilent33220AWaveformGenerator gcp::util::CryoCon gcp::util::HpDcPowerSupply gcp::util::HpSynthesizer gcp::util::LsThermal gcp::antenna::control::CryoConResp gcp::antenna::control::LakeShoreTemps

Public Member Functions

 GpibUsbDevice (bool doSpawn=false)
 
 GpibUsbDevice (std::string port, bool doSpawn=false)
 
 GpibUsbDevice (GpibUsbController &controller)
 
virtual ~GpibUsbDevice ()
 
void setAddress (unsigned address)
 
unsigned getAddress ()
 
void sendDeviceCommand (std::string cmd, bool expectsResponse=false, GPIB_RESPONSE_HANDLER(*handler)=0, bool block=false, void *retVal=0)
 
void sendControllerCommand (std::string cmd, bool expectsResponse=false, GPIB_RESPONSE_HANDLER(*handler)=0, bool block=false, void *retVal=0)
 
std::string getDevice ()
 
GpibUsbControllercontroller ()
 

Constructor & Destructor Documentation

GpibUsbDevice::GpibUsbDevice ( bool  doSpawn = false)

....................................................................... Constructors

GpibUsbDevice::~GpibUsbDevice ( )
virtual

....................................................................... Destructor.

Member Function Documentation

unsigned GpibUsbDevice::getAddress ( )

....................................................................... Return the GPIB network address associated with this device

void GpibUsbDevice::sendControllerCommand ( std::string  cmd,
bool  expectsResponse = false,
GPIB_RESPONSE_HANDLER *  handler = 0,
bool  block = false,
void *  retVal = 0 
)

....................................................................... Convenience accessor method to send a controller command

void GpibUsbDevice::sendDeviceCommand ( std::string  cmd,
bool  expectsResponse = false,
GPIB_RESPONSE_HANDLER *  handler = 0,
bool  block = false,
void *  retVal = 0 
)

....................................................................... Convenience accessor method to send a device command

void GpibUsbDevice::setAddress ( unsigned  address)

....................................................................... Just store the address – don't send to the controller. This will be used in the overloaded sendDeivceCommand() method


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