Acquiring On-Board Temperature from a PCI-6704 Static Analog Output Module Primary Software: LabVIEW Development Systems>>Base PackagePrimary Software Version: 8.5 Primary Software Fixed Version: N/A Secondary Software: LabWindows/CVI Development Systems>>Base Package Hardware: Multifunction DAQ (MIO)
Problem: How can I read the on-board temperature sensor of a PCI-6704 data acquisition (DAQ) device? The text below appears in the user manual, but it does not explain how to actually acquire the device temperature? The onboard temperature sensor measures the air temperature flowing over the board. This sensor is positioned near the onboard precision voltage reference, which can be affected by extreme temperatures. This sensor has a serial digital interface Solution: The on-board temperature sensor is accessible as a device property, and this functionality comes only with the NI-DAQmx driver, not NI-DAQ. Unlike the E-Series and M-Series boards, the temperature sensor on the PCI-6704 is not listed as an analog input channel. LabVIEW: Text-based C code (LabWindows/CVI, VisualStudio, etc.): For text-based programming, there is a function that is equivalent to the LabVIEW function described above. It returns the temperature read by the sensor in degrees Celsius. int32 __CFUNC DAQmxGetCalDevTemp(const char deviceName[], float64 *data);
A short example code written in C has been attached to this KnowledgeBase article. Related Links: Accessing the On-board Temperature Sensor of E Series Devices Attachments:
Report Date: 02/06/2008 Last Updated: 02/09/2008 Document ID: 4I5DCI09 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
