Solution
Unfortunately, there is no NI-DCPower C example for Ubuntu, but you can access the NI-DCPower header files which are available in
usr/include and as shown below while the NI-DCPower library files are available in
/usr/lib/x86_64-linux-gnu.

Please take note that there is no guide on how to use the library.
You can refer to the CVI examples to create the C code but resources to support you may be limited due to the absence of C-based DCPower examples.
While we are recommending this as a workaround, as this is not officially supported by NI, unexpected behavior may occur.