Measurement Computing   Easy to Use | Easy to Integrate | Easy to Support catalog banner

Can I use LabVIEW to read millivolts or ohms with my USB-TC or...

Expand / Collapse
 

Can I use LabVIEW to read millivolts or ohms with my USB-TC or USB-TEMP?


MCC ULx for NI LabVIEW driver does not support reading the raw millivolts of a thermocouple channel, nor the raw ohms of a thermistor or RTD channel.  This is supported in the Universal Library (the programmers library normally used by C#/VB programmers) via the No Scale range.  

The good news is that LabVIEW can call the DOT.NET layer of MCC's Universal Library.  i.e. the strategy discussed here can be used instead of ULx to read normal data in degrees, and in addition, it can read back the raw sensor data (the data prior to being linearized and converted into degrees).

Attached is an example in LabVIEW 2009, that uses the VIs on the .NET palette of LabVIEW.   This example calls the TIn function in the MCCDAQ.DLL that is already located on your hard drive … i.e. MCCDAQ.DLL is already located in the same folder as InstaCal (inscal32.exe).  For more information about the TIn function, look in ULHelp.CHM, which is also on your hard drive (installed as part of Universal Library).   

The attached Code or Example is provided As Is.  It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments.  You assume all risks for use of the Code or Example.




Rate this Article:

Attachments


LV2009 DOT NET example_TIn.zip LV2009 DOT NET example_TIn.zip (7.73 KB, 1,709 views)

Add Your Comments


For comments email TechSupport@mccdaq.com.

Details
Article ID: 50334

Last Modified:1/27/2014 9:33:28 AM

Article has been viewed 15,832 times.

Options