LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for: cvi 1-wire USB drivers

Currently we are using the serial port 1-wire device for device ID's.   One next generation of equipment wants to communicate with 1-wire devices thru the Dallas/Maxim USB device adapter. Would any one have and code examples to speak to 1-wire devices.
 
Thanks  in advance. 
0 Kudos
Message 1 of 6
(3,966 Views)
Hey old vax guy,
I looked into the Dallas/Maxim 1-wire serial communication protocol. As of yet, there are no NI examples that support this interface. You had mentioned that you were using the USB device adapter, does this adapter support regular USB communication. If it does, then we can use VISA examples. Maybe if you gave more information about what you planned to do, or more specifics on this USB adapter, we can get you something

Thank You,
Can Wong
0 Kudos
Message 2 of 6
(3,941 Views)
What we now do is to take the one wire adapter with a serial number in it and extend a rs232 cable from the computers serial port to a  dbconnector on the back of our test equipment.   On the inside of the test equipment we place the 1-wire adapter with Serial ID and a temperature sensor.   This way we can get the serial number of the test station and log in to the final test report for the customer. During testing we read the temp sensor and record the temps as part of the test procedure.   
 
We need to do due the same  with the USB adapter.  We know the part number of the USB adapter. When it was plugged into the PC it wanted a driver. So there is the rub.  RS232 you can use the Com port functions.  USB ??? now we need help on that.
 
It gets a bit convoluted in that the top level app is in Teststand which calls CVI function to perfrom various tests.  So we need to stay in the NI software world.  
 
 
 
 
 
0 Kudos
Message 3 of 6
(3,943 Views)

For the USB adapter you need to install the Maxim 1-wire USB drivers and access them through the TMEX API.

There's a Maxim white paper about the drivers here, and the drivers themselves can be downloaded from here.

--
Martin
Certified CVI Developer
0 Kudos
Message 4 of 6
(3,919 Views)
Thank-you Msaxon!  I found the drivers but could not sort out how to tie all the pieces together.  I think the APP note is the missing piece.
Thanks again.
0 Kudos
Message 5 of 6
(3,895 Views)
From what Msaxon says, it seems that you have to use the Timex API. I'm not familiar with this item,  but there may be more information on maxim's website

Can Wong
0 Kudos
Message 6 of 6
(3,854 Views)