Description of the mca communication dll – GBS Elektronik MCA-166 Communication DLL User Manual

Page 15

Advertising
background image

Description of the MCA Communication DLL

Name

MMCA_SET_SHAPING_TIME_PAIR

Description

The function sets the values for the low and high shaping time of the MCA527. Afterwards, the shaping
time is selected with MMCA_SET_SHAPING_TIME_LOW or MMCS_SET_SHAPING_TIME_HIGH.
This practice seems to be circumstantial, but it considered the compatibility to the MCA166.

Declaration

ERROR_FLAG CALLBACK MMCA_SET_SHAPING_TIME_PAIR(unsigned short unLow,

unsigned short unHigh);

unLow

Low shaping time: 1 … 254 (low shaping time < high shaping time)

unHigh

High shaping time: 2 … 255 (low shaping time < high shaping time)

Return value

See MCA_COMM function

Remarks

This function is only usable for MCA527.

Name

MMCA_SET_TRIGGER_FILTER

Description

The function sets the trigger filters used for low and high shaping time.

Declaration

ERROR_FLAG CALLBACK MMCA_SET_TRIGGER_FILTER(unsigned short unTriggerFilterLow,
unsigned short unTriggerFilterHigh);

unTriggerFilterLow

Trigger filter for low shaping time:

0 = (-1; +1), 1 = (-1; 0; +1), 2 = (+1; -2; +1), 3 = (+1; 0; -2; 0; +1)

unTriggerFilterHigh

Trigger filter for high shaping time:

0 = (-1; +1), 1 = (-1; 0; +1), 2 = (+1; -2; +1), 3 = (+1; 0; -2; 0; +1)

Return value

See MCA_COMM function

Remarks

This function is only usable for MCA527.

Name

MMCA_SET_TRIGGER_PARAM

Description

The function sets the trigger parameters..

Declaration

ERROR_FLAG CALLBACK MMCA_SET_TRIGGER_PARAM(unsigned short unParam,unsigned long ulValue);

unParam

Parameter to be set
0 = Trigger level for automatic threshold calculation
1 = Trigger level for automatic threshold calculation for direct input
2 = Set trigger threshold

ulValue

New value

Return value

See MCA_COMM function

Remarks

This function is only usable for MCA527.

Name

MMCA_SET_EVAL_FILTER_TYPE

Description

The function sets the evaluation filter type.

Declaration

ERROR_FLAG CALLBACK MMCA_SET_EVAL_FILTER_TYPE(unsigned short unFilterType);

unFilterType

Evaluation filter type:

0 = standard filter, 1 = LF filter

Return value

See MCA_COMM function

Remarks

This function is only usable for MCA527.

15

Advertising
This manual is related to the following products: