DSPControl.C File Reference

#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/unit.h"
#include "gxsm/pcs.h"
#include "gxsm/xsmtypes.h"
#include "gxsm/glbvars.h"
#include "include/dsp-pci32/xsm/xsmcmd.h"

Go to the source code of this file.

Classes

union  AmpIndex
struct  DSP_Param
struct  DSP_Param_Mover
class  DSPControl

Defines

#define DSP_AFMMOV_MODES   4
#define DSP_FB_ON   1
#define DSP_FB_OFF   0

Functions

static void DSPControl_about (void)
static void DSPControl_query (void)
static void DSPControl_cleanup (void)
static void DSPControl_show_callback (GtkWidget *, void *)
static void DSPControl_StartScan_callback (gpointer)
GxsmPluginget_gxsm_plugin_info (void)
static void remove (gpointer entry, gpointer from)

Variables

GxsmPlugin DSPControl_pi
static const char * about_text
DSP_Param data_hardpars
DSP_Param data_hardpars_dual
DSPControlDSPControlClass = NULL


Define Documentation

#define DSP_AFMMOV_MODES   4
 

Definition at line 267 of file DSPControl.C.

#define DSP_FB_OFF   0
 

Definition at line 280 of file DSPControl.C.

Referenced by DSPControl::feedback_callback(), and DSPControl::updateDSP().

#define DSP_FB_ON   1
 

Definition at line 279 of file DSPControl.C.

Referenced by DSPControl::feedback_callback(), and DSPControl::updateDSP().


Function Documentation

static void DSPControl_about void   )  [static]
 

Definition at line 333 of file DSPControl.C.

References about_text, DSPControl_pi, N_, GxsmPlugin::name, and VERSION.

static void DSPControl_cleanup void   )  [static]
 

Definition at line 345 of file DSPControl.C.

References GxsmPlugin::app, DBG_L2, DSPControl_pi, DSPControlClass, GnomeAppService::getApp(), GxsmPlugin::menuentry, GxsmPlugin::menupath, and PI_DEBUG.

static void DSPControl_query void   )  [static]
 

Definition at line 303 of file DSPControl.C.

References GxsmPlugin::app, App::ConnectPluginToStartScanEvent(), DSPControl_pi, DSPControl_show_callback(), DSPControl_StartScan_callback(), DSPControlClass, XSMRESOURCES::geomsave, GnomeAppService::getApp(), GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, AppBase::SetResName(), GxsmPlugin::status, and xsmres.

static void DSPControl_show_callback GtkWidget *  ,
void * 
[static]
 

Definition at line 356 of file DSPControl.C.

References DSPControlClass, and AppBase::show().

Referenced by DSPControl_query(), and sranger_hwi_query().

static void DSPControl_StartScan_callback gpointer   )  [static]
 

Definition at line 361 of file DSPControl.C.

References DSPControlClass, and DSPControl::update().

Referenced by DSPControl_query(), and sranger_hwi_query().

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 214 of file DSPControl.C.

References GxsmPlugin::description, DSPControl_pi, N_, and VERSION.

static void remove gpointer  entry,
gpointer  from
[static]
 

Definition at line 734 of file DSPControl.C.

Referenced by DSPControl::~DSPControl().


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_(
        "Gxsm DSPControl Plugin:\n"
        "This plugin runs a control window to set "
        "the DSP feedback and scan characteristics.\n"
        "The digital feedback can be turned on and off, "
        "All feedback constants (CP, CI, CS (slope) are "
        "controlled here.\n"
        "Via scan characteristics the digital DSP vector scan "
        "generator is programmed."
        )

Definition at line 203 of file DSPControl.C.

DSP_Param data_hardpars
 

Definition at line 252 of file DSPControl.C.

Referenced by DSPControl::DSPControl(), and DSPControl::~DSPControl().

DSP_Param data_hardpars_dual
 

Definition at line 253 of file DSPControl.C.

Referenced by DSPControl::DSPControl(), and DSPControl::~DSPControl().

GxsmPlugin DSPControl_pi
 

Initial value:

 {
        NULL,
        NULL,
        0,
        NULL,
        "DSPControl",
        "+spmHARD +Innovative_DSP:SPMHARD +STM +AFM +SARLS",

        NULL,
        "Percy Zahl",
        N_("_Windows/"),
        N_("DSP Control"),
        N_("open the DSP feedback/scan controlwindow"),
        "DSP feedback control",
        NULL,
        NULL,
        NULL,
        DSPControl_query,
        DSPControl_about,
        NULL,
        NULL,
        DSPControl_cleanup
}

Definition at line 179 of file DSPControl.C.

Referenced by DSPControl::choice_Ampl_callback(), DSPControl_about(), DSPControl_cleanup(), DSPControl_query(), DSPControl::dualmode_callback(), DSPControl::ExecCmd(), get_gxsm_plugin_info(), and DSPControl::updateDSP().

DSPControl* DSPControlClass = NULL
 

Definition at line 301 of file DSPControl.C.

Referenced by DSPMoverControl::create_waveform(), DSPControl_cleanup(), DSPControl_LoadValues_callback(), DSPControl_query(), DSPControl_SaveValues_callback(), DSPControl_show_callback(), DSPControl_StartScan_callback(), sranger_hwi_spm::EndScan2D(), ProbeFifoReadFunction(), ProbeFifoReadThread(), sranger_hwi_dev::ReadLineFromFifo(), sranger_hwi_dev::ReadProbeFifo(), sranger_hwi_spm::ScanLineM(), sranger_hwi_spm::SetOffset(), sranger_hwi_cleanup(), sranger_hwi_query(), sranger_hwi_dev::start_fifo_read(), and sranger_hwi_spm::StartScan2D().


Generated on Sat Apr 1 09:04:43 2006 for GXSM by  doxygen 1.4.6