    

 ## On this page

  

 

 # Example 08: NCE Detector Data 

 Last update: 17.07.2025 

Ex 8: Various detector data retrieval commands are demonstrated here, showing how to retrieve different types of non-sequential detector results. Safe-array equivalent commands are implemented in C#, MATLAB, and Python, whereas safe arrays are avoided in C++ for ease of use. Saving and loading detector files is also demonstrated.

```
Input:      Non-Sequential\Scattering\Abg scattering surface.zos
<p>Output:     API\CS\CS_08_NSCEDetectorData.zos
API\CPP\CPP_08_NSCEDetectorData.zos
API\MATLAB\MATLAB_08_NSCEDetectorData.zos
API\Python\Python8_NSCEDetectorData.zos
</p>
```

[C#](page_ex08_cs.xhtml)

[C++](page_ex08_cpp.xhtml)

[Matlab](page_ex08_m.xhtml)

[Python](page_ex08_py.xhtml)