Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQ NI-9266 Read Open Open Current Loop status bit attribute

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

 

 

0 Kudos
Message 1 of 4
(627 Views)

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?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(601 Views)

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

 

 
0 Kudos
Message 3 of 4
(597 Views)

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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(579 Views)