How can I read a template and differentiate if it is a pattern matching template or a geometric matching template?

Hey all,
I would like to know how can I read a template´s information to know if it is a pattern macthing or a geometric matching template? 
In my code, users provide templates and the algorithm must match them using pattern matching or geometric matching depending on the template.
At the moment I am doing it by including a P or a G in the name of the file, but I would like to avoid this and read the information from the file.
Any ideas?
Thanks in advance,
Esteban
Solved!
Go to Solution.

Hey Esteban,
you can use the VI "IMAQ Is Vision Info Present 2 VI" to reice the information:
IMAQ Is Vision Info Present 2 VI - NI Vision 2011 for LabVIEW Help - National Instruments
http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_is_vision_info_present_2/
Take a look at the attached VI
Stephan
Attachments:
Determine Pattern type.zip ‏13 KB

Similar Messages

  • How can I read an audiobook and make it appear on iTunes?

    ?

    Record yourself reading a book, then put it into itunes
    Adding music and other content to iTunes - Apple Support

  • How can I read a file with ASCII Special Character into a SQL table using SSIS 2008?

    I've tried everything to read this file and am getting no where.   Help how can I read this file and load a SQL table?
    RS - AscII - 30  (Record Separator)
    GS - AscII - 29 (Group Separator)
    Thank you for your assistance - Covi
    Mark Covian

    We can use script component as source/transformation to read the text file and assign the contains to a string. Split the string by chr(30)  i.e RS and finally stored into an array or write to the output buffer of the script component.
    For example on how to use script component refer this link
    http://social.technet.microsoft.com/Forums/en-US/6ff2007d-d246-4107-b77c-624781baab38/how-to-use-substring-in-derived-column-in-ssis?forum=sqlintegrationservices
    Regards, RSingh

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    That is becuase Pages 5.1 has numerous unnounced surprises for the unwary user.  Among the surprises:
    - it strips out images from headers and footers without warning
    - it strips out bookmarks without wanring (yes, all those bookamrks you laboriously put into a document: poof! Gone.)
    - it strips out alternating left/right margins, without warning.
    There are many more suprises, as you'll see from glancing through these discussions. They fall into two main categories: things that are present in version 4.3 but that are missing in 5.1, things like
    -mail merge
    -meaningful Applescript/Services support
    -non-contiguous text selection
    -ability to set defaul zoom
    -ability to see comments while editing
    -ability to print comments
    -ability to read RTF files
    -ability to drag in hyperlinked ted from a browser
    These about about 90 other features are gone.
    Then there are the bugs.  Hyperlinks do not reliably export to a PDF file any longer. There have been multiple problems with printing report. Some fonts place stray characters in the headers.  Many reports of the program crashing, courrupting files, etc.
    Fortunately for you, the previous version of Pages is still on your system.  Export any documents you may have created or edited with Pages 5.1 (another great surprise: files created with version 5.1 cannot be read by any previous version of Pages: not just 4.3 but even 5.01!).  Then trash 5.1 and use 4.3 until (unless?) it is stable and has a reasonably robust feature set.

  • How can I read email from my aol account from my iphone and keep it as uread on my computer at home.  It automatically goes to read mail on my computer.  On my computer if I want to keep an email to answer later I can mark it "Keep as New".

    How can I read my email from my aol account from my iphone and keep it as "unread" on my computer at home?  At home I can read an email and if I want to get back to it at a later date I can mark it as "keep as new".  I tend to forget it if it goes to "read" mail.   Right now, when I read an email from my phone it goes automatically to "read" mail.

    On the iPad, using the mail app, there is no way to do what you are asking without tapping the flag icon and marking the item as unread. Have you tried the OWA app for the iPad? It may have that functionality, but I haven't tested it as you need an Office 365 subscription with Exchange support to use the app.

  • How can one  read a Excel File and Upload into Table using Pl/SQL Code.

    How can one read a Excel File and Upload into Table using Pl/SQL Code.
    1. Excel File is on My PC.
    2. And I want to write a Stored Procedure or Package to do that.
    3. DataBase is on Other Server. Client-Server Environment.
    4. I am Using Toad or PlSql developer tool.

    If you would like to create a package/procedure in order to solve this problem consider using the UTL_FILE in built package, here are a few steps to get you going:
    1. Get your DBA to create directory object in oracle using the following command:
    create directory TEST_DIR as ‘directory_path’;
    Note: This directory is on the server.
    2. Grant read,write on directory directory_object_name to username;
    You can find out the directory_object_name value from dba_directories view if you are using the system user account.
    3. Logon as the user as mentioned above.
    Sample code read plain text file code, you can modify this code to suit your need (i.e. read a csv file)
    function getData(p_filename in varchar2,
    p_filepath in varchar2
    ) RETURN VARCHAR2 is
    input_file utl_file.file_type;
    --declare a buffer to read text data
    input_buffer varchar2(4000);
    begin
    --using the UTL_FILE in built package
    input_file := utl_file.fopen(p_filepath, p_filename, 'R');
    utl_file.get_line(input_file, input_buffer);
    --debug
    --dbms_output.put_line(input_buffer);
    utl_file.fclose(input_file);
    --return data
    return input_buffer;
    end;
    Hope this helps.

  • How can I read the bootstrap files and extract the fragment-URLs and fragment-numbers in plain text?

    How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
    Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh  f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
    Thank you!

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • How can I change the color and size of the freehand tool in Adobe Reader on the IPAD?

    How can I change the size and color of the freehand tool in Adobe Reader for IPAD?

    One more step I didn't mention. After making your freehand drawing, you need to click Save (upper right) to let Reader know you're finished drawing. Then click on it, and the contextual menu will look like this:

  • -I have a password protected excel spreadsheet, how can I get my iPads and iPhones to read this and save it password protected?

    I have a password protected excel spreadsheet, how can I get my iPads and iPhones to read this and save it password protected?

    Documents to Go says that it, "Opens password protected Excel 97-2008 files", but does not say whether it can save them as "password protected".
    This might work for you.

  • HT5098 How can I read on my Apple Arabic files of Times New Roman or Arial in PC? when I get the files the Arabic letters are separate and not joined. Is there a common font in Arabic that can convert the PC Windows files to  my Apple?

    How can I read on my Apple Arabic files of Times New Roman or Arial fonts made in PC? when I get the files the Arabic letters are separate and not joined. Is there a common font in Arabic that can convert the Arabic  PC Windows files to  my Apple?
    The same with email messages ,
    And when I get Power Point files made in PC Windows, they are like PDF, not Power Point!
    Anybody with a good suggestion?

    Yewtree wrote:
    when I get the files the Arabic letters are separate and not joined
    Do not use MS Word for Mac, it does not support Arabic.  Instead use Mellel, TextEdit, Nisus Writer or OpenOffice.  Try the font Geeza Pro if others do not work.
    What are you using to read email?
    What are you using to read powerpoint?

  • How can I read and write text in rings that are inside an array?

    Hello All!!!
    How can I read and write text in rings that are inside an array?
    Regards and thanks in advance.

    Use a Property Node linked to the Ring inside the array.
    Of course, all elements in the array will have the same text values.
    B-)
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:47 AM
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:48 AM
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:49 AM
    Attachments:
    Strings-BD.PNG ‏17 KB
    Strings-FP1.PNG ‏23 KB

  • Can I read in Japanese and how?

    Can I read in Japanese and how?

    Sorry, i'm not good at english.
    If your Lightroom is Creative Cloud, you can change the language.
    Step1. Change language setting in Creative Cloud Desktop Application.
    Adjust the install language | CCM
    アプリケーションの言語を指定してインストールする方法(Creative Cloud)
    ※Please see screenshot.
    Step2. Delete Lightroom.
    Step3. Restart your computer.
    Step4. Reinstall Lightroom from Creative Cloud Desktop Application.

  • How can i install Myanmar font and keyboard in iPad2 and iPhone 4s.  I'm very very disappointed that i can't read and type Myanmar Font in iPad and iPhone without jailbreak.  I would appreciate it very much if you could update your os.

    How can i install Myanmar font and Keyboard in iPad2 and iPhone 4s.  I'm very disappointed that i can't read Myanmar font without jailbreak.

    You cannot install fonts or other keyboards on the iPad. You can make suggestions to Apple here.
    http://www.apple.com/feedback/ipad.html

  • When I open up resume template the headings are in English, the information below headings is in Italian, how can I read in English

    When I open up Modern Resume in Pages 08, the headings are in English, the rest of the language is Italian, why is this, how can I read it in English

    It is not Italian it is Latin, quotes from Cicero to be exact, and it is placeholder text just to let you know what the text looks like.
    Click on the text and it is selected, then just type what you want and what you type will have the same styling.
    Peter

Maybe you are looking for

  • With 4.0.1 I can no longer click on Google's drop down menu

    Since I got my upgrade, when I try to click on the dropdown menu in the Google toolbar to return to a previous search, nothing happens. This is very annoying and like a previous questioner I would like to go back to my earlier version of Firefox - I

  • InDesign CS3 slowdown after export to pdf

    Hi there, wondering if anyone's got any pointers as to why this is happening?  After I make a pdf, InDesign is very slow to react to any command or selection. Perfect again after a quit/restart. Doesn't happen every time, seems to be fairly complex f

  • MRP Reports

    I would like to know where I can get a report that would show all the move in, move out, and cancel messages. I know that MD04 shows these messages, but where can I get these messages on a report i can print or convert to an excel spreadsheet? Any he

  • Dual layer disk, single layer capacity! What am I missing

    Greetings, I have a project which is 6GB in size, so I'm burning onto a dual-layer DVD which 'Project Information' says is ~7.2GB in size. For the record this matches what 'More Info' gives me when I insert a blank disk and check the details from the

  • Network timeout only for library upgrade items

    I purchased an upgrade of my library, which totals 430 songs. The purchase went through fine, but when I would try to "check for downloads" so I could download the items, I kept getting "network timeout" errors. I ran the diagnostics, and after sendi