LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB 6229 to communicate with 1 wire EEPROM

I have NI USB 6229 and am trying to communicate with a 1 wire EEPROM DS2433 chip through digital I/O with (hardware timing) with LabVIEW 7.1. I am struggling to read serial no. as well as reading/writing certain values which I have received through different analogue I/Os. Can anyone help me on this?
0 Kudos
Message 1 of 5
(3,183 Views)
What exactly are you having problems with? Generating the pulse stream, or understanding the spec, or both?
0 Kudos
Message 2 of 5
(3,148 Views)
If I want to read from the ID chip, I have to take the single wire line to low for 50u seconds and have to read from the same line after 5uSeconds, How would I synchronise timing between the input and output?
0 Kudos
Message 3 of 5
(3,143 Views)

Hi

Do you need to do this on the same DIO line? If you do, then it is not going to be possible to do this with the timing that you require. You will need to start, run and stop a digital write task, then start run and stop a digital read task. This will rely on software, so will not run to the accurate timing that you require.

One thing you could do is to read the data on a separate line to the one you write to. You can then look back through the data to find the correct section. Again I am not sure how accurate this will be as you require very precise timing.

Do you know the speed of the data that will be transmitted back to the USB 6229?

Regards

Beejal S
NI UK & Ireland
0 Kudos
Message 4 of 5
(3,117 Views)
Hi Beejal,
 
Thank you for your reply. I am using different line for reading the input from the EEPROM as you have suggested.
 
Once I write, the EEPROM will send signal back in 5uSeconds (100KHz). How would I manage timing between the two?
 
Mayur
0 Kudos
Message 5 of 5
(3,107 Views)