Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
SONY.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
The Meteor2 device server can be accessed via SPEC as a standart CCD camera. All standart functionality is implemented. On the Sony camera several extra features are available which are accessible via this set of macros. The main features are: EXAMPLE | ||||||
Macros:
Usage: sony_setup [ device_name ] It will declare the camera device so that it is known by the macros. sony_unsetup Usage: sony_unsetup Cleans-up the camera and counter set-up. sony_on Usage: sony_on Switches on the configured counters during ct and scans. sony_off Usage: sony_off Disables the configured counters during ct and scans. sony_counter_add Usage: sony_counter_add [ counter_mnemonic value_index ] Adds the counter with the given mnemonic which reads the camera value specified by the index. The index can be found executing "sony_show"! sony_counter_remove Usage: sony_counter_remove [ counter_mnemonic ] Removes the counter with the given mnemonic. sony_set_threshold Usage: sony_set_threshold (threshold) Sets the intensity threshold for the camera. sony_get_threshold Usage: sony_get_threshold () Returns the intensity threshold for the camera. sony_set_exposure Usage: sony_set_exposure (exposure_time) Sets the exposure time for the camera. sony_get_exposure Usage: sony_get_exposure () Returns the actual exposure time off the camera. sony_set_max_exposure Usage: sony_set_max_exposure (max_exposure_time) Sets the maximum exposure time for the camera. sony_get_max_exposure Usage: sony_get_max_exposure () Returns the maximum exposure time off the camera. sony_live_on Usage: sony_live_on () Sets the camera to live mode sony_live_off Usage: sony_live_off () Stops the camera live mode sony_autocal_on Usage: sony_autocal_on (min_intensity, max_intensity) Switch on the intensity calibration for every image aquired. The camera calibrates the image intensity to the specified range before taking an image by changing the exposure time. sony_autocal_off Usage: sony_autocal_off () Switch off the intensity calibration for every image aquired. sony_calibrate_intensity Usage: sony_calibrate_intensity (min_intensity, max_intensity) The camera calibrates the image intensity to the specified range by changing the exposure time. sony_show Usage: sony_show Shows all readable parameters for the camera with their index and actual values. | ||||||
Internal Macros: | ||||||
Usage: sony_ct_add (counter_mnemonic value_index) Adds the counter with the given mnemonic which reads the camera value specified by the index. The index can be found executing "sony_show"! sony_ct_remove Usage: sony_ct_remove (counter_mnemonic) Removes the counter with the given mnemonic. sony_ct_read Usage: sony_ct_read Reads all counters specified for the camera if the reading was eanabled by "sony_on"! | ||||||
|