Solution
An open current loop means that a load has not been detected across the current output channel of your NI 9265 module. Check that the connections are secure and connected to the correct pins on the module. If you do not have a load but would still like to test your code, you can connect a resistor to the channel you will be testing.
The connected load must be less than 600 Ohm for this module, as specified in the
NI 9265 Getting Started Guide.