IMAQ Read Meter

Hello ;
        I would like to know about function " IMAQ Read Meter" that what theory for calculate ? ex; Hough transfrom, etc.
Because I'm studying this function .So I want to make sure it.
Thank you and Best regards,
Jay
Attachments:
Untitled1.png ‏14 KB

Jay,
The vision concepts manual has some information on how the family of read meter VIs work but a more detailed explanation isn't publicly available, just because it is considered intellectual property and so the actual algorithms that those functions are based on aren't highly publicised.
http://www.ni.com/pdf/manuals/322916b.pdf
Rob B
FlexRIO Product Manager

Similar Messages

  • IMAQ Read Meter indicates result incorrectl​y. Why?

    Hi,
    I'm using the Meter example.VI to test the Machine Vision functions. I save this example as another name and change the instrument to my manometer.
    I have marked the initial and final position of the manometer and executed the example. But, in some cases, the IMAQ Read Meter function indicates a different value from the position of the needle in the picture. Why this is happening?
    I attached a picture which the red circle indicates the value calculated by the IMAQ Read Meter function. I saw this happens in the original Meter Example.VI too.
    Thanks,
    R. Feldmann
    Solved!
    Go to Solution.
    Attachments:
    manometer1.png ‏302 KB

    Your manometer dial is very cluttered.  There are lots of other things inside the dial area.  When the function is searching for the needle, it is probably finding the other stuff instead.
    For this dial, you would need to write a much more robust version of Read Meter for it to work properly.  I would probably search for the needle at several different radii and compare the locations.  Only the true needle will be in all the radii.
    Another possibility is to subtract the background image.  Take pictures with the needle in two different places and use Min to combine the images and eliminate the needle.  You can then subtract this image from the live image, and the needle should be the only object visible.  It will disappear slightly when it passes over other white object, but you should still be able to find it.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml

    Hi,
    I am getting an error running appc. I am upgrading from wl 7 to wl 8.1. ejbc works
    fine on wl 7. Anyone seen this before?
    [J2EE:160121]Errors encountered while compiling module 'e:\dev\xstatic\tmp\xstatic_Intermediate.jar':
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error
    was:
    java.lang.NullPointerException
    at weblogic.ejb20.cmp.rdbms.finders.ExprWHERE.init_method()V(ExprWHERE.java:47)
    at weblogic.ejb20.cmp.rdbms.finders.BaseExpr.init(Lweblogic.ejb20.cmp.rdbms.finders.QueryContext;Lweblogic.ejb20.cmp.rdbms.finders.QueryNode;)V(BaseExpr.java:230)
    at weblogic.ejb20.cmp.rdbms.finders.ExprROOT.init_method()V(ExprROOT.java:89)
    at weblogic.ejb20.cmp.rdbms.finders.BaseExpr.init(Lweblogic.ejb20.cmp.rdbms.finders.QueryContext;Lweblogic.ejb20.cmp.rdbms.finders.QueryNode;)V(BaseExpr.java:230)
    at weblogic.ejb20.cmp.rdbms.finders.QueryContext.generateQuery()V(QueryContext.java:91)
    at weblogic.ejb20.cmp.rdbms.finders.Finder.computeSQLQuery(Lweblogic.ejb20.cmp.rdbms.RDBMSBean;)V(Finder.java:1002)
    at weblogic.ejb20.cmp.rdbms.RDBMSBean.generateFinderSQLStatements(Ljava.util.Iterator;)V(RDBMSBean.java:2692)
    at weblogic.ejb20.cmp.rdbms.Deployer.readTypeSpecificData(Ljava.io.InputStream;Ljava.lang.String;)V(Deployer.java:479)
    at weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(Lweblogic.ejb20.interfaces.EntityBeanInfo;Lweblogic.ejb20.persistence.spi.CMPDeployer;)V(PersistenceType.java:483)
    at weblogic.ejb20.persistence.PersistenceType.setupDeployer(Lweblogic.ejb20.interfaces.EntityBeanInfo;Ljava.io.File;Lweblogic.utils.Getopt2;Lweblogic.utils.jars.VirtualJarFile;)Lweblogic.ejb20.persistence.spi.CMPDeployer;(PersistenceType.java:414)
    at weblogic.ejb20.deployer.CMPInfoImpl.setup(Ljava.io.File;Lweblogic.utils.Getopt2;Lweblogic.utils.jars.VirtualJarFile;)V(CMPInfoImpl.java:113)
    at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(Lweblogic.ejb20.interfaces.EntityBeanInfo;Lweblogic.utils.jars.VirtualJarFile;)Ljava.util.List;(EJB20CMPCompiler.java:64)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(Ljava.util.Collection;Lweblogic.utils.jars.VirtualJarFile;)V(EJBCompiler.java:245)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.management.configuration.EJBComponentMBean;Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Lweblogic.utils.jars.VirtualJarFile;Lweblogic.j2ee.valid
    ation.ModuleValidationInfo;Lweblogic.ejb20.ejbc.VersionHelper;Ljava.util.Collection;)V(EJBCompiler.java:468)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.utils.jars.VirtualJarFile;Lweblogic.j2ee.validation.ModuleValidationInfo;)V(EJBCompiler.java:387)
    at weblogic.appc.compileEJB(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.utils.jars.VirtualJarFile;Ljava.io.File;Lweblogic.j2ee.validation.ModuleValidationInfo;)V(appc.java:735)
    at weblogic.appc.compileEJB()V(appc.java:709)
    at weblogic.appc.compileInput()V(appc.java:446)
    at weblogic.appc.runBody()V(appc.java:167)
    at weblogic.utils.compiler.Tool.run([Ljava.lang.String;)V(Tool.java:146)
    at weblogic.utils.compiler.Tool.run()V(Tool.java:103)
    at weblogic.appc.main([Ljava.lang.String;)V(appc.java:961)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    It is a bug for the EJB container to respond with an NPE.
    (It's been fixed in v9 Beta, and it might be fixed in an 8.1 service pack but I can't recall off the top of my head). At any rate, I'm pretty sure that an EJB QL query with an empty WHERE clause will cause this. I would look for a query that ends in ' WHERE'.
    -thorick

  • IMAQ Read File error -1074396159

    Hi NI,
    I am getting "IMAQ Read File" error -1074396159 when trying to read a large image.  I get this error when trying to read a ~400MB image on a very clean (not many extraneous applications) Windows 7 computer with 4GB or RAM.  I tried this on two other not very clean Windows 7 computers with 4GB of RAM and 2GB of RAM respectively.  On the latter two computers I do not get this error.  I found this knowledgebase which explains one possible cause of this error.  Are there any other causes for this error?  Are there any workarounds?
    Thanks,
    Jonathan-LV

    That KB is incorrect, as the memory only needs to be virtually contiguous inside the process address space, not physically contiguous in RAM. This is not affected by how many programs are loaded (with the very slight exception that some read-only pages of DLLs can be shared cross-process in certain cases). This is really a function of how fragmented the memory space is in the process itself. The problem is that a normal 32-bit app on 32-bit Windows only has 2GB of virtual memory space. 500MB is 25% of the entire space. DLLs tend to get loaded scattered throughout the memory space for various reasons and other memory allocations that have different lifetimes cause fragmentation. The number of multi-hundred-MB chunks available is very small in a large app like LabVIEW.
    Some options to help:
    -Moving to a 64-bit OS (still using 32-bit LabVIEW) will change that 2GB address space to 4GB with no changes to your app
    -Moving to both a 64-bit OS plus 64-bit LabVIEW will change that 4GB address space to 8TB (virtually unlimited)
    Eric

  • PPro CS3 fails to read Meta data

    PPro CS3 fails to read Meta data in some files i have imported. It fails to read the start of the timecode and the tape name:
    Files imported into PPro CS3: http://web.comhem.se/averdahl/pproCS3_meta.png
    The same files imported into PPro 1.5: http://web.comhem.se/averdahl/ppro15_meta.png
    The first two clips are captured in PPro 2.0, may 2006, and the rest is captured in PPro CS3, august 2007. I have then used the Split function in Scenalyzer Live to split the captured material into smaller clips. I added the Tape Name in Scenayzer Live.
    The Meta data, timecode and tape name, can be read in Scenalyzer Live, Adobe Bridge 2.10.100 and PPro 1.5 but PPro CS3 refuses to read some of it. I have not PPro 2.0 installed right now but will give it a shot later. I have deleted Media Cache Database and reimported the clips in CS3 to no avail. I can create a new Project and import the files with the same reults, some meta data is skipped, so the Project itself is ok.
    Do you know why this happens? Does it happen to anyone else? Do anyone have a solution?
    /Roger

    Make sure that the file has a .html or another known file extension to make sure that the server recognizes it as an HTML file.
    The server may send unknown files automatically as text plain.

  • IMAQ Read File Inconsistency

    Dear LabViewers,
    I have a problem reading Tiff-Files using IMAQ Read File (Version 6.05):
    Opening a 16-bit-grayscale picture taken from a microscopy program (FluoVIEW) the image does not look like it has to be - the whole color table seems to be shifted. Now I open another 16-bit-grayscale picture I took some weeks before the the same program (and before I updated that program) and everything looks o.k. - Nevertheless: Opening now my first image again the color representation is also o.k. The question is: What do I change with the IMAQ Read File settings when I open a Tiff picture ? Why is this effect resident because after calling "IMAQ Dispose" the color representation stays in its wanted (correct ?) form. Even if I close the VI and resta
    rt it again everything is satisfying when you once loaded the image with the color table you wanted...
    Thank you very much for any help in advance !

    Mino. Does the behavior persists if you open the images in LabVIEW and then resave them as tiff files? I ask because tiff files have no formal standards, so if they're saved in another program, they could open inconsistantly in LabVIEW. Of course, another option is to use some other image format like bmp or jpg.

  • IMAQ Read Barcode.vi

    Does anyone have documents or information on the algorithms used from IMAQ REad BArcode.vi?
    I need to write a report about my project and I dont know how the VI decode the barcode.
    Is there anyway I can find out?
    Best regards,
    Krispiekream

    Hi krispiekream,
    I can't tell you specifics, but you can expect with any 1D barcode that it's doing edge detection across it and measuring the distances. The distances and thickness of lines specify characters. I'd recommend a search through Wikipedia as to the different barcode types listed in the help for that VI.
    Jeff | LabVIEW Software Engineer

  • Comment fonctionne imaq read barcode

    I use Imaq read EAN13 and i will know how to function this VI.

    For information on this function you may want to check the example program shipped with LabVIEW and IMAQ Vision. You can find it in this directory:
    C:\Program Files\National Instruments\LabVIEW 6.1\examples\Vision\3. Applications\Barcode Example.vi
    Also you may want to drop the Barcode Reader VI into the block diagram and right-click over it, select Help. If this does not clarifies the question you might have please post the details of it.
    Good luck!
    Nestor.
    Nestor
    National Instruments

  • IMAQ light meter

    Hi,
    I'm testing an application which uses IMAQ light meter, in a loop at 60hz. (vision project)
    Memory usage increases in time, around 100kb a minute.
    when I put a disable diagram around this light meter, memory usages stays constant in time (checked for half an hour)
    This means to me, that in the Light Meter VI, something is wrong and causes a mem leak?
    what could I do about that.
    My applications needs to run 24/7 days a week, so I can't allow any memory leakage / increase.
    Thanks for your responses
    Bruno Sas 
    Solved!
    Go to Solution.

    Yes, here it is;
    the screenshot shows the light meter which is disabled; than there is no increase in memory usage in time.
    If I remove the disable structure, mem usage grows gradually
    Thanks for looking into this already
    Bruno 
    Attachments:
    ni screenshot.png ‏28 KB

  • Adobe reader met with unexpected error

    Hi all,
    I've been bombed with this problem for so long, I'd greatly appreciate it if anyone can give any suggestion. The problem is: My adobe reader 7.0.8 or 8.0 are constantly met with unexpected errors. It just doesn't work, I can't open any files with it. Did anyone have similar problems before? Is there any hidden files I have to delete before installing a newer version or something else?
    thanks!!

    Here are more details:
    I had adobe reader 6.0, the only version that was working on my mac, in my application library. I tried to upgrade it to version 8.0. I downloaded and installed adobe reader 8.0 alright, no problems there. But after installation was complete, the Reader restarted itself and crashed, showing me the message "The adobe reader met with unexpected error." and could not even function, not to mention opening any files. It happened with 7.0.8 before as well. I had no other way but to change it back to 6.0. But it's really bugging me because compared to the latest versions, 6.0 isn't really that good. So please help! thanks
    I'm using powerpc G4 ibook tiger 10.4.8

  • [FileAdapter] Reading meta data

    Hey,
    is it possible to read system meta data of a file that should be read?
    I would like to know the date/time the file was created on the file system.
    thanks
    chris

    >
    Prateek Raj Srivastava wrote:
    This application can run as OS command before message processing at file sender
    Hey,
    thanks for your reply. So the OS command is triggered by the file adapter???
    thanks
    chris

  • Reading META-INF contents from an annotation processor

    Hello,
    I'm trying to read the contents of META-INF with my annotation processor, something akin to:
    @Override
    public boolean process(
    Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
    try {
    FileObject resource = processingEnv.getFiler().getResource(
    StandardLocation.SOURCE_PATH, "META-INF.services", "javax.annotation.processing.Processor");
    String filecontents = new Scanner(resource.openInputStream()).useDelimiter("\\A").next();
    processingEnv.getMessager().printMessage(Kind.NOTE, filecontents);
    } catch (IOException ex) {
    processingEnv.getMessager().printMessage(Kind.ERROR, ex.toString());
    return true;
    (But against something that is relevant for my processor.) But when I do that I get:
    error: javax.annotation.processing.FilerException: Illegal name META-INF.services
    Bug, or shouldn't annotation processors be reading the contents of META-INF anyhow?
    Thanks,
    Thor Michael

    META-INF/services

  • Imaq read file error

    Hi,
    The attached program is used to display pictures if input are A,B or C . when it is executed it shows "
    Error -1074395989 occurred at IMAQ ReadFile
    Possible reasons unable to read file"
    Can anybody solve the issue please.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    Picture display.zip ‏82 KB

    In the above attached program the, when a command is recognized the program displays an image if it available in the database. I want to add video to database for some input. How to make my program play a video if it is available or display picture if it is available
    Example : if the input command is "A", the image of "A" is displayed. If input command is "hello" then a video of "Hello" should be played.
    Attachments:
    New folder.zip ‏2320 KB
    SPEECH TO SIGN LANGUAGE TRANSLATOR 2011.zip ‏37 KB

  • Could not read meta deta

    below is described error:
    Microsoft.SqlServer.Management.Smo.SmoException: Could not read metadata, possibly due to insufficient access rights. at Microsoft.SqlServer.Management.SqlScriptPublish.GeneratePublishPage.worker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs
    e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    some urgent help needed to fix this...
    error while geneartign script for entire datbase and entire obbject case only.

    Hi skc_chat,
    According to the error message, you may do not have the permission to view the metadata. Please follow the steps below to grant the permissions to the current login on the SQL Server Management Studio:
    Right click on the server name and select properties.
    Click on the Permissions tab.
    Select the login name.
    On the Explicit tap, Grant "View Any Definition" to this login.
    To grant this permission by T-SQL:
    GRANT VIEW ANY DEFINITION TO <loginname>
    Go
    For more information:
    Cannot Create Script
    Also have a look at this article with the same error:
    http://blog.davidsilvasmith.com/2011/08/i-was-on-sql-server-2008-r2-database-i.html
    Best Regards,
    Stephanie Lv
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • IMAQ AVI Read Frame vs. IMAQ AVI2 Read Frame, no data terminal

    Hi,
    I just noticed when dropping a IMAQ AVI2 Read Frame vi in place of an older IMAQ AVI Read Frame vi, there is no "data out" terminal.  I do make use of this feature to add data to the frames of the AVI.  Is there supposed to be an alternative way to store this frame data, using the imaq image custom info perhaps?  

    Hello David,
    You are correct in that the data out terminal is no longer available in the AVI2 functions. However you can use the IMAQ Read Custom Data and IMAQ Write Custom Data functions. These allow you to write and read custom data to the IMAQ images using specified keys. In this way you can add miscellaneous data to your images for later use.
    Earl C
    Applications Engineer
    National Instruments

Maybe you are looking for