cancel
Showing results for 
Search instead for 
Did you mean: 

1-wire Labview drivers

NIquist
Trusted Enthusiast

Re: 1-wire Labview drivers


@Yamaeda wrote:

Holy Necromancy Batman!


Well, it IS almost Halloween!  

 

EDIT:  BTW, "Holy" Necromancy == 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
GYALI77
Member

Re: 1-wire Labview drivers

Thanks, Yamaeda for responding.

 

It will be great help, if you can suggest any existing driver which may communicate with DS2484 after minor modifications.

 

GYALI77
Member

Re: 1-wire Labview drivers

Thanks, Yamaeda for responding.

 

It will be great help, if you can suggest any existing driver which may communicate with DS2484 after minor modifications.

Bob_Schor
Knight of NI

Re: 1-wire Labview drivers

Message contains a hyperlink

There's an NI document on Understanding the I2C-two wire bus interface with LabVIEW that mentions an NI USB SPI/I2C I/O device (USB-8451), and describes (more-or-less) coding the Protocol in the FPGA of a NI peripheral.  There are also other chips you can find by doing a Network search for "LabVIEW I2C" that might give you some ideas.

 

I've not done anything with I2C, but have programmed controlling a SPI chip (actually a bunch of SPI chips) using the FPGA -- you just have to manipulates the bits correctly in relationship with the logic required by the respective Protocol.

 

Bob Schor

ColinCR
Member

Re: 1-wire Labview drivers

I'm late to the party here, so apologies. 

 

You could certainly spend a hundred bucks on an I2C interface to interact with the DS2484 and follow the data sheet to do so, but it would be a strange thing to do. This would entail essentially writing a driver for the command set of this device, which I can assure you from working with the command set, you do not want to do. Even if you are capable of this, which is not a sleight (it is non-trivial), you then need to write a driver for each command set of each device that you want to put onto that bus. I can assure you that you do not want to do this. 

 

On top of this, the funny part about this is that the reason one would use a DS248X device is that they are vanishingly cheap and a way to integrate a one-wire bus or buses into a BOM and IC for next to nothing that is surface-mount compatible and very small. Buying an I2C bus and all the overhead and complication to interface with this devices strikes me as funny. 

 

The only reason to do this that I can see would be to test the 1Wire hardware of a deployment system that uses the DS248X for the above reasons I have mentioned, since test hardware like the I2C is expected to cost money and this incremental cost makes sense. Otherwise, you'd be better off just buying a USB adapter like the DS9490 and Maxim's device drivers, or the 1Wire Utilities I've written for this purpose, and lose the DS2484. Save your time for coding you care about, rather than drivers. Glue code doesn't typically gain accolades; the devices you are testing do, however. Spend your time on the latter.

PhD ChemE, CLD, Alliance Partner : www.interfaceinnovations.org
Dotcore
Member

Re: 1-wire Labview drivers

Hi All

Sorry to post on an old post, anybody have code for DS28E17?

 

Thank You

 

Bob_Schor
Knight of NI

Re: 1-wire Labview drivers


@Dotcore wrote:

Sorry to post on an old post, anybody have code for DS28E17?


Yes, hijacking a LabVIEW Forum post to ask your own (irrelevant) question is very bad manners.  Open the Forum, and click the "Start a Topic" button.  Explain your situation, explain what you have tried, post what code you have, and ask for help.

 

Have you done a simple Web search for "DS28E17"?  There seems to be a lot of code already posted on the Web for the specific chip you mention (which is not the chip for the original Post ...).

 

Bob Schor

Dotcore
Member

Re: 1-wire Labview drivers

you are absolutely right. i apologize.

 

I just thought it was very similar to my problem and that's why I asked here. All the codes on the web are not useful for my case