Benoit Posted June 1, 2018 Report Posted June 1, 2018 View File 1-Wire.zip This tool-set gives access to all the 1-wire TMEX functionality. I was able to access 1-wire memory with this library. It has all the basic VI to allow communication with any 1-wire device on the market. It needs to be used in a project so the selection of the .dll 64 bit or 32 bit is done automatically. It works with the usb and the serial 1-wire adapter. Submitter Benoit Submitted 06/01/2018 Category Hardware LabVIEW Version 1 Quote
Moes Posted October 23, 2018 Report Posted October 23, 2018 So using some of those cheap FT232RL (USB-UART converter) and DS2480B Dallas-Maxim (RS232-One Wire converter) is enought to read onewire storage devices Quote
Benoit Posted October 24, 2018 Author Report Posted October 24, 2018 This library was tested only with DS9097E, DS1410E, DS9097U, DS9480, DS9490R and DS9490B. Any other deviceshould work if they can work with the TMEX.dll provided by Maxim integrated. 1 Quote
zyh7148 Posted April 28, 2019 Report Posted April 28, 2019 Is it needed to install the win7 driver of DS9490B adapter? Quote
Benoit Posted June 4, 2019 Author Report Posted June 4, 2019 I never tried it without installation of the driver. in some case it might work like the serial port version. Benoit Quote
Nhizanth Posted July 26, 2019 Report Posted July 26, 2019 Hi Benoit, Thank you for the code. I have PCB with MAXIM IC Max17312 and it uses one wire communication. I have DS9490R one wire adapter and DS9481-37C one wire adapter. Both the adapter can detect the target IC (MAX17312) with their MAXIM software. And I'm trying to communicate through this anyone of the adapters mentioned above. What I did was, 1. Got your code 2.converted to LV2012 3. Since my LV2012 is 32bit, so I selected ibfs32.dll file And I gave the input value for port number and I'm getting error code from call dynamic library as -201. I have few questions 1. will code works for these adapter? 2. If so, Can you tell me what to do for the next step? Thanks Nhizanth Quote
forest74 Posted April 23, 2021 Report Posted April 23, 2021 Howdy, Thanks for posting the code. It is very helpful. I am interested in trying to get the file operations working. Do you have any suggestions? Thanks, Mike Quote
Benoit Posted April 23, 2021 Author Report Posted April 23, 2021 2 minutes ago, forest74 said: Howdy, Thanks for posting the code. It is very helpful. I am interested in trying to get the file operations working. Do you have any suggestions? Thanks, Mike Hello Mike, It's been a while I created this library. I was never a big fan of the file function. So I never used it. I am afraid you will have to do some coding and research. Benoit Quote
gyc Posted August 22, 2021 Report Posted August 22, 2021 Hello Benoit. I get error 1507 when running the demo. What could be wrong with DLL's? (I am using the lvlib from a project) Quote
Benoit Posted August 23, 2021 Author Report Posted August 23, 2021 I don't know what can cause this error. are you sure that the error comes from this library? Use the debug and find from which VI the error is generated. Quote
gyc Posted August 24, 2021 Report Posted August 24, 2021 (edited) Hi. I have 1 temperature sensor (DS18B20) connected to USB - serial COM5. DS9097E is correctly detected by Maxim's software. I modified the config file as follows: [1-Wire] PortType=DS9097E PortType possible values=DS9097E, DS1410E, DS9097U or DS9480, DS9490R or DS9490B PortNumber=5 EnhancedOptions=Not use EnhancedOptions possible values=Not use, SESSION_INFINITE, SESSION_RSRC_RELEASE, SESSION_NO_FORCE_REG_SPD I changed the all the nodes to winapi call mode and the error was gone. Now I have another problem: the "find devices" does not find anything and I have this strange error: Where can I look and what should I look for? Also, I can't seem to find a VI for temperature reading. Is it because there none or because I didn't look carefully enough? PS - Another detail: With program "digitemp.exe" (can find it in https://usbtemp.com/) everything works correctly, so I am sure there is no problem with hardware. Edited August 24, 2021 by gyc Quote
Benoit Posted August 24, 2021 Author Report Posted August 24, 2021 Sorry, I do not have any 1-Wire on hand right now. I can't reproduce what you are explaining to me. The only thing I know, is that last time I used it, it was on a windows 10 PC x64 and x32. I was working like a charm... Quote
SergioPe Posted February 24, 2022 Report Posted February 24, 2022 Hello. Is there a version for LabView 2016? It would be really helpfull. Thanks 1 Quote
soulaab52 Posted November 20, 2023 Report Posted November 20, 2023 Hello , Did you find a version for LabVIEW 2016 ? Please ! Quote
Dotcore Posted May 13, 2024 Report Posted May 13, 2024 Has anyone found the solution to @gyc problem? I have a similar problem. I modified the config file as follows: [1-Wire] PortType=DS9490R PortType possible values=DS9097E, DS1410E, DS9097U or DS9480, DS9490R or DS9490B PortNumber=1 EnhancedOptions=Not use EnhancedOptions possible values=Not use, SESSION_INFINITE, SESSION_RSRC_RELEASE, SESSION_NO_FORCE_REG_SPD At the end, I would like to be able to read the volts from a sample via a DS28E17. Is this even possible with this? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.