04-12-2018 03:00 AM - edited 04-12-2018 03:08 AM
Hello!!
Yes this is an old thread. But I wish to shared a superb TMEX labview library for free.
I am facing one issue in LabVIEW 2017 64 bit. the TMEX scratch pad write read and copy seems to not work. I have tried with 3 different memory IC without success. I have based my tools on the one that you published. If you have any more help on that matter (experience the 64 bit.dll) please let me know.
Everyone will benefit from that library. (low lever API call as well as simple high level cal + demo)
All this with beautiful LabVIEW code.
I'll add the CRC function after I'll make the basic one working.
Please help!!
Benoit
05-23-2018 12:56 AM
Hi,
I am new to 1-wire devices and TMEX. I am using DS1985 (Alternate Name - DS2505) device and DS9097U_DS948X Adapter. I am looking to program the EEPROM memory using LabVIEW.
I went through the older discussions in this thread and found that to communicate with one wire device I should start a session first. I used a code uploaded in the same thread and it is returning an error that "1-wire network does not exist". But when I use the OneWireViewer Software, I am able to detect the device. Could someone please explain me on why I am getting that error and if I am missing anything to start the session.
Regards,
Nizar
05-29-2018 03:53 AM
Anyone have idea about the problem faced by MohdNizar.. He is able to start communication with USB adapter but not able to identify the EEPROM connected with the Adapter. Please help some one already having knowledge on this.
05-29-2018 08:09 PM
Give me one more week.
I'll post the 1-wire driver.....
05-31-2018 04:06 AM
Thank you for responding.
I will wait for one more week.
06-01-2018 04:24 AM
Your dream will come true today my friend. go to this link:
06-03-2018 11:52 PM
Thanks Benoit...Its a great work....you created it awesome..
One doubt, calling convention for the call library function should be "stdcall (WINAPI)"?? Its working for me if the calling convention is "stdcall (WINAPI)" and giving error if it is "C".
06-04-2018 07:52 AM
the .dll is in c.
06-04-2018 10:10 AM
Hi Benoit,
Thanks for the one-wire driver. I am able to connect to the device with the VIs you have provided by calling the dll as stdcall. However, I having trouble in writing and reading from the memory.
Any advice on how to proceed will really help us out.
06-04-2018 11:26 PM
Hello dear Canadian fellow,
You might experience some difficulty to do the memory read and write with the device you are using.
first step is to master the documentation.
According to the documentation, you have AA F0 A5 to access the memory address/status.
some memory has timing that are not documented. I found it on the S28EC20. The support from maxim integrated help me on that one.
I suggest you to read at least 5 times the documentation especially if you are not familiar with the 1-wire communication.
The Vi high level for memory access might not work in your situation. I never try the device you are playing with. Since I do not have this device on hand, I cannot create the driver.