USB 8451: Is the timeout controllable when doing a I2CREAD I2CWRITE?

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.

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!
Message Edited by O_Proulx on 11-05-2008 01:12 PM
O. Proulx
National Instruments
www.ni.com/support
Attachments:
Query all addess LV86.vi ‏20 KB
Query all addess LV85.vi ‏25 KB

Similar Messages

  • My phone crashed and has an icon showing a usb cable and the itunes emblem. when I connect to itunes it does not recognize my phone and treats it as just iphone. when I try to restore about 9 to 10 minutes into the restore the phone turns off and then on

    My phone crashed and has an icon showing a usb cable and the itunes emblem. when I connect to itunes it does not recognize my phone and treats it as just iphone. when I try to restore about 9 to 10 minutes into the restore the phone turns off and then on and then loses the connection with itunes and at the end of the download it just asks me to restore it again.

    Be prepared to lose everything on your iPhone but it should be backed up in iTunes so you can restore from your backup.
    Try Recovery Mode... http://support.apple.com/kb/HT1808

  • EAP Response frame is not always forwarded to the Radius Server when doing Full Authentications.

    We have seen issues with a Cisco 5500 and 2405 WLAN controller with older and the latest controller firmware(8.x) of not forwarding the first EAP Response frame to the radius server on 802.1x WLAN devices doing full authentications. The first EAP Response frame from the WLAN client is supposed to be forwarded to the Radius server but a Wireshark trace shows that frame is never sent by the WLAN controller. The WLAN controller does ack the first EAP Response frame but the EAP response frame when the problem occurs always seems to be a retried packet.   I do have all RRM and AP scanning turned off. This is an intermittent issue and only occurs on devices doing full authentications and does occur on multiple vendors products. This produces a 18-20 second drop-off until the station recovers by sending an EAP-Start frame and then it associates properly. Since the first EAP Response frame is never forwarded to the Radius server and the EAP Response frame is being ack’d on the retried packet, this seems to be a WLAN controller issues but I’m looking at all possibilities. Does anyone have any thoughts?
    I attached a wireless and wired trace of the issue. See the Readme.txt file in the attachment for specific information.
    Thanks in advance.

    Do you have a packet capture to see this ? If so pls attach it
    Rasika

  • New software for the 5508 controller -when?

    Hi,
    Anyone have a clue when the new software for the 5508 controller is going to be released?

    I hope they have resolved the bug CSCte01087 present in software 6.0.188.0. since my 1252 can't associate to the controller i had to downgrade to 6.0.182.0.

  • Controlling the timeout period when synchonizing with cluster

    I see a message when my server starts up:
              "Waiting to synchronize with other running members of MyCluster."
              When the other servers in the cluster aren't up, the server waits to time out before continuing with startup (default 30 seconds or so?). Is there a way to control the timeout period?
              Thanks,
              Jim

    This can be specified in the console under:
              Environment -> Clusters -> "MyCluster"
              You have to click the "Advanced" link to get access to the advanced cluster settings. The name of the property is: "Member Warmup Timeout".
              If you would like to change it programatically, the relevant MBean attribute is : "ClusterMBean.MemberWarmupTimeSeconds"

  • In the pipeline service, when does call adapter mean

    In the pipeline service, when the call adapter step execute, will it call the XI adapter or the outbound adapter

    Hi,
    It calls the outbound adapter.
    So if your receiver SAP system using proxy/RFC adapter is down, you get a Call Adapter error in SXMB_MONI.
    Regards,
    Puloma.

  • Why do we change the user group when doing LSMW?

    Hi experts,
    I just wanted to know why do we change the user group Tcode SU3 when we are doing upload of data using LSMW?
    Thanks,
    JEss.

    As Rajesh suggested if you are uploading data for action in which infotype group is based on User Group then you need to change User group.
    Otherwise there is no need to change user group for using LSMW.
    Rgds,
    Lata

  • How to achieve the best quality when doing a narration?

    Hello,
    I'm trying to figure out how to achieve the best possible narration in a documentary I'm doing using the FCP voice over tool, a USB mic, and Final Cut Studio's audio filters. Am I on the right track? How do I clean up an average voice over narration? Do I need additional equipment? Any advice would be appreciated.
    Thanks,
    Jordan

    The best thing you can do is to record it properly in the first place - if you want it to sound good. The environment you record in is VERY important as is the choice of mic you use ... most of the consumer USB mics aren't all that great in terms of quality.
    Record in an acoustically flat room with good sound dampening. Even a clothes closet will do in a pinch. Record through a mixer so you can monitor the VO artist as they record. I've found it better to record to tape (camera or VTR) with a pro mic than to use FCP's voice over tool.
    -DH

  • HT1386 Syncing iPhone USB to laptop  the backup keeps running does not complete ?

    Trying to sync iPhone 5 to laptop USB connection the sync starts and the backup phase runs and runs for over an hour now still going never had this problem before ???

    Hello, Coyote179.
    Thank you for the question.  You may find this article helpful in troubleshooting your backup issue. 
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Cheers,
    Jason H. 

  • My iphone 4 isn not responding the screen is just showing a usb lead and the itunes symbol. When i plug it into my desktop mac and link it to itunes ,itunes is telling me the phone is in a restore mode .can i get it to respond without restoring ?

    my iphone 4 is not responding the screen is just showing a usb lead and the itunes symbol. when i plug it into my desktop mac and try to sync it to itunes ,itunes is telling me the phone is in a restore mode. How do i get it to respond without restoring the phone to new ? there is no option to restore with backup as i have not backed up any of the data on the phone any help would be greatly appreciated thanks

    http://support.apple.com/kb/HT1808
    You can't  not restore if you have reached this point

  • When does the Image Processor perform actions?

    Let's say I use the image processor to convert a bunch of .psd files into JPEGs while also using the resize to fit (and convert to sRGB) option. I also want it to run an action which sharpens the image. When does that action/sharpening happen? Before or after the resize?
    Can it be that this behavior was changed in CS5 (compared to CS3)?

    I would appear that the srgb-conversion, the resizing and the Action are applied in this order.
    See lines 1584 to 1592 of »Image Processor.jsx«.
    If you wanted to change the sequence you could edit the Script (after making a backup of it in another location, duplicating the Script in the Scripts-folder would seem inadvisable).

  • What are the risks when doing a Delete / Re-load of Data in InfoCube?

    Hi,
    What are the risks/issues when doing a complete Delete / Re-load of Data in InfoCube?
    Rgds,
    Mark.

    We are introducing a new Key Figure to the InfoCube and this KF needs historical data.
    The only way I thought this could be achieved was by deleting the data from the InfoCube and re-loading it (It gets loaded from R/3 with no ODS used).
    Is this the only way or are there other options in a BW 3.5 environment?

  • When does my music go into the hard drive?

    When I download my music and send it to ITunes, it automatically goes into the hard drive? I had another hard drive installed just for the IPod. When does the music get saved into the hard drive? When I send it to ITunes or when I send to the IPod from ITunes?
    Thanks

    If you downloaded music from a music service, its automatically on your hard drive, you just need to point your music programs to the location of your music file.
    If you've imported music to iTunes and have iTunes organize the files, iTunes will organize the files in the iTunes music folder.
    If you installed a separate drive for music, then you need to point iTunes to the location of that drive. You do this by going to the preferences option and clicking on the advanced tab, there you can set the drive that iTunes will store and search for music.

  • I get unexpectedly logged out from my mail box and and recieve the following message: "The custom error module does not recognize this error."

    I am repeatedly and unexpectedly logged-out from my mail box when working on a document. It frequently happens when I choose Send or Save, but it could happen any time. The file that I worked on disappears completely. Before, the file could be found in the draft box or some other place categorized as Auto Recovery. Now, instead, I get the following message: "The custom error module does not recognize this error." I am working at home, connected to a university server. The same problem appears with both of my computers, which are connected by a router. I have a MacBook Pro and am working with Firefox 6.0.2. I have a wireless broadband connection with Internet. AirPort is connected to Lindstrom and has IP address 192.168.0.198. Router: D-Link Model DIR-635. Modem: ZyXEL Model No. 660H D Triple Play Modem.
    Best wishes,
    Lars Lindström, Professor
    <[email protected]>

    Hi Phil,
    Generally, when a user sends an incoming request to an Exchange 2010 Client Access server using Outlook Web App and the user’s mailbox is on an Exchange 2010 mailbox in a different Active Directory site,
    Exchange 2010 determines whether the Client Access server has the
    ExternalURL property set in that Active Directory site. If it is and the cross-site silent redirection has been enabled, the user will be automatically redirected to the specified URL.
    Thus, please make sure the External URL property is set properly in your environment. And also
    disable the WindowsAuthentication for OWA VD to have a try. If the issue persists, please try the following KB to reset the Outlook Web Access-related virtual directories:
    http://support.microsoft.com/kb/941201
    Thanks,
    Winnie Liang
    TechNet Community Support
    Sorry for the late reply.  Yes, the ExternalURL is set; otherwise, it wouldn't work at all.  98% of the time everything is fine.
    My issue described a problem that appears only during session timeouts.  I've pretty much verified that this is the case; Exchange 2010 does not appropriately handle the timeouts sometimes when using cross-site redirection.

  • USB-8451 SPI Read/Write MOSI

    I have a USB-8451 that I am using for SPI communications. The USB-8451 is the master device, and I have no problem sending and recieving data. The problem is that I cannot send what I want to with the USB-8451. When I execute a read command for 16 bit data, the USB-8451 sends 0x0300. I need to send certain commands over SPI in order to get the correct response; ie - send 0x1000, 0x2000, 0x3000, etc. I have not found a way to do this, and it is very critical that I am able to for this project to work correctly. Any suggestions?  

    Hello Johu,
    The SPI Read Write vi has a data write input which takes in an array of bytes.  If you want to ONLY read 16 bit, you have to put an array of 2 bytes which are 0.  Since SPI is a full duplex protocol, it will send 0x00 0x00 and receive 16 bits at the same time.  
    Usually, you send a command before reading.  So, you would send a total of three bytes, the first one being your command.  The first byte returned would not contain any data, since your device is reading the command.  The 2 last bytes would contain your data.  So:
    Bytes Sent         Bytes Read
    CMD                           0 (or should be 0)
    0                                 Data1
    0                                 Data2
    You can download these test panels and try to using them to send your commands and read your data.  
    Please let me know if any of this is not clear or if you need more help with this.  Have a great day.   
    O. Proulx
    National Instruments
    www.ni.com/support

Maybe you are looking for

  • How to restore a backup from 32G device to 16G iphone

    I lost my iphone5 few days a go, and then I bought a new 5s. But I didn't remember which capacity I used for my iphone5. I thought it was 16, then I bought 5s in 16G. When I got home, I tried to restore my 5s with the backup from my lost phone on iTu

  • Sourced Based VRFs and IPSEC

    Hi All, I have 2 questions. 1) Does Cisco Router 7600 with SUP720 3BXL supports VRF Selection based on Source IP Address [Layer 3 VPNs]? 2) We have various clients reaching a Router and we want to forward them to a their company's VRFs, based on thei

  • Multiple Domains in One machine

    Hi All, I created 3 Weblogic domains in the samle machine ,each on on a diffrent port 7001,7002 an 7003. For the time being I m starting each domain server by his own start script .My question is is there any out of the box functionality in Weblogic

  • Business Rules Import Issue

    Hi, I met some problems in business rules import. 1. The buisness rules import cannot be overwritten, everytime when I deployed a rule to a new environment, I need to delete the old one first. Can I do some setting to enable overwriting? 2. When the

  • Formating Columns in Sql Developer Reports

    Hi, I've developed some reports, and they work, but I'd like to be able to control the width of the columns At first, I tried the Sql*Plus style formatting in the columns tab (a20), but then saw this in the help file: "Format: Format of the column. I