> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example 08: NCE Detector Data

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.

```text theme={null}
Input:		Non-Sequential\Scattering\Abg scattering surface.zos

Output:		API\CS\CS_08_NSCEDetectorData.zos
            API\CPP\CPP_08_NSCEDetectorData.zos
            API\MATLAB\MATLAB_08_NSCEDetectorData.zos
            API\Python\Python8_NSCEDetectorData.zos
```

[C#](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_08_cs)

[C++](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_08_cpp)

[Matlab](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_08_m)

[Python](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_08_py)
