12-06-2023 04:56 AM
Hello everybody,
I am currrently coding an application in Labwindows CVI 2019 to control NI-DAQ sourcing current NI-966 modules racked in a cDAQ-9185 Ethernet chassis. Thos modules are connected to LEDs. I would to know if there is a connection problem on LEDs. Therfore I used DAQmxGetReadAttribute function with DAQmx_Read_OpenCurrentLoopChansExist attribute. The function returns the following message :
"return value == -200452. Specified property is not supported by the device or is not applicable to the task. Property DAQmx_Read_OpenCurrentLoopChansExist
Task Name : (...)
Status Code : -200452
Modules and chassis are defined in NI-MAX in simulated mode.
Thanks in advance for your help.
James
12-06-2023 09:03 AM
NI-9266 specifications did not mention that you can read the open-loop status. Did you see it documented that you can read from software the open loop alarm?
12-06-2023 09:15 AM
Hello Santhosh,
I read it in NI-9266 Getting Started - NI
(right click and open the link). In section "Current Loop Status".
Best regards,
James
12-06-2023 10:27 AM
Oh, not all features of DAQmx run in simulated mode, hence the error.
Please post if you still observe the error when running with real hardware.