10-15-2008 09:13 AM
Sorry if this isn't in the correct board.
I am using the NI USB-8451 to do I2C communication to talk to multiple devices. I would like to put some functionality into my program to build up a list of devices that are connected on the bus. It will attempt to communicate all 112 available addresses. I tried testing this out by connecting the USB-8451 to no device and communicating to address 10. It took about 5 seconds for the USB-8451 to timeout. So it would take a lengthy amount of time to do this to all 112 address. So my questions are:
Is there a way to shorten the length of the timeout?
Is there a better way of doing this?
Solved! Go to Solution.
10-16-2008 01:32 PM
Hi,
Unfortunately, this functionality is not currently available with our I2C driver. I have already put in a product suggestion for this. If you would also like to do this, I would encourage you to visit our Product Suggestion Center. I'm sorry that this isn't possible, but I can assure you that all product suggestions are seriously considered. Have a great day!
Regards,
Todd V.
11-05-2008 01:12 PM - edited 11-05-2008 01:12 PM
Hello,
Although the timeout value is not adjustable, I was able to query all 112 address using the script API pretty rapidly. Here is the VI I used. Let me know if it helps.
Have a great day!
11-05-2008 01:19 PM
Hi,
I have attached another VI that should help you. Please let me know how this VI works for you. Have a great day!
Regards,
Todd V.
11-05-2008 01:45 PM
Hi,
I apologize for the duplicate post. The VI I attached is the same one that was previously attached. I worked together with the Applications Engineer that posted the VI, and we both posted it. I apologize again.
Thanks,
Todd V.
11-05-2008 02:30 PM