Next:
Scan configuration files
Up:
Technical Information on STXM V
Previous:
MKS Baratron gauge controller
Contents
Programming information
This chapter gives further details on programming.
Subsections
Scan configuration files
ADC channel information
The structure
sm_par
sm_par
clock time
When not scanning
How scans are done
Preparing scan parameters
The routine
sm_scan.prepare_sgm_scan()
Preparing scan devices
Doing the scan
After the scan
Recentering stages
Updating remaining parameters and saving scans
How motor moves are done
Checking motor moves
Checking energy changes
Display issues
Review: Display options in STXM 4
Proposed display scheme for STXM 5
C++ programming conventions
Datatypes
Nomenclature
Return values
Indentation
IDL programming conventions
C++ classes
ni_do
ni_mf
ni_sdo
agilent
delta_tau
Test programs
ni_do_test.cpp
tune_pistage.cpp
agilent_test.cpp
delta_tau_test.cpp
Client-server programming
Protocol basics
Commands with parameters
Buffered communication
Example code: C++
Example code: idl
Signalling for scanned images
Other notes
IDL Programs
read_stxm5.pro
write_stxm5.pro
sm_ipar_stxm5.pro
stxm_detectorname.pro
,
stxm_devicename.pro
stxm4tostxm5.pro
stxm5_dist_um.pro
stxm5_displays.pro
compare_sm_par.pro
convert_sm_par.pro
SM_GUI
Parameter passing mechanism for ``classical'' widget programs
Widget Programs as Objects
The
sm_gui_par
structure
List of procedures and functions in the
sm_gui.pro
file
Holger Fleckenstein 2008-07-08