LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

read and write to eeprom ds2431

I use cDAQ9181 and NI-9237
I have 10-position connector. Positions A, B, D, E are for my PR-Accelerometer. Positions C, J, G, K are for my strain gauge.
Position F is to pin T0+ of the NI-9237, and position H is to pin T- of NI-9237.
Position F is soldered to Pin 2 of Eeprom (1-wire data)

Position H is soldered to Pin 1 of Eeprom (GND)
Pin 3 of Eeprom is trimmed off.


I use "DAQmx Write TEDS data.VI", wiring in a bitstream of 32 bytes (bytes 0-7: Strain Serial #, bytes 8-15: Strain Calibration, bytes 16-23: A #, bytes 24-31: A Cal) to AcivePhysicalChans="...Mod1/ai0". However, there is error -200709.
Is this because my DS2431 is bad? or because I don't know how to write data to this blank eeprom?
Please help.

0 Kudos
Message 1 of 2
(94 Views)

never-mind. I figured out. I installed NI CompactRIO Download

then used built-in functionngthai_0-1767565180126.png

ngthai_1-1767565238032.png

 

 

0 Kudos
Message 2 of 2
(70 Views)