08-29-2013 03:42 AM
Hi everyone,
I'm using tb-9214 and cDAQ-9171 to measure thermocouples.
I write an user interface to measure to temperatures the TC with NI devices (that i wrote) in matlab I use the API of matlab for DAQ
I'm adding a link: http://www.mathworks.co.uk/help/daq/ref/daq.createsession.html
My problem is :
I got a inacurrate measuerment becuase I dont know how to disable the open thermocouple detection, I cant find a function on the API for DAQ ,I know there is a function that do it, but this is on C and I need to use dll files,and i want to keep my scripts with the matlab API to DAQ , the function is DAQmxSetAIOpenThrmcplDetectEnable
I will be thankful if someone can help me to solve this problem, I hope to find a function like this in matlab.
Thanks@
Joe
08-30-2013 02:33 PM
Hi Joe,
You're correct that that property needs to be modified to disable the Open Thermocouple Detection. Unfortunately, unless The Mathworks, Inc DAQ Toolbox provides this functionality, the only option is to use the C function. I would contact them and see if there's an unexposed setting for this.
*MATLAB is a registered trademark of The MathWorks, Inc. ® All other trademarks are the property of their respective owners.