07-25-2013 12:08 PM
I am getting same buffer output for both devices. Is it correct? 1-wire manual you are talking about is the same which is available on this link?
If this is not correct can you please send the link for 1-wire manual.
07-26-2013 09:48 AM - edited 07-26-2013 09:50 AM
I am not familiar with the device you are using so I can't help with any particular programming for that device. But if you look at the many VIs that are in the previous pages of this thread, you may find something useful. Also, the website to go to for help and for information is (if you are using a Maxim/Dallas Semiconductor iButton device):
http://www.maximintegrated.com/products/ibutton/
You do not get the same State Buffer for different devices. Each State Buffer output is particular to the device that returned it. If you Find First Device, you need to save its State Buffer. If you then FInd Next, you need to save its State Buffer separately. Then use the State Buffer associated with the device you want to query.
08-06-2013 01:24 AM
Hi all,
I've been using 1Wire sensors of various flavors for many years and have grown to love them for use in many laboratory and industrial environments.
They're not terribly difficult to program, but there are a few tricks and some important details to getting them to do what you want and to avoid some buggy behavior of the interfaces and devices. The logging devices such as the DS1922 and DS1923 are a bit time-consuming to configure read/write operations for configuration registers and to set up calibration, log timestamps with rollover, etc.
I leveraged all the experience (and coding time, of course) into a few packages released here: http://www.interfaceinnovations.org/downloads.html
You can see a few screenshots and descriptions here: http://www.interfaceinnovations.org/onewireproducts.html
I can tell you from experience that you can easily spend much more in time than these packages cost. They are Certified Compatible with LabVIEW and include examples with viewable block diagrams, as well as high-level applications.
Please let me know if you have any questions, and happy coding!
Best,
Colin
10-27-2015 11:08 AM
Hi All
Sorry to post on an old post, anybody have code for DS2406?
Thank You
06-01-2018 04:31 AM
For anyone that is struggling with 1-wire. download that driver and use it. 🙂
06-01-2018 12:43 PM
Thank! It is great that these basic functions are available open-source.
The OneWire Toolkit on the Tools Network I mentioned previously has a lot more functionality, including device-specific vis, examples, and complex operations that are unfortunately totally non-obvious and take some sleuthing for details in the datasheets. I am obviously biased since I wrote it, but I believe it is easily worth the price in the time it takes to write yourself functions around these basic API calls. I am a firm believer in not reinventing wheels and spending time writing low-level device and glue code.
Best,
Colin
06-02-2018 09:27 PM
The problem is the price... When someone cannot pay they need to use free stuff. I was not able to find free stuff, so I created it. For those that can effort it and do not have the time to play around to create the driver for specific hardware, they will buy the turnkey solution.
Benoit
10-25-2023 03:34 AM
10-26-2023 02:59 AM
Holy Necromancy Batman!
10-26-2023 04:19 AM
@Yamaeda wrote:
Holy Necromancy Batman!
Not exactly just necromancy but more a request attached to an existing thread but not having to do much with the original post. The DS2484 is a relatively new device, with the datasheet from 2015, and it seems that each of the 1-wire chips that Dallas Semiconductor/Maxim/Analog Device released has somehow its own special details that need to be addressed. So drivers for an older device can't just be reused with a new device.
It should be relatively easy to adapt the existing driver to this new device, but yes that requires time, determination and knowledge. I'm not sure if anyone with all these qualities has considered sharing his work for free with others.