Avoid "double" breakpoint occurence

Hi there,
First post so apologies if missing out on any conventions.
I am setting up a vision inspection system with two stages in xy-configuration controlled by PCI-7350. The samples are located in a grid, which can be slightly irregular due to placing inaccuracy. Previously we stopped for image taking, but now we are switching to using breakpoints to take images "on the fly".
In principle, I have got this working with a buffered array of breakpoints (on x-axis) and using arrays for movements that are blended. However, occasionally it happens that images get lost when switching between two rows as two breakpoints are triggered almost simultaneously. How can this be avoided? I have tried changing the "Requested Interval (10 ms)" input on the "configure buffer.VI", but that did not help.
Could I change the deadband or something like this on the stages? Or do I need to rewrite breakpoint positions to the buffer for every new row? Any suggestions would be most welcome.
A second question (perhaps worthy of it's own thread) would be how to handle the movement more efficiently. The image processing will require a lot of processor resources, so I would like to take care of the movement on board. I have tried a little with buffered contouring, but with little success. I have also seen examples on onboard programming, but not yet given that a go. Which way would the experienced user suggest me to go?
Thanks in advance for your helpful input.
/Anders

Hi,
Thanks for your advice SFK.
I now have a safe zone, which helps, but now I ran into a different problem; For some reason my breakpoints do not always occur.
I have attached  the VI (apologies for mess) and some plots for understanding the problem. In this VI I want to blend two axis movement and write breakpoints to a buffer in between every row. It is sort of puzzled together from two different examples; Sequence of Blended Vector Moves.vi and Buffered Contouring (Rose).vi
Going through the letters to help understanding the purposes of the steps:
A - load breakpoints is an array of the number of breakpoints I want to load for every row. Every other item is a 0 as I move between rows. When I define the buffer sizes I used either the sum of all breakpoints to be loaded or the max number for one row (not visible here). My svanning grid is 12 rows with 10 columns, so 10 is the maximum of points.
B - Old Data Stop (True) is set to false as I otherwise run into an error with old data, i.e. some points have not been triggered. This is the problem I need to avoid.
C - A VI that takes the stage to the starting position, which is a now defined 1mm to the left of the starting point. The start and the endpoint of each rows is 7mm outside of the breakpoint positions (spaced by 7 positions, so the safe zone should be there.
D - Here is where the breakpoints are loaded in case the number is >0. The array with remaining breakpoints is passed. The position where the breakpoints are loaded is added to the plot of the stage movement.
E - Adds where the breakpoints occurs to the plot.
In the attached plots my problem can be seen. The movement starts low left. What is also very puzzling to me is why this pattern looks different depending on how I define the buffersize.
Any help is greatly appreciated.
Thanks,
anders
Attachments:
blend breakpoints vi.JPG ‏211 KB
breakpoints buffersize 10 elements.JPG ‏39 KB
blend breakpoints vi.JPG ‏211 KB

Similar Messages

  • How to lock WBS lement in a program or user to avoid double posting in FBS1

    Hi Experts,
    I have an issue, i need to lock WBS element to a report or user to avoid double posting if other user is also running the same report.
    Hope to hear answers.
    Thanks,

    workaround found.

  • How to avoid double-click to click-box

    Hello,
    until now I did not find a solution for this problem:
    I have created a training course for a specific application, and in this coure are some click boxes on which the user should click. On many click boxes should the user click only once but if he double-click the click box, in real application nothing happens. There is only one way to succes the action - one click. But in captivate when the user double-click the click box instead of one click it evaluate as success action (the click box is set only to one click, double-click checkbox is not checked).
    So my question is, is there any way how to avoid double-click in cases where the user should click only once? Or in case he double-click the click box to show failure caption?
    Many thanks.
    Lukas

    Hi all
    Interesting thread. Unfortunately, what would be needed here is some sort of a widget that would run some internal timer. Sure, you can try multiple Click Boxes and configure one with a Single Click and one with a Double Click. But the problem with that (as I see it) is regardless of what you might try, the Single Click will win out every time. Thus you would need a widget of some sort that would "listen" for a Double Click and respond appropriately.
    Tough call... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML   Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Avoid double submissions

    Hello all,
    In my custom page, to avoid double submissions, i'm using the below code but i can still see my cursor available for double submission. Below is my code. please check.
    //logic to make the submit button disable on a click of the submit button in the page
    OAWebBean body = pageContext.getRootWebBean();
    if(body instanceof OABodyBean)
    ((OABodyBean)body).setBlockOnEverySubmit(true);
    //End of logic to make the submit button disable on a click of the submit button in the page
    Thanks for the help
    KK

    KK,
    I am sure this code in the ProcessRequest starting,
    Have you checked in IE Browser(6 or 7).
    One more way is you have to start the transaction UnitHelper when you start the process, after you commit the trasaction you have to end the helper.
    And you can check the transactionUnit is ended in your PFR.
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    static void      endTransactionUnit(OAPageContext pageContext, String transactionUnitName)
    Ends a transaction unit by removing the transaction-in-progress indicator for the given transaction unit name.
    static boolean      isTransactionUnitInProgress(OAPageContext pageContext, String transactionUnitName, boolean isTransactionParticipant)
    Returns whether a transaction unit is in progress by checking the existence of a transaction-in-progress indicator for the given transaction unit name.
    static void      startTransactionUnit(OAPageContext pageContext, String transactionUnitName)
    Starts a transaction unit by registering a transaction-in-progress indicator for the given transaction unit name.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • How to avoid double extension *jpg.tif when exporting layers to files?

    Please help, I checked all the topics related and it seems nobody bothers about this issue.
    When I do a Photomerge of a series of jpg files, Photoshop builds a multilayered file - but preserves in the name of each layer *.jpg 
    When I want now to export layers to files, the Scripting function will do the dumb thing and export each file with the original name - ending in JPG - , plus the extension required by me - for ex tif.
    It does the same if I chose to export as jpg files and puts double extension again < *.JPG.jpg> at the end of each file exported from a layer.
    I looked everywhere and couldn't find a way to solve this behavior, which forces me to do batch renames in Bridge.
    The next program where I need the files (After Effects) doesn't want to import these files with double extensions.
    Has anyone encountered this issue and what can be done to avoid these double extensions at Scripts/Export layers to files?
    Thanks for the answer

    I have just altered my script so that it will remove the extentions if found.
    http://www.scriptsrus.talktalk.net/Layer%20Saver.htm
    Also it would be better to use :-
    var layerName = activeDocument.activeLayer.name.replace(/\....$/,'');
    As this way it doesn't arbitory remove the last four characters, only if it finds a fullstop.

  • How to avoid doubling data

    Hi experts,
    i loaded a flatfile1 into an ODS and then into an infocube. Again i loaded another flat file2 ( which had the same records as well as few more records as first one) the same way.. when i look at the Infocube, some of the records have double the values. How do i avoid this.. can i go for delta load from ods to infocube..
    all the above loads are fulupdate.
    Also SDNers,
    By full update do we get all the data again if we load from ODS even if we laoded previously.?
    thanks
    Dave
    Message was edited by: Dave Marcus

    If you go as Delta from ODS to Cube, ODS will take care in sending only the changed records and the new records.
    see this link:
    Re: Delta Processing in ODS
    Also see:
    ODS & Delta
    Thanks,
    Raj

  • How to avoid double-counting in Total field

    Hi Gurus,
    I'm new to Essbase.
    Here's a question I don't know how Essbase handle it, my source data stores at relational database, normally one row in the fact table associates with only one row in dimension table, but very common scenario like one fact row can associate with many rows in dimension table, to simplify we have 4 tables:
    1. DimProduct(ProductID, ProductName). there's one row like 1, "Bike"
    2. FactSales(ProductID, Quantity), there's one row like 1, 10
    3. FactSalesReasons(ProductID,ReasonID), there're 2 rows like 1,1 and 1,2 , suppose there're 2 reasons associate with this product sale, that means 1-N relationship between fact and dimension.
    4. DimReason(ReasonID,ReasonName), there're 2 rows like 1,"Quality" and 2, "Promotion"
    I expect the report as follows:
    ProductName ReasonName Quantity
    Bike Quality 10
    Promotion 10
    Total 10
    But while built cube, I got the value 20 of Total. I know Microsoft SSAS has a many-many dimension usage can avoid this double counting issue (no need to write extra calculation script), can Essbase do similar way?
    Thanks!
    Xiao

    What I would recommend in this case would be in a calc script. I would guess that this dimension is sparse which usually has a low calculation priority (calcs first and may get overwritten). So, at least for a first pass at a calculation...
    ========
    SET UPDATECALC OFF;
    Calc All;
    "Total Reason" = @AVG(SKIPNONE,@CHILDREN("Total Reason"));
    ========
    SKIP options are "none", "missing", "zero" or "both".
    This will calculate for all accounts.

  • Avoid double login for BSP iView

    Hello,
    I have installed a Netweaver 2004s Application Server + Portal. The user data source for the Portal is the ABAP System. I have created a portal page that contains a BSP iView. This BSP is created in the Application Server, and the portal page is assigned to a role.
    When I access the portal with a user with that role, I have to log in, but for seeing the content of the BSP there is a second login request. Both logins are the same user and password against the same user data source (ABAP system). Is there any way to avoid the second login request apart of SSO?
    Thanks in advance and best regards.
    Joaquin Sanchez.

    Same issue discussed & solved in below thread..
    Re: How to supress login pop up for a BSP iView?
    Let us know if you face any more issue..
    Raja T

  • How do you avoid double-click

    When running flash on a web page you usually have to click
    the Flash object once and then once again to click a button.
    Is there a way to avoid this because many users are missing
    the second click and wondering why nothing is happening.
    Or, am I missing something very simple?
    Regards
    Dave

    Most likely you are talking about
    Eolas Patent impact
    on IE.
    In repsonse to Eolas, Microsoft has made changes to Internet
    Explorer browser that impact the use embedded ("active") content
    such as that viewed in Adobe's Macromedia Flash Player, Authorware
    Player, Shockwave Player, and Adobe Reader, as well as Sun Java,
    Apple QuickTime, and RealNetworks RealPlayer.
    This includes the need to click to activate.
    Adobe maintains a page that provides what you need for all
    their products:
    Adobe Active
    Content Development Center

  • How to avoid double logon

    Hello experts,
    can i avoid that a user is logged in a bsp 2 times (two different pc´s) ?
    Is there a standard solution in SAP or is it custom development?

    hye Benjimin,
      It is not possible to auhenticate single log in through any standard setting. Authetication is bascially initiated from the browse side and hence no real standard setting exists.
      This can be achieved only through custom programming.
    Regards
    Imran.

  • Avoid double accounts in hotmail + skype

    Can you please help me deal with the contact mess I have on skype and hotmail accounts? I have my skype account "[account name redacted for privacy" linked to my hotmail microsoft account "[account name] (at) hotmail". I thought this would create a "unique" experience when it comes to contacts/communication but it doesn't work like that. If I open skype with my hotmail account, it shows a different contact list than if I open skype with my skype account. And when I open hotmail.com, I get automatically logged in to skype on the bar on the right, for my hotmail account ONLY and NOT for actual "skype" account contacts. And I see recent chats but can't hide them, and I can't even filter for "only see online contacts" - so what is the use of this?! I hate it. And here is where it becomes MESSY: I want people to add me so I tell them "add me to skype, my user is [account name redacted for privacy]" so they look me up and find me TWICE, once for my hotmail account + once for my skype account. Some of them add me to hotmail by mistake, so I have to reject them and tell them to add me to skype. This is a mess. Please help me with the following: 1) I do NOT want hotmail to force me to use embedded version of skype for my hotmail account. If fact I don't want to use it to chat, I just need email! 2) I do NOT want people to search in skype "facundosuarezc" and find my hotmail account. Instead I just want to have ONE skype account "[account name redacted for privacy]" to avoid mishaps. Can you please tell me how I can accomplish this?Thank you very much!    First things, first: for your safety and protection, please never, ever include any personally identifiable information such as your real name, Skype account name, e-mail address, or a telephone number in a post on a public Community or forum such as this. Thanks!

    Hi everyone! I'm surprised I have no responses yet at all. I wouldn't expect it to be such a difficult question. If I close my @hotmail email account, will that be good enough so I just keep skype I hope? but can I keep my @hotmail account without coming up as a msn account too so people just can find me in skype through hotmail? thanks!Facundo

  • How to setup iMessage correctly to avoid double replys

    Hi there.
    I have just installed Mountain Lion on my macbook air. I also have an iPhone.
    I now have connected my account with iMessage on the macbook.
    I am using the same account on my iPhone. So far so good.
    I then start a chat in iMessage from my macbook. As sson as I get a reply from the
    person I am chatting with I receive 2 replys. One in the iMessage center on the macbook
    and at the same time I am receiving the same message on my iPhone.
    That is pretty annoying. Is ther a way how I can get rid of this problem?
    Looking forward to your answers.
    BR
    Gerhard

    I'll describe how it works for me.
    I have two email addresses assigned to each device (except the iPhone 4s as it also has a phone #).  One is device specific and one is group specific.
    Sending to group from any of the devices will cause the sent message to appear on all devices.  If the responding device has 'group' as its caller ID then responses to it from the original sender will also go to all devices.  If the caller ID of the responding device is specific to that device then replies to the responding device from the original sender will go only to that specific device.
    So, if you wish all devices to be able to participate in all conversations then the caller ID of all devices must be set to the group email.  If you wish to use the group address to send to all devices initially but want to continue the conversation with only the responding device then the responding device must have a device specific email as its caller ID.
    IOW all devices with an email address that is 'sent to' will receive the transmission.  A responding device responds only to the caller ID of the sending device.
    This is exactly how I expect it to work and exactly how it works for all of my devices.  In Messages for iMac and iPad one can easily see this as the caller ID of the responding device is displayed.  It isn't so simple on the iPhone for if the caller ID of the responding device is not the same as the address originally sent to then a new conversation is started and one must physically switch to that conversation to continue.

  • When I insert an SD card into the iMac nothing happens.  It worked fine until today, I double clicked on the card icon on the desk top and it disappeared! Any suggestions?

    When I insert an SD card into the iMac nothing happens.  It worked until today, when I double clicked on the SD card icon on the desktop and then it disappeared!  Cannot find in "Finder".  iPhoto does not open upon inserting card.  Reformatted card with device (camera).  Used Time machine to restart computer before the double click occurence...did not lhelp.  Any suggestions?

    Have a look in Finder Preferences: Click on the desktop, Finder>Finder Preferences.General tab - is there a tick in "External Disks'? If not, tick it.

  • Double Entry Alert Massage

    Hi Experts......
                 I need some help in Invoicing. Actully when user is entring the purchase invoice first time then
    it works properly but to avoid double entry of same invoice is there any solution?
                 Or is there any way how to get atleast an alert massage that 'you have already created this invoice
    do you want to continue?'
    Thanks & Regards,
    Rahul.........

    Hi Rahul,
    Use Drag & Relate functionality.Drag the Customer/Vendor code and relate to the Invoice it shows the
    list of invoices are booked in particular customer/vendor.in that list use filter options with the posting date.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Double oo keyborad problem

    Im Portuguese and I don't really know if this is a generic problem or specific one related to the language or the software beeing used.
    In reality I'm posing this situation in result of, after sending a draft text to a friend, he saw the double OO occurence and said that the same hapens to him.
    We can't say that it's a real problem, but sometimes it's boring to correct all the OO that occur at the end of a word.
    Does anyone knows anything about this? I've tried to find solutions on net but it doesn't appear none.
    Regards,
    tfeio

    tiagofeio wrote:
    after sending a draft text to a friend, he saw the double OO occurence and said that the same hapens to him.
    What are you talking about exactly?  An email message?  A MS Word document?
    Use the camera icon here to send us screen shot of what you are seeing.

Maybe you are looking for

  • Oracle 8.0.5 on Linux 6.1

    I run "sh oratab.sh" as root from the CD installation directory but get error of form: sh: oratab.sh ReadOnly variable GROUPS I have manually created the /etc/oratab file and given full permissions to it. Other errors I have had in past attempts: * t

  • I can't find air drop when I swipe up on my iPhone 6.

    I Have iphone 6+ iOS 8.2 And when I swipe up to my control center there is no air drop info.

  • How to apply different CSS styles to different table cells?

    I have an h:dataTable table and I would like to apply different CSS styles to different table cells depending on their content. If I were doing JSP I would probably have a <c:if> test on the cells, and give them a style name depending on contents, an

  • Losing Session for Weblogic 7.0.2 in Cluster env

              PROBLEM: We are losing our session when running in our app in a clustered environment.           The user can use the app for a while, but then weird stuff starts happening. In           some cases, the login check that we do at the beginin

  • Mail screen corruption in Mountain Lion

    I have a weird fault in Mountain Lion. When I open mail for the very first time after booting, the first email I open initially displays with corrupted graphics. If I then close the mail and reopen it everything is fine - and thereafter things seem t