TOBI SignalServer  0.1
tobiss::GTECUSBampWrapper Class Reference

wrapper class More...

#include <gtec_usbamp_wrapper.h>

Public Member Functions

FLOAT getDriverVersion ()
BOOL getData (HANDLE hDevice, BYTE *pData, DWORD dwSzBuffer, OVERLAPPED *ov)
BOOL start (HANDLE hDevice)
BOOL stop (HANDLE hDevice)
BOOL closeDevice (HANDLE *hDevice)
BOOL setChannels (HANDLE hDevice, UCHAR *ucChannels, UCHAR ucSizeChannels)
BOOL resetTransfer (HANDLE hDevice)
BOOL getLastError (WORD *wErrorCode, char *pLastError)
HANDLE openDevice (int portNr)
HANDLE openDeviceEx (LPSTR lpSerial)
FLOAT getHWVersion (HANDLE hDevise)
BOOL setBufferSize (HANDLE hDevice, WORD wBufferSize)
BOOL setSampleRate (HANDLE hDevice, WORD wSampleRate)
BOOL setDigitalOut (HANDLE hDevice, UCHAR ucNumber, UCHAR ucValue)
BOOL setDigitalOutEx (HANDLE hDevice, DigitalOUT dout)
BOOL getDigitalIO (HANDLE hDevice, PDigitalIO pDIO)
BOOL getDigitalOut (HANDLE hDevice, PDigitalOUT pDOUT)
BOOL getSerial (HANDLE hDevice, LPSTR lpstrSerial, UINT uiSize)
BOOL VR (int nargin, void *varargin[], int nargout, void *varargout[])
BOOL enableTriggerLine (HANDLE hDevice, BOOL bEnable)
BOOL getImpedance (HANDLE hDevice, UCHAR Channel, double *Impedance)
BOOL calibrate (HANDLE hDevice, PSCALE Scaling)
BOOL setScale (HANDLE hDevice, PSCALE Scaling)
BOOL getScale (HANDLE hDevice, PSCALE Scaling)
BOOL getFilterSpec (FILT *FilterSpec)
BOOL getNumberOfFilter (int *nof)
BOOL setBandPass (HANDLE hDevice, UCHAR ucChannel, int index)
BOOL getNotchSpec (FILT *FilterSpec)
BOOL getNumberOfNotch (int *nof)
BOOL setNotch (HANDLE hDevice, UCHAR ucChannel, int index)
BOOL setMode (HANDLE hDevice, UCHAR ucMode)
BOOL getMode (HANDLE hDevice, UCHAR *ucMode)
BOOL setGround (HANDLE hDevice, GND CommonGround)
BOOL getGround (HANDLE hDevice, GND *CommonGround)
BOOL setReference (HANDLE hDevice, REF CommonReference)
BOOL getReference (HANDLE hDevice, REF *CommonReference)
BOOL setBipolar (HANDLE hDevice, CHANNEL bipoChannel)
BOOL setDRLChannel (HANDLE hDevice, CHANNEL drlChannel)
BOOL enableSC (HANDLE hDevice, BOOL bEnable)
BOOL setSlave (HANDLE hDevice, BOOL bSlave)

Private Member Functions

template<typename T >
void setupDLLFunction (T &pointer, std::string const &name)

Private Attributes

HINSTANCE dll_handle_
GT_GetDriverVersionType get_driver_verstion_ptr_
GT_GetDataType get_data_ptr_
GT_GetHWVersionType get_hw_version_ptr_
GT_OpenDeviceType open_device_ptr_
GT_OpenDeviceExType open_device_ex_ptr_
GT_CloseDeviceType close_device_ptr_
GT_SetBufferSizeType set_buffer_size_ptr_
GT_SetSampleRateType set_sample_rate_ptr_
GT_StartType start_ptr_
GT_StopType stop_ptr_
GT_SetChannelsType set_channels_ptr_
GT_SetDigitalOutType set_digital_out_ptr_
GT_SetDigitalOutExType set_digital_out_ex_ptr_
GT_GetDigitalIOType get_digital_io_ptr_
GT_GetDigitalOutType get_digital_out_ptr_
GT_GetLastErrorType get_last_error_ptr_
GT_ResetTransferType reset_transfer_ptr_
GT_GetSerialType get_serial_ptr_
GT_VRType vr_ptr_
GT_EnableTriggerLineType enable_trigger_line_ptr_
GT_GetImpedanceType get_impedance_ptr_
GT_CalibrateType calibrate_ptr_
GT_SetScaleType set_scale_ptr_
GT_GetScaleType get_scale_ptr_
GT_GetFilterSpecType get_filter_spec_ptr_
GT_GetNumberOfFilterType get_number_of_filter_ptr_
GT_SetBandPassType set_band_pass_ptr_
GT_GetNotchSpecType get_notch_spec_ptr_
GT_GetNumberOfNotchType get_number_of_notch_ptr_
GT_SetNotchType set_notch_ptr_
GT_SetModeType set_mode_ptr_
GT_GetModeType get_mode_ptr_
GT_SetGroundType set_ground_ptr_
GT_GetGroundType get_ground_ptr_
GT_SetReferenceType set_reference_ptr_
GT_GetReferenceType get_reference_ptr_
GT_SetBipolarType set_bipolar_ptr_
GT_SetDRLChannelType set_drl_channel_ptr_
GT_EnableSCType enable_sc_ptr_
GT_SetSlaveType set_slave_ptr_

Detailed Description

wrapper class

Definition at line 202 of file gtec_usbamp_wrapper.h.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables