Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-9266 open current loop

Solved!
Go to solution

Hello everybody,

 

I am currently developping an application using NI-9266 modules. I see in documentation that :

 

"The NI-9266 provides channel-based indicators for open current loop condition or if the loop is out of regulation. This could be the result of a wire disconnect or a violation of the maximum load or maximum compliance voltage"

 

Therefore, I code this line below :

 

DAQmxGetReadAttribute (h_task, DAQmx_Read_OpenCurrentLoopChans, pc_daq_buffer);

 

But at execution, it returns an error telling me that module does not support this property. Is it the right way to monitor this indicator? I also see in this function panel, that this attribute is not available for NI-9266 module. This is inconsistent with the documentation I mentioned before. I used NI-DAQmx version 19.0.0.

 

Thanks in advance, for your support.

Best regards,

James

0 Kudos
Message 1 of 3
(341 Views)
Solution
Accepted by topic author james_007

From C:\Program Files (x86)\National Instruments\NI-DAQ\docs\cdaqmxsupp.chm

Status >> Open Current Loop >> Open Current Loop Channels Exist

Data Type: bool32
Description: Indicates if the device(s) detected an open current loop for any channel in the task. Reading this property clears the open current loop status for all channels in the task. You must read this property before you read Open Current Loop Channels. Otherwise, you will receive an error.
Restrictions: Not Settable

 

You can get this property using:
  DAQmxGetWriteOpenCurrentLoopChansExist

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 3
(313 Views)

Hello ZYong,

Thank you for your support, it works now.

Best regards,

James

0 Kudos
Message 3 of 3
(283 Views)