02-29-2024 11:52 AM
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
Solved! Go to Solution.
02-29-2024 09:19 PM
From C:\Program Files (x86)\National Instruments\NI-DAQ\docs\cdaqmxsupp.chm
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
03-04-2024 07:37 AM
Hello ZYong,
Thank you for your support, it works now.
Best regards,
James