08-21-2009 08:58 AM
Hi,
I'm having problems to identify TEDS sensors using my DAQ. The aquisition plataform is NI cDAQ-9172 and the modules are NI 9233, the TEDS EEPROM is DS2430A from Dallas Semiconductor/MAXIM.
I connect the EEPROM in one input channel using Class I template (Two-Wire Interface for IEPE Sensors) and try to identify then using the "Scan for HW TEDS" option in the NI Measurement and Automation Explorer but i get "Error -200741 occurred at Configure TEDS" mensage.
Someone know why it happens?
Tanks
João Paulo
08-21-2009 11:32 AM - edited 08-21-2009 11:33 AM
Hi João,
What version of DAQmx are you using? There was a bug in versions of DAQmx prior to 9.0 where TEDS could potentially be read improperly for modules in a cDAQ-9172 chassis. If you are using an earlier version, you might consider upgrading.
Class I is the proper configuration for the NI 9233.
The description for error -200741 is "A TEDS sensor not supported by DAQmx is connected to the specified physical channel.". This means the driver is properly detecting the presence of the DS2430A and is able to read the contents of the EEPROM but cannot correctly parse the data. What template are you using for the TEDS data? Did you write it yourself or is it from a sensor manufacturer? If you wrote it yourself, did you write the ID byte to the PROM? Did you use DAQmx to write it?
08-21-2009 03:34 PM
08-21-2009 03:47 PM
Let me know if the upgrade to DAQmx 9.0 helps.
My guess is that the data isn't correctly written to the EEPROM given that when you read it back using the adapter you don't read what you expect. Have you tried writing the TEDS data through the DAQmx API? In LabVIEW you can use "DAQmx Write TEDS Data.vi", in C DAQmxWriteToTEDSFromFile, etc.
A scan for TEDS will only work if the TEDS data is properly written to the EEPROM. You don't need TEDS configured to use the DAQmx write TEDS commands--they will detect the presence of your EEPROM. If the write was successful the TEDS data should show up properly configured for your channel in MAX.
08-21-2009 04:16 PM
08-24-2009 01:08 PM
Well, I update for DAQmx 9.0 and the error persists.
I'll adding the LabVIEW code i'm using to try read and write the EEPROM.
Tanks for help
João
08-24-2009 01:21 PM
08-24-2009 02:20 PM
08-24-2009 02:45 PM
08-24-2009 03:29 PM
Hi,
About the size of EEPROM you are right, the data are to large for it. But the conection is right, I checked in the datasheet and is right. Anyway, I tryed flip the conection and the error with DAQ realy changes. But with the serial adapter, that gave no error before, a error "No presence pulse" showed up.
So, there is a way to test DAQ with this EEPROM? I looked the others templates from the code I sent, but none gave a virtual TEDS with less than 256 bytes.
Tanks for help
João