Mercury-OEM#

This document describes Handel API changes introduced for the Mercury-OEM. For a full list of Mercury features please refer to the Mercury Support page.

Mercury related constants are defined in psl_mercury.h.

A compatible Mercury-OEM must be connected to call the Mercury-OEM specific API items, otherwise Handel will return error XIA_NOSUPPORT_VALUE.

Sample code demonstrating the usage of the following change can be found in hqsg-mercury-oem.c in the examples folder.

Acquisition Values#

Name

Type

Description

rc_time_constant

double

Index of nominal RC decay time, selectable from 0 to 6 (MERCURY_MAX_TAUCTRL). This value will be used when RC decay time calibration has not been performed.

rc_time

double

The actual decay time after running a decay time calibration.

Special Run Types#

Name

Description

calibrate_rc_time

Calibrate RC decay time using the on board pulser, the updated value will be written to acquisition value “rc_time”.

adjust_offsets

Set the adjustable offset of the on-board DAC. A valid offset must be passed in the info parameter as info[0] in the range of 0-65536 (16-bit ADC).