How do I count parts with a fiber optic sensor using the NI-1772 and VBAI 2011?

I'm inspecting parts using the NI-1772.  Just after the camera, bad parts are ejected when they pass by a fiberoptic sensor.  I want to use another sensor after that to verify the number of good parts, so that I can be sure the bad parts have been ejected? 
I've tried using the READ/WRITE I/O step to read falling edges in sequence with a calculator step to increment the counts for each inspection iteration.  I get a few counts at start up, and then the counts stop.  It's as if the inspection has looped back to the Acquire Image step before or after the cap is present at the sensor.  
Once this is figured out, I want to reset the count when a preset is reached.  
Thanks,
Rob

Hi Brad,
It seems that the ISO Input is reading all of the falling and rising edges based on the LED, and that the Read/Write I/O step counts all of the falling edges when in configuration mode.  I believe the signal stays low for about 10ms. (It might be important to clarify that I'm not using the camera trigger input for this.  It is a subsequent sensor downstream of the camera.)  I've attempted to attach a section of my inspection. 
Thanks,
Rob
Attachments:
Section of RS38_3JAN13.vbai ‏96 KB

Similar Messages

  • How do i go about linking 2 laptops 3 ipads using the same itunes and to stream all films and music

    how do i go about linking 2 laptops, 3 ipads using the same itunes and to stream all films and music through the house.

    make sure they are all using the same itunes store account and turn on home sharing
    http://support.apple.com/kb/HT3819 - more info about home sharing
    -mvimp

  • How do I change it so two phones aren't using the same username and password?

    Hubby and 17 y/o son are using the same user name and password for their iphones.  Does anyone know how to change the ID and PW on one phone so it will be separated from the other?

    You mean the itunes account?  The manual will tell you how to sign out and into another account.
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • I have an HP TouchSmart laptop, which comes with a fingerprint reader that uses the DigitalPersona extension, and this extension is no longer compatible with the new Firefox. Is this going to be fixed?

    I have checked the Add-ons manager and the website for information about this problem, but there is no new information. It just says that this extension is not supported.

    Hello e6ssggladu,
    I'm sorry to hear that you are having issues with the sound, as well as the mute button on your computer. I would like to confirm the steps that you have taken for the refreshed your computer, rolled back, and rebooted. What steps did you take to perform these tasks?
    Also, so that I am able to provide specific steps for your computer. I would like to know, the full model number of your computer. I have included the following document, 'Guide to finding your model number'.
    Thank you.
    I worked on behalf of HP

  • How can I count time with labview7?

    Hi
    How can I count time with labview 7 and NI-DAQmx like I did with labview 6.1 and "count time-easy.vi" (count event or Time.vi).
    I have a 6025E and labview 7.0
    Thanks

    I am not sure what you want to do or why..
    ... but here goes (some suggestions)
    If you want to count the time between two events, you have a choice, you may use the Tick Count. Inisitalize it first by getting a timestamp and then do a difference within a loop. The difference will give you the time elapsed in ms.
    You can also use the Get Date/Time String or Get Date / Time in seconds and once again take a snapshot when a first even occurs and another snapshot at the next even (at a point where you want to measure elasped time). This method is particularly useful if you want to timestamp an event.
    If I didn't answer your question, can you elaborate what you mean by "How can I count time".
    Best of luck..
    JLV

  • I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files)

    I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files

    You get exclamation marks or dead tracks because  iTunes can’t find the file. This can happen for a number of reasons:
    The song file or a folder in its path was renamed
    The song file or the folder it is in has been moved
    The song file has been deleted
    The device containing the song files e.g. external drive is not accessible or the drive letter has changed.
    If you use an external drive, a change in drive letter is a common cause and you need to change it back.
    AS a way of working out what has happened, right click on a track and select the summary tab (you will have to go past an error message). The summary tab will tell you where iTunes thinks the track is located. How does that compare with where the track actually is?
    The xml library file is not used by iTunes, it is created to allow other programs to access the library. You can recreate the iTl file from the xml file, but there is no point if the location of the files is wrong.
    There is a simple way of getting you music back in iTunes, but it loses all playlists counts and rating. To do this drag iTunes library.itl and iTunes Library.xml to your desktop. Then open iTunes and an empty library is created. Add you iTunes Media folder to it.
    If you can't work out what went wrong and how to fix it, you may have to do this.

  • How difficult/costly is it to install fiber optic cables?

    I live in an area that has no underground cables, or fiber optic cables and I've lived with this 1.5 MB DSL connection for about 4 years now.  Yeah, it sucks.  I was curious as to what is the biggest factor when it comes to installing fiber optic cables in an area and how a company determines as to where they are going to be located.  Thanks in advance.

    Installing fiber optic cables is not just a "how hard is it?" question.    yes, the business considerations do take into consideration the physical issues (how hard it may be [above ground and below ground]), but there is more:   Can the company get City\county\state PERMITS to do so?  What engineering problems are there? (mountains, existing drainage or other water culverts, etc.?)  and then there is also the business consideration of 'how much uptake will be realized if we install the fiber cable?' (how many users in the neighborhood?)
    fiber optic technology (to the premises) is here and will not go away (more like CAN NOT go away), however, until the economy picks back up, it may be cheaper for more people to see how much more can be squeezed out of the existing technologies (DSL & cable) before they want to switch to what may cost more for them.  SO, in your area, the company may not be able to get the permits, maybe just not yet, who knows?   They may also not see customer uptake in your area, yet.  
    You may not be aware, but Verizon has recently sold-off whole states and partial states-worth of fiber-to-the-premises accounts, in what could have been Business decisions based on profit for stock holders.   -If their investments to install it will not be recouperated within the time limit required by their stock holders, it may not be installed for a while.
    .02
    cjacobs001

  • I have an iTunes account with a $25.00 credit but everytime I go to purchase a song, it goes to my credit card details. How do I use the iTunes credit and not the credit card?

    I have an iTunes account with a $25.00 credit but everytime I go to purchase a song, it goes to my credit card details. How do I use the iTunes credit and not the credit card?

    Just to confirm, you are logged into the iTunes Store using the account in which the balance exists, and the balance is showing at the top of the iTunes Store window? And you're not trying to purchase gifts for someone else?

  • HT2486 My address book only displays e-mails. How can I sync it with my i-phone to display the address book the same way as my contacts in my i-phone?

    Currently my address book only displays e-mail addresses. It uses the portion of the address in front of the @ as the name. How can I sync it with my i-phone 4S that has name/numbers and addresses of my contacts?

    Hello there, Seta.
    You are correct that this can be done with iCloud. The following Knowledge Base article provides some great instruction for syncing contacts:
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/ht1296
    Particularly:
    Contacts, Calendars, Bookmarks, and Notes
    You can sync contacts, calendars, bookmarks, and notes with other applications on your computer. This allows you to keep all your information in sync across multiple computers and iOS devices. The settings for these items are all in the Info tab for your iOS device in iTunes. With your iOS device connected to the computer, select your iOS device. Then click the Info tab.
    For details on syncing content on your iOS device with your computer, click the sections below.
    Contacts
    To sync contacts with your computer, choose "Sync Contacts with" within iTunes for Windows, or "Sync Contacts" in OS X v10.8, or "Sync Address Book Contacts" in OS X v10.7 and earlier.
    You can sync your contacts with:
    Microsoft Outlook 2003, Microsoft Outlook 2007, Microsoft Outlook 2010 (Windows XP, Windows Vista, Windows 7, and Windows 8)
    Windows Address Book (Windows XP)
    Windows Contacts (Windows Vista, Windows 7, and Windows 8)
    Address Book (Mac OS X v10.7 and earlier)
    Contacts (Mac OS X v10.8)
    Microsoft Entourage 2004, Microsoft Entourage 2008, or Microsoft Outlook 2011 for Mac
    Notes:
    When syncing contacts, you can choose to sync all of your contacts or only selected groups. The option to sync selected items may not show up until after the first sync.
    You can select a group of contacts to which all new contacts created on your iOS device will be added.
    Additional options for syncing include syncing your contacts with Yahoo or Gmail/Google Mail. You will need to configure it with the user name and password for your Yahoo or Google account.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do I used my iPhone if it is Lock with an Apple ID account of the previous user and i can't longer contact him?

    I bought an Apple Device namely iPhone 4s and this really bother and give me an intimate reason to contact Apple. How do I use the device, if it is Lock with an Apple ID account of the previous user, and everytime I open the phone the screen will show Activate iPhone with the Apple ID link on the Device. The worse thing is that, i couln't contact the seller any longer and the device is seems useless. I can't use it. Please give me some help how to fix this error and vulnerabilities.

    Sorry alvinguibz, but you have encountered an Activation Lock, and unless you can contact the previous owner and have them follow the steps below, you will not be able to use your device:
    Removing Previous Owner from Device
    There is no other way around this.
    Sorry,
    GB

  • How do i find ITunes with windows 8. i went to the website to download itunes and it says thank you for downloading but i can not find it in my computer

    I have gone to itunes and downloaded it for my computer. My computer runs windows 8. the web site tells me thank you for downloading but my computer doesnt not have it nor can i locate it. it didnt even ask for my permission like it does with everything else that i download. Question is how to I get it with windows

    Try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • I''m new to Mac, how do I install Adobe CD? I put it in the CD drive and get a menu, everything I click on goes nowhere. In Microsoft, I installed many programs with no problem

    I''m new to Mac, how do I install Adobe CD? I put it in the CD drive and get a menu, everything I click on goes nowhere. In Microsoft, I installed many programs with no problem

    Is the Adobe CD a MAC app ?
    If it is a program for Windows you will not be able to install it.
    If you nedd that program you can either buy the equivalent for Mac or install a way to run Windows under Mac (may be a cheaper solution)

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Hello,i have a retina with Mountain Lion.I have logic PRO 7 and logic Pro 8 ,with  G5.I can't use the CD with the retina!!It's not a powerpC!!How do i install Logic Studio 8 with Mountain Lion successfully ?too évolution Logic PRO 9?

    Hello,i have a retina with Mountain Lion.I have logic PRO 7 and logic Pro 8 ,with  G5.I can't use the CD with the retina!!It's not a powerpC!!How do i install Logic Studio 8 with Mountain Lion successfully ?too évolution Logic PRO 9?

    The installer for Logic Pro 8 has a bug which keeps it from operating in Lion or Mt. Lion.  Use the program Pacifist to install it.

  • My iPhone is requesting to sync with icloud, but it is using on old ID and password. How do I delete the old ID and password?

    My iPhone is requesting to sync with icloud, but it is using on old ID and password. How do I delete the old ID and password?

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

Maybe you are looking for

  • Using external hd on OSX and XP

    I know there are posts about switching between a Macbook and desktop pc, but I was wondering if I would have to reformat my current external hd to switch between OSX and XP on my Macbook, so I can backup documents on XP without making discs? Or will

  • IPhone 3GS Wont Start

    So.... I live in England, I recently visit Ireland where I turned on my iPhone. It wouldnt connect to a mobile network whilst I was in Ireland and even showed a message saying, IMEI not recognised. So, I get back to England tuen on my phone and it wo

  • Regarding Filter in Webi Report which is based on BEx query

    Hi, I am developing Webi report, in which using universe which is baed on BEx query. Suppose BEx query contains filter on fiscal year 2010. And I am developing Webi report on that query. So I want to know, whether my Web i report output will contain

  • SharePoint Online - "Unable to connect to remote server"

    Hi, I have a Provider Hosted App which gets the data from a different site collection. Now, when i try to connect to a different site collection, the TokenHelper class gives me an error -  "Unable to connect to remote server".  The error is thrown in

  • Lightroom5 Serial Number not working - GRRRR!

    Hi, I've recently bought a copy of Lightroom 5, but the serial number I received in the confirmation email to upgrade my copy of the software from a trial package to the real deal does not work. Any tips on how to get a new serial number or make this