Tomography Toolbox    

tom_get_state

reads the actual settings of the microscope in a state structure

Syntax

State=tom_get_state(State,COMS,Options)

Input:
State :state (structure), to set microscope in a certain mode
COMS :structure including the interface to the microscope (ActiveX Server)
Options :string excluding sub-structure info(e.g. Magnificatio,CCD ..) not read
   
to check the organisation of the structures see tom_make_acquisition_structure and tom_make_all_coms
   
Output  
State :state (structure), to set microscope in a certain mode

 

Description

tom_get_state reads out the actual settings of the microscope and stores
in the given parameter state. Sub-structures excluded by Options are not
read from the microscope.

Examples

COMS=tom_make_all_coms;
[Tiltseries, Search, Tracking, Focus, Acquisition, Slit]=tom_make_acquisition_structure(COMS);
Options='';
Focus=tom_get_state(Focus,COMS,Options);
 
call in tom_tilt_series
handles.Search=tom_get_state(handles.Search,handles.COMS,Options);

See Also

tom_tilt_series,tom_set_state,tom_get_gui_Values,tom_set_gui_Values

    tom_get_pointer  tom_make_acquisiton_structure