Solution
The installation of NI‑SWITCH does not include the example module by default. To access the examples, you must install the additional package ni-switch-devel separately.
You can verify whether the required package is installed by running:
apt list --installed | grep ni-switch-devel
If the package is not installed, use the following command to install it:
sudo apt install ni-switch-devel