labview >> 1-wire temperature in LabView

by james_t_dk_home » Mon, 29 Nov 2004 20:40:09 GMT

Hi<br><br>I'm trying to write a driver for 1-wire ( to LabView. <br>For starters I didn't have any contact at all! But now I can read the uniqe ID from temperature sensors connected to both my USB and my RS232 adapter.<br><br>And then the fun stops. <br>I can not communicate with the temperature chips (DS1920 & DS1822) I can't even get the IsTemperatureContainer to reply with a true.<br><br>Does anyone have the time to review my code and maybe suggest changes?<br><br>You can request a free samlpe at I recomend getting a DS1920 and a DS9490B for testing purposes, order sampels from here:<br><br>You need to have the OWAPI installed (<br>But if you know a better way or can use one of the other API's please let me know. I just need to read the temperature, how it's done is not important (except it has to be done with LabView).<br><br>Please help, this is very urgent.<br><br>J;-)

labview >> 1-wire temperature in LabView

by briancam » Fri, 09 Jun 2006 00:10:08 GMT

I am trying to do the same with DS18S20.
I plan on using a DS2480 to convert 1-Wire to RS232.

I need to use simple ASCII commands which I plan to write a Automated test program in LabVIEW.
Should I get HA7E is a RS232 to 1-Wire interface? or can HA2 - RS232 1-Wire Host Adapter do the same function?
I have a DS1820 I need to use the CRC algorithm Specified by Dallas and
perform the following Tests:
Read 64 bit ROM of DS18S20, Resultant byte from CRC algorithm must match
the eight (last) byte of ROM.
Read 72 bit Scratchpad of DS18S20, Resultant byte from CRC algorithm must
match the ninth (last) byte of Scratchpad.
Next, I have to:
TH byte is downloaded from E2 memory to scratchpad. TH byte in scratchpad
is read.
TL byte is downloaded from E2 memory to scratchpad. TL byte in scratchpad
is read.
Finally, I need to read Temperature, which is read via data in
bytes 0,1,6 & 7 of the Scratchpad.
Can I accomplish this by MANUALLY typing the commands over the RS-232 Comm
Port from a PC?????
If anyone has any comments or am I taking the correct path? your help appreciated.

Similar Threads

1. problems running Temperature & - Student Version 7.1, no activity on temperature

Please attach the vi or tell us where we can find it.

2. Insane object at BDHP+256D8 in ".vi" {graphics}(0X80):wire segment(wire)

3. Connecting two error out wires to one error in wire

4. How do I CONTROL temperature with LABVIEW

5. How to read mainboard temperature into LabVIEW?

Hi folks,
we are struggling with overheating problems of  our industrial PC which runs in a closed control cabinet. In the BIOS of most modern PCs, temperatures of different locations inside the computer are indicated. Does anyone have an idea how we could read these temperatures into LabVIEW in order to generate appropriate warning messages? Of course we could put our own sensors inside the computer and read the signals via an interface card but this would not be the most straightforward solution since there are already sensors present in the computer.
Thanks for any hint,

6. I need to control a Ransco temperature chamber with LabVIEW

7. mmr k20? labview temperature reading

Hi,Can Anyone attached the GPIB command for controlling MMR K20? I am looking for it.ThanksMessage Edited by cheyne on 06-23-2008  11:01 PM

8. make labview retrieve hp34970a temperature data