Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

Using the EI-1022 temp probe with the U3


  • Please log in to reply
4 replies to this topic

#1 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 05 April 2007 - 11:24 AM

The EI-1022 temperature probe outputs 10 mV per degree K. That means that at room temperature, the probe outputs about 3 volts, but the normal single-ended range of the U3 is about 0-2.44 volts. The solution is simply to use the "Special 0-3.6" volt range which is mentioned in Section 2.6.1 of the U3 User's Guide. To get this range, use a differential channel where the negative channel is set to the special internal value of 32. The analog input pseudocode in Section 4.3.3 shows a request using the 0-3.6 volt range. To get this range in DAQFactory Express, put 32 in the QuickNote/Special/OPC column for a particular channel.

#2 maizura

maizura
  • Members
  • 1 posts

Posted 30 October 2008 - 09:09 PM

The EI-1022 temperature probe outputs 10 mV per degree K. That means that at room temperature, the probe outputs about 3 volts, but the normal single-ended range of the U3 is about 0-2.44 volts.

The solution is simply to use the "Special 0-3.6" volt range which is mentioned in Section 2.6.1 of the U3 User's Guide. To get this range, use a differential channel where the negative channel is set to the special internal value of 32. The analog input pseudocode in Section 4.3.3 shows a request using the 0-3.6 volt range. To get this range in DAQFactory Express, put 32 in the QuickNote/Special/OPC column for a particular channel.


Hi, this is my first time using Labjack U3. Im using VC++6 to read temperature using EI1022 and labjackU3. However the compiler gives an error 54 and the result is -999.000. The following are my codes which I took from labjack example for EI1050:

//to open labjack
lngErrorcode = OpenLabJack (LJ_dtU3, LJ_ctUSB, "1", 1, &lngHandle);
ErrorHandler(lngErrorcode, __LINE__, 0);

//to reset
lngErrorcode = ePut (lngHandle, LJ_ioPIN_CONFIGURATION_RESET, 0, 0, 0);
ErrorHandler(lngErrorcode, __LINE__, 0);

//to set FI04 as gateway
lngErrorcode = ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chSHT_DATA_CHANNEL, 4, 0);
ErrorHandler(lngErrorcode, __LINE__, 0);

//Set FIO6 to output-high to provide power to the EI-1022.
lngErrorcode = ePut (lngHandle, LJ_ioPUT_DIGITAL_BIT, 6, 1, 0);
ErrorHandler(lngErrorcode, __LINE__, 0);

//to set reading voltage from 0-3.6V
lngErrorcode = AddRequest (lngHandle, LJ_ioSHT_GET_READING, LJ_chSHT_TEMP, 0, 32, 0);

//to get reading and display----the error is here
lngErrorcode = GetResult (lngHandle, LJ_ioSHT_GET_READING,LJ_chSHT_TEMP,&dblValue);
ErrorHandler(lngErrorcode, __LINE__, 0);
printf("Temp Probe A = %f deg K\n",dblValue);
printf("Temp Probe A = %f deg C\n",(dblValue-273.15));
printf("Temp Probe A = %f deg F\n",(((dblValue-273.15)*1.8)+32));
ErrorHandler(lngErrorcode, __LINE__, 0);

Pls help me......thank you..

#3 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 31 October 2008 - 09:18 AM

The EI-1050 is a digital probe, while the EI-1022 is an analog probe. Connect the red wire to Vs, the black wire to GND, and the white wire to FIO4. Then simply get an analog input reading from FIO4 using the "Special 0-3.6 range". Just make a call to the eAIN function which is described in Sections 4.2.17 and 4.3.9 of the U3 User's Guide and demonstrated in the VC6 EFunctions example:

 

//Take a special range measurement from FIO4.

lngErrorcode = eAIN (lngHandle, 4, 32, &dblValue, -1, 0, 0, 0, 0, 0);



#4 mousumih

mousumih
  • Members
  • 2 posts

Posted 19 March 2014 - 12:13 PM

Please can someone provide a code snippet to use with Linux?



#5 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 19 March 2014 - 02:17 PM

u3.c/h provides an eAIN function for Linux, and the u3EFunctions.c example demonstrates its usage. Here's the Linux version of the call from our last post using variables from the u3EFunctions.c example:

 

//Take a special range measurement from FIO4.

error = eAIN(hDevice, &caliInfo, 1, &DAC1Enable,  4, 32, &dblVoltage, -1, 0, 0, 0, 0, 0);

 

Refer to u3.h file for the Linux eAIN documentation which is similar to the Windows version but with three additional parameters.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users