cajun::labjack_ue9_t Class Reference

#include <labjack_ue9.H>

List of all members.

Public Member Functions

 labjack_ue9_t (void)
bool initialize (void)
bool set_limits (unsigned channel_number, double max_voltage, double mid_voltage, double min_voltage, bool reverse)
int open_labjack_ue9_device (const char *ip_address, int tcp_port)
bool set_position (unsigned steering_channel, double steering_position, unsigned throttle_channel, double throttle_position)
bool handle_response (void)
int socket_status (void)
void close_labjack_device (void)
bool set_watchdogtimer (double timeout, double steering_position, unsigned steering_channel, double throttle_position, unsigned throttle_channel)
bool get_watchdogtimer_settings (double timeout, double steering_position, unsigned steering_channel, double throttle_position, unsigned throttle_channel)

Protected Member Functions

void set_extended_checksum (unsigned char *sendbuff, int length)
int check_recv_data_checksum (unsigned char *recvbuff, int length) const
int get_calib_info (void)
double byte_array_to_double (unsigned char *buffer, int start_index)

Protected Attributes

int m_socketfd
calib_info_t m_calib_info
channel_parameters_t channel [2]
double no_of_analog_channels
double mapping_ratio

Constructor & Destructor Documentation

labjack_ue9_t::labjack_ue9_t ( void   ) 

References m_socketfd.


Member Function Documentation

double labjack_ue9_t::byte_array_to_double ( unsigned char *  buffer,
int  start_index 
) [protected]

Referenced by get_calib_info().

int labjack_ue9_t::check_recv_data_checksum ( unsigned char *  recvbuff,
int  length 
) const [protected]
void labjack_ue9_t::close_labjack_device ( void   ) 

References m_socketfd.

Referenced by main().

int labjack_ue9_t::get_calib_info ( void   )  [protected]
bool labjack_ue9_t::get_watchdogtimer_settings ( double  timeout,
double  steering_position,
unsigned  steering_channel,
double  throttle_position,
unsigned  throttle_channel 
)
bool labjack_ue9_t::handle_response ( void   ) 

References check_recv_data_checksum(), and m_socketfd.

Referenced by main().

bool labjack_ue9_t::initialize ( void   ) 
int labjack_ue9_t::open_labjack_ue9_device ( const char *  ip_address,
int  tcp_port 
)

References m_socketfd.

void labjack_ue9_t::set_extended_checksum ( unsigned char *  sendbuff,
int  length 
) [protected]
bool labjack_ue9_t::set_limits ( unsigned  channel_number,
double  max_voltage,
double  mid_voltage,
double  min_voltage,
bool  reverse 
)
bool labjack_ue9_t::set_position ( unsigned  steering_channel,
double  steering_position,
unsigned  throttle_channel,
double  throttle_position 
)
bool labjack_ue9_t::set_watchdogtimer ( double  timeout,
double  steering_position,
unsigned  steering_channel,
double  throttle_position,
unsigned  throttle_channel 
)
int labjack_ue9_t::socket_status ( void   ) 

References m_socketfd.


Member Data Documentation

Referenced by get_calib_info(), and set_limits().

Referenced by initialize().


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

Generated on Fri Apr 9 10:45:12 2010 for drivers by  doxygen 1.6.1