News:

:) Welcome to the Probe Software forum area!

Main Menu

Modified get/set PHA functions

Started by John Donovan, June 29, 2025, 04:46:03 PM

Previous topic - Next topic

John Donovan

We recently modified the Remote get/set PHA functions. These functions have included the dead time parameter, but it was never utilized as one would expect. The latest version of the Remote Server now returns and sets the Cameca integer "enforced" hardware dead time parameter. These parameters have no effect on JEOL hardware.

These dead time parameters are distinct from the software dead time correction performed for quantification. Here is the updated documentation:

Public Function RemoteGetPHAParameterDeadtime(iscal As Integer) As Single

This function returns the Cameca integer "enforced" deadtime setting from SX100/SXFive instruments only, for the specified scaler number in micro-second units.

The scal parameter must be between 1 and RemoteNumberofTunableSpecs%.
Usage:
Dim deadtime as single
Dim iscal as integer
iscal% = 1
deadtime! = Remote.RemoteGetPHAParameterDeadtime(iscal%)

Public Sub RemoteSetPHAParameters(iscal As Integer, baseline As Single, window As Single, gain As Single, bias As Single, intediffmode As Integer, deadtime As Single)

This procedure sets the current PHA setting for the specified scaler number including baseline (in volts), window (in volts), gain (unitless), bias (in volts), integral/differential mode (false or zero = integral mode and true or negative one = differential mode).

The dead time parameter sets the Cameca integer "enforced" dead time value for SX100/SXFive instruments only, in micro-second units. The parameter has no effect on JEOL instruments.

The scal parameter must be between 1 and RemoteNumberofTunableSpecs%.

Usage:
Dim baseline as single, window as single
Dim gain as single, bias as single
Dim intediffmode as integer
Dim deadtime as single
Dim iscal as integer

iscal% = 1
baseline! = 0.5
window! = 9.0
gain! = 32.0
bias! = 1750.0
intediffmode% = 0       ' integral mode
deadtime! = 2           ' 2 microseconds

Remote.RemoteSetPHAParameters iscal%, baseline!, window!, gain!, bias!, intediffmode%, deadtime!



John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"