Documentation Center

  • Trial Software
  • Product Updates

H5P.get_edc_check

Determine if error detection is enabled

Syntax

check = H5P.get_edc_check(plist_id)

Description

check = H5P.get_edc_check(plist_id) queries the dataset transfer property list, specified by plist_id, to determine whether error detection is enabled for data read operations. Returns either H5Z_ENABLE_EDC or H5Z_DISABLE_EDC.

Examples

dxpl = H5P.create('H5P_DATASET_XFER');
check = H5P.get_edc_check(dxpl);
switch(check)
    case H5ML.get_constant_value('H5Z_ENABLE_EDC')
        fprintf('error detection enabled\n');
    case H5ML.get_constant_value('H5Z_DISABLE_EDC');
        fprintf('error detection disabled\n');
end

See Also

Was this topic helpful?