|
Public Types |
enum | RECORD_FORMAT_TYPE { HEX = 0,
ASCII_DEC,
ASCII_HEX
} |
Public Member Functions |
| GenericBoardChannel (int ch_index, cvt_board_data *p_data, void(*scope_refresh)(bool), wxMutex *p_data_mutex, AppSettings *p_app_settings) |
virtual | ~GenericBoardChannel (void) |
bool | SetLinePen (const wxPen *line_pen, const wxPen *trigger_pen=NULL) |
virtual bool | LoadConfig (wxConfigBase *p_config, const wxString &base_section) |
virtual bool | SaveConfig (wxConfigBase *p_config, const wxString &base_section) |
UINT32 | GetBufferCount () |
void | SetSec2Pix (double sec_per_div) |
int | GetSample (int i) |
double | GetSampleVolt (int i) |
int | Volt2Pix (double value) |
int | PixY2Dc (int value) |
void | SetDiv2Pix (double div_2_pix_Y) |
void | SetLeftDiv2Pix (double div_2_pix_Y) |
int | Sec2Pix (double value) |
double | Sample2Sec (int value) |
double | Pix2Sec (int value) |
int | Sec2Sample (double value) |
void | SetVolt2Div (double volt_2_div) |
void | SetVolt2Pix (double volt_2_pix) |
void | SetPix (int pix_X, int pix_Y) |
void | SetLeftPix (int pix_X, int pix_Y) |
void | DrawTrigger (wxDC &dc) |
void | DrawCursor (wxDC &dc) |
void | DrawSamples (wxDC &dc) |
void | DrawPosition (wxDC &dc) |
bool | ToggleRecordStatus (const wxString &path, const wxString &file_name, const wxString ×tamp, bool start) |
virtual bool | ReadSamples (bool do_record)=0 |
virtual bool | WriteDACOffset (void)=0 |
virtual bool | WriteChannelTrigger (void)=0 |
Public Attributes |
bool | m_enabled |
wxColour | m_line_color |
int | m_line_width |
int | m_DAC_offset_bit |
double | m_DAC_bit_2_volt |
double | m_DAC_volt_2_bit |
double | m_trigger_threshold_volt |
int | m_trigger_thr_sample |
int | m_record_rate_divider |
bool | m_record_enabled |
RECORD_FORMAT_TYPE | m_record_format_type |
double | m_offset_y |
double | m_bit_2_volt |
double | m_volt_2_bit |
double | m_volt_2_div |
double | m_volt_2_pix |
double | m_div_2_pix_X |
double | m_div_2_pix_Y |
int | m_pix_Y |
int | m_pix_X |
double | m_left_div_2_pix_Y |
int | m_left_pix_Y |
int | m_left_pix_X |
int | m_cursor_position |
bool | m_cursor_enabled |
double | m_medium_value |
bool | m_overload_up |
bool | m_overload_down |
wxPen * | m_line_pen |
wxPen * | m_trigger_pen |
wxBrush * | m_trigger_brush |
RecordChControl * | m_p_record_ch_control |
CommonChControl * | m_p_common_ch_control |
CursorChControl * | m_p_cursor_ch_control |
void(* | ScopeRefresh )(bool) |
Protected Member Functions |
virtual bool | RecordSamples (void) |
Protected Attributes |
bool | m_is_recording |
wxFile * | m_p_record_file |
wxMutex * | m_p_data_mutex |
wxMutex | m_samples_mutex |
cvt_board_data * | m_p_data |
int | m_ch_index |
AppSettings * | m_p_app_settings |
UINT16 * | m_p_sample_buffer |
UINT32 | m_sample_buffer_size |
UINT32 | m_sample_buffer_count |
UINT32 | m_record_sample_counter |
UINT16 * | m_p_tmp_sample_buffer |
UINT32 | m_tmp_sample_buffer_size |
UINT32 | m_tmp_sample_buffer_count |
UINT32 | m_tmp_record_sample_counter |
wxMutex | m_record_mutex |