LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW not working with DS2431 TEDS chips through serial interface.

i think the problem is that :the ds2431 is not part of teds family product, then do not support teds protocol...

teds is build on top of 1-wire

it is clearly mentionned there http://zone.ni.com/devzone/cda/tut/p/id/3930

'communicate with the EEPROM of the sensor'

or      'can use these drivers to write your code to read and write the TEDS bitstream'

 

but take a look at this http://community.ni.com/examples/reading-a-1-wire-ds18b20-via-a-serial-or-usb-adapter

but there is a real solution,  there is an example to connect to the 1-wire dallas library  as active-x , i am trying to find it  in NI discussion somewhre.....I ll get back

 

0 Kudos
Message 11 of 20
(5,513 Views)
Thanks for the response, but I'm still a little confused.  It is my understanding that the DS2430A was the original EEPROM used for TEDS.  In fact, I believe it is the EEPROM referred to in the actual IEEE 1451.4 standard, and according to Maxim/Dallas Semiconductor the DS2430A is used for TEDS applications:

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2913

However, for new designs the Maxim suggested replacement is the DS2431:

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4272

If it is at all possible I'd prefer to use the DS2431 because it is cheaper (granted the DS2433 isn't expensive, but in large quantities it can add up quickly), and the DS2431 is slightly smaller than the DS2433 which makes it a little easier to fit into our connectors.  Anyway, I'll reread those articles you mentioned and try out the example using the TMEX dll.  Thanks.
0 Kudos
Message 13 of 20
(5,503 Views)
I'm not sure if this thread is the right place for my question but at least it is a follow up to the last post.

I'm not using LabView but are in charge of developing sensors, but I'm also wondering how IEEE 1451.4-2004 and DS2431 fit together. Especially I would like to know how data are stored in the DS2431:
  • The DS2430A has a 8-byte application register which is used for the 64bits basic TEDS.
  • The DS2431 has 4 pages of 256bits.
  • Form a storage point of view, I would assume that the 4 pages are used as continuous memory, e.g. the first page would be used to store the 64bits basic TEDS and then parts of the appropriate template.
  • However, as the application register in the DS2430A is write once, I also can imagine that the first page of the DS2431 is for basic TEDS, only. Pages in the DS2431 can be protected seperately, so this would make sense. The template data would then start in page 2.
Does anybody know how TEDS data shall be stored in a DS2431? Is there an XML file for the DS2431 (family code 2Dh) as described in annex E of IEEE 1451.4?

Any help is appreciated!

Thomas

0 Kudos
Message 14 of 20
(5,412 Views)
I don't know a lot of specifics about how IEEE 1451.4-2004 and DS2431 fit together, but as far as differences between the DS2430A and the DS2431, this link may be of some help to you if you haven't already seen it:
 
Regards,

James R.
National Instruments
0 Kudos
Message 15 of 20
(5,394 Views)

Raajit,

I am sorry that I did not mention my customer's detail so much.
He wants to communicate with a DS2341 through a DAQmx board (NI 9233).
Error-200742 occurs at DAQmx write TEDS Data.vi of EXAMPLE  Create and Write TEDS to EEPROM (serial).vi.
But the vi  worked to DS2340A.
My question is that whether the vi can pass data to a DS2431 through a DAQ device.
There is a possibility that a DAQ device can be used only to a DS2340A.

Thank you

Tomohide Tsukasaki NIJ

0 Kudos
Message 16 of 20
(5,221 Views)

I mistakenly wrote a wrong message. Please ignore the above message.

0 Kudos
Message 17 of 20
(5,213 Views)

Does anyone know where TEDS data (basic TEDS and template info) are stored in the DS2431 part? 

 

(This is same question asked in 2007 by Thomas (member thbr), that I do not see answered):

 

  • The DS2430A has a 8-byte application register which is used for the 64bits basic TEDS.
  • The DS2431 has 4 pages of 256bits.  Where is the basic TEDS stored and where is the template info stored?
  •  

    Is there an XML file for the DS2431 (family code 2Dh) as described in annex E of IEEE 1451.4? 

     

    Is there any other specification that describes where in memory the basic TEDS and template TEDS are stored in DS2431? 

     

    Any help would be greatly appreciated.

     

    thanks,

    John

     

    0 Kudos
    Message 18 of 20
    (4,550 Views)

    Hi... Anybody knows the solution to read the memory by using the vi that NI provide to us?

    We can write but it cannot be read.

    I saw the the data appear as xFF times 32 for each bank.

    But when i try to read the memory by using onewireviewer.exe app provided by maxim, i saw the data in there. See as below.

    EEPROM.png

    Please advise....any help is appreciated...

     

     

     

     

    0 Kudos
    Message 19 of 20
    (4,048 Views)

    Hey C@E,

     

    The information that is published about the TEDS format can be found here:

     

    http://standards.ieee.org/develop/regauth/tut/teds.pdf

     

    If this does not provide sufficient information, then it would be best to make a new forum post. It would be best to put this is a forum like multifunction DAQ or which ever method you are getting the data. This is the LabVIEW forum and focuses mostly on LabVIEW related questions. Also, this post is a few year old. Creating a new post will most likely see more traffic. 

     

    Best Regards,

     

    -KP

    Kurt P
    Automated Test Software R&D
    0 Kudos
    Message 20 of 20
    (4,032 Views)