I am using Pattern matching using vision assistant . its able to detect the temple which created while configuration

Hi all , 
         i am using vision assistant to do patten matching . its able to find the pattern with created template in vision assistant .
        if i load some other pattern is not detecting .. 
         i have attached my vi file 
Attachments:
PM_light.vi ‏266 KB

Hi all , 
         i am using vision assistant to do patten matching . its able to find the pattern with created template in vision assistant .
        if i load some other pattern is not detecting .. 
         i have attached my vi file 
Attachments:
PM_light.vi ‏266 KB

Similar Messages

  • Who knows how to output some text once labview detects something I want using pattern matching(V​ision assistant)​?

    who knows how to output some text once labview detects something I want using pattern matching(Vision assistant)?
    The text is something like"Yes, this is a coin"
    Thanks!

    I attached a SubVI which I used to place an overlay next to a Pattern, found by a Pattern Match before:
    As you can see, you simply pass the image reference and the Array of Matches to the VI along with the String you want to have as an overlay next to the Match.
    I also modified your VI a bit, but didn't test it. I created an Array of clusters, each elment containing the template path along with the respective text.
    Please note that this is just a hint!
    Christian
    Attachments:
    suggestion.vi ‏146 KB
    Overlay_Txt.vi ‏24 KB

  • How can I define a non-rectangular (eg. circular) ROI for pattern matching using IMAQ?

    I would like to create regions of interest that are not rectangular using IMAQ Vision Builder. Including polygons, circles, etc. I am using version 5.0.
    Thank you.

    Hello,
    The current pattern matching algorithm requires a rectangular ROI. See the IMAQ Vision Concepts manual for detailed info on how the algorithm works.
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Pattern matching using Regular expression

    Hi,
    I am working on pattern matching using regular expression. I the table, I have 2 columns A and B
    A has value 'A499BPAU4A32A386KBCZ4C13C41D20E'
    B has value like '*CZ4*M11*7NQ+RDR+RSM-R9A-R9B'
    the requirement is that I have to match the columns of B in A. If there is a value with * sign, this must be present in A like 'CZ4' should exit in string A.
    The issue I am facing is that there are 2 values with * sign. The code works fine for first match (CZ4) but it does not look further as M11 does not exist in A.
    I used the condition
    AND instr(A,substr(REGEXP_SUBSTR(B, '*[^*]{3}'),2) ,1)=0
    First of all, is this possible to match multiple patterns in one condition?
    If yes, please suggest.
    Thanks

    user2544469 wrote:
    Thanks a lot Frank. This query worked wonderful for the test data I have provided however I have some concerns:
    - query doesnot include the column BOOK which is a mandatory check.Sorry, that was my mistake. It was a very easy mistake to make, since you posted sample data where it didn't matter. Instead of doing a cross-join between vn and got_must_have_cnt, do an inner join, using book. That means book will have to be in got_must_have_cnt, and all the sub-queries from which it descends. Look for comments that say "March 22".
    If you want to treat '+' in test_cat.codes as '*', then the simplest thing is probably just to use REPLACE, so that when the table has '+', you use '*' instead.
    WITH     got_token_cnt     AS
         SELECT     cat
         ,     book                                        -- Added March 22
         ,     REPLACE (codes, '+', '*') AS codes                    -- If desired.  Changed March 22
         ,     LENGTH (codes) - LENGTH ( TRANSLATE ( codes
                                                       , 'x*+-'
                                      , 'x'
                             ) AS token_cnt
         FROM    test_cat
    ,     cntr     AS
         SELECT     LEVEL     AS n
         FROM     (  SELECT  MAX (token_cnt)     AS max_token_cnt
                 FROM        got_token_cnt
         CONNECT BY     LEVEL     <= max_token_cnt
    ,     got_tokens     AS
         SELECT     t.cat
         ,     t.book                                        -- Added March 22
         ,     REGEXP_SUBSTR ( t.codes
                         , '[*+-]'
                         , 1
                         , c.n
                         )          AS token_type
         ,     SUBSTR ( REGEXP_SUBSTR ( t.codes
                                       , '[*+-][^*+-]*'
                               , 1
                               , c.n
                   , 2
                   )          AS token
         FROM     got_token_cnt     t
         JOIN     cntr          c  ON     c.n     <= t.token_cnt
    ,     got_must_have_cnt     AS
         SELECT       cat, book                                   -- Changed March 22
         ,       COUNT (CASE WHEN token_type = '*' THEN 1 END) AS must_have_cnt
         FROM       got_tokens
         GROUP BY  cat, book                                   -- Changed March 22
    SELECT       mh.cat
    ,       vn.vn_no
    FROM       got_must_have_cnt     mh
    JOIN                    vn  ON  mh.book     = vn.book               -- Changed March 22
    LEFT OUTER JOIN      got_tokens     gt  ON     mh.cat                  = gt.cat
                                     AND INSTR (vn.codes, gt.token) > 1
    GROUP BY  mh.cat
    ,            mh.must_have_cnt
    ,            vn.vn_no
    HAVING       COUNT (CASE WHEN gt.token_type = '*' THEN 1 END)     = mh.must_have_cnt
    AND       COUNT (CASE WHEN gt.token_type = '-' THEN 1 END)     = 0
    ORDER BY  mh.cat
    - query is very slow with 60000 records in vn table. Cost is somewhere around 36000.See these threads:
    When your query takes too long ...
    HOW TO: Post a SQL statement tuning request - template posting
    Relational databases were designed to have (at most) one piece of information in each column. If you decide to have multiple items in the same column (as you have a variable number of tokens in the codes column), don't be surprised if that makes things slower and more complicated. Most of the query I posted, and perhaps most of the time needed, is jsut to normalize the data. If you stored the data in a narmalized form, perhaps something like got_tokens, then you wouldn't need the first 3 sub-queries that I posted.
    Edited by: Frank Kulash on Mar 22, 2011 12:04 PM

  • HT4914 Will using music match use space on my device

    Will using music match use space on my device

    Yes and no.
    It will allow you to remove media from the device and download that media on demand when you wish to play it.
    iTunes Match does not currently allow streaming of media, based on my understanding, so it must be downloaded to be played.
    This can become an issue when you want to access your media but have no Internet connection.

  • I have a PowerBook G4 with a non-functioning monitor.  It used to work with an external monitor, but I reinstalled the OS, which cleared the display preferences and now when I restart it won't detect the external monitor. How do I fix?

    I have a PowerBook G4 with a non-functioning monitor.  It used to work with an external monitor, but I reinstalled the OS, which cleared the display preferences and now when I restart it won't detect the external monitor. This means I can't use the computer anymore. How do I fix? I tried using the Command+F2 keyboard shortcut, but it doesnt' work.  It's possible that since I reinstalled the OS, it still needs to be set up, so there's only a welcome screen (but since I can't see it I'm not sure).

    There is no limit to the number of times you can re-install Office on the same computer.
    You can activate by telephone:
    The last paragraph is the relevant bit

  • Can I use iCloud as my library instead of using local storage?  Would I be able to synchronize the music on my phone? and make CDs out of the my music in the icloud using itunes?

    Can I use iCloud as my library instead of using local storage?  Would I be able to synchronize the music on my phone? and make CDs out of the my music in the icloud using itunes?

    Many thanks JEM24 for your help.  Ive just spent the best part of six hundred pounds on a new Sony Rx100m2 compact camera, so I have no interest in the Ipods camera at all really. I doubt Ill be watching many videos on it as Im very lucky in that I have a good Android tablet. Its more as a stock music player that Ill be buying the Ipod for, if indeed I do end up buying one. I dont like the idea of paying the exorbitant amount added for more memory space that Apple along with most other companies charge. In fact I read an article on this very subject just yesterday in the tech section of Flipboard. It stated in the article that in the case of the Iphone  the actual cost of each additional  gigabyte of storage  to Apple et al is something in the order of 60p.. This is certainly not reflected in the price us the customer has to pay at the till.. Its for this reason primarily that Apple in particular, because their products do not allow adding expandable memory of your own in the form of cheap to buy cards, that nobody in their right mind buys the 64gig etc Iphones..I am aware that we are discussing my potential purchase of an Ipod Touch here but you see my point. Many thanks again though for helping me.

  • How to use the DLLs which created from c++ in Java?

    And How to use the DLLs which created from JNI in C++?

    Huh?
    Are you asking how to do JNI - you should read the tutorial.
    Are you asking how to load it - then use System.loadLibrary()
    Are you asking what to do with the output from javah - put it in a C file and write some code, compile it into a dll.

  • I have a JVC video camera and it records the video to a .mod format (which Apple devices don't support). I figured out how to get them to iPhoto using iMovie but I want to be able to get the videos on my iPad 2 but it won't let it sync. Any help?

    I have a JVC video camera and it records the video to a .mod format (which Apple devices don't support). I figured out how to get them to iPhoto using iMovie but I want to be able to get the videos on my iPad 2 but it won't let it sync. Any help?

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • ILok wasn't recognized using Firefox 4. Another browser was able to access the iLok. Running Mac OS 10.6.7

    ILok wasn't recognized using Firefox 4. Another browser was able to access the iLok. Running Mac OS 10.6.7

    Yes, I found the cookies, and thanks for taking the time to help out. I called Citibank. They told me that they will not support Firefox or Safari for Mac because our user group is too small for them and the expense too high. The person that I spoke to said in the past, Firefox has worked with Citi, but that was just by accident. At the moment they have no plans to help Mac people using the latest OS log onto their website or enable programs like my Quicken or Mint.com to access. They don't work anymore either. I think all the problems happened after the last OS update.

  • TA38556 I am trying to set up my apple tv using the hospital network. I am able to detect the network and chose it. But the way the system works is that you have to agree to the terms and conditions of using their network. How do I accomplish this with ap

    I am trying to set up my apple tv using the hospital network. I am able to detect the network and chose it. But the way the system works is that you have to agree to the terms and conditions of using their network before access the internet. How do I accomplish this with apple? Please help.

    There are some other options to you, if you're not at home and nobody is using your router you could set it up at the hospital, if this isn't an option you could get a second router and use it.  Many ethernet routers are available on the cheap, and ethernet cables are cheap too.
    Also, a macbook can share it's internet via the built in wifi it has.  See this go to settings-sharing-internet sharing and configure as desired.  This may require an internet connection via ethernet.  But you should be able to create a wifi network for using something like airplay/home sharing.

  • While using oracle forms 6i and database 11g in windows 7, the application getting closed while working on some forms

    Hi,
    Please advise on the below issue.
    While using oracle forms 6i and database 11g in windows 7, the application getting closed while working on some forms.
    May i know what is to be done?

    MoNo wrote:
    Hi Friends...
    I'm using windows7 32 bit.
    <snip>First, please be aware that oracle products are NOT certified to run on ANY 'home' edition of ANY version of Windows.
    Second, did you read the instructions on the page where you downloaded the software -- specifically the part about unzipping TWO downloaded zip files into the SAME directory?
    Third, did you read and heed the installation guide, or did you just go straight to 'setup.exe'?

  • If I use Acrobat XI Pro, will I be able to save the document in Word?

    If I use Acrobat XI Pro, will I be able to save the document in Word?

    The answer is maybe. A lot depends on how the PDF was created and what is there. If it was created using PDF Maker in WORD, you can probably recover it almost perfectly. If it was a scan that has been OCR'd, it may depend on the fonts that are used with the OCR. So the answer is generally yes, but the quality of the result can be anywhere from great to pitiful.

  • Pattern match in vision with a masked region.

    How to Mask Template ?

    只有Pattern Matching的
    http://zone.ni.com/devzone/cda/epd/p/id/5594
    或是參考Vision Assistant裡面的Print Circuit Board Inspection這個Solution
    如果要有Mask就只能參考剛剛那個連結了。

  • Pattern Matching and Vision Builder 6.0

    Hi,
    When I select a ROI from an image to generate a pattern matching, Builder
    saves it as a PNG file.
    If I open this pattern in other application (Paint Shop Pro 7) to modified
    it and save as a PNG file, after I can't open this file as a pattern into
    Builder, because it is considered as a not valid PNG file.
    I have tested this case in LabView 6.i and this problem doesn't appear.
    Any solution? Thanks.

    When the template is first saved in Vision Builder, pattern matching information is stored in the header of the PNG file. This information lets LabVIEW and Vision Builder know how the template was learned. Paint Shop Pro does not keep this information in the file whenever it is saved so Vision Builder will not recognize it as a valid pattern matching template.
    Jack Arnold
    Application Engineer
    National Instruments

Maybe you are looking for

  • Why is my iPod running slow, uses nearly 600MB of space that I'm not using, and have short battery life?

    I have owned an iPod touch for about a month now and I having some problems with it. On occasion, my iPod is running very slowly, even when I keep my multitasking bar empty, the native apps such as the App Store, Music, Videos, etc. lag a lot wheneve

  • Exporting DVCPROHD 720p 24p

    Hi, Just upgraded from premiere pro 1.5 to CS3 and am having a bit of trouble exporting footage in the correct aspect ratio. When I export movie it always puts it into a 4:3 image when the footage was shot 16:9. Please help.

  • Alerts for Projects

    The Vision Instance shows 6 Alerts for Projects Modules. However, my Development Instance doesn't show any alert for projects . we are implementing costing , billing & Prj Contracts. Pls help.

  • Can't open group contact in contact manager (All (+11) for example

    I keep lists of email addresses under a title (All, for example) in contact manager, and when sending a group e-mail I simply click on the All heading which in the past has opened up the list, which I can then copy and paste into a To: or Bcc: box. R

  • HCM Process & Form - QISR1

    Hi, I creaed a form and have attached to a process. Now for the process, I have to do some ABAP development for defaulting input values. For this I created a new implementation for QISR1 and set the filter value (the ISR scenario for the form). But t