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

Similar Messages

  • 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

  • Error: Logical end-of-file reached during read operation. Result Code = -39

    Hello all,
    Recently, I have been suddenly getting this error message:
    "Logical end-of-file reached during read operation. Result Code = -39."
    In my case, when it does come up, it always pops up during the recording of an audio take. Almost immediately after hitting the stop button, this error message would pop up. And then when I go to check the take that was just recorded, there is nothing but shrieking noise. As a result, this pop up error trashes any good take I may have had. It's unpredictable as to when this error decides to pop up as well. So now, when I record, I tend to just have my fingers crossed and hope that this error doesn't pop up especially right after recording a good take!
    To no avail, I have tried different I/O buffer settings, repaired permissions, rebooted, and even re-formatted my recording hard disk.
    Could this be a possible hint that my hard disk is about to physically collapse? I have had it for about 2 years. Could it be some sort of bug in Logic? Or something else perhaps?
    Appreciate any feedback! Thanks a lot!

    DamonGrant wrote:
    Thanks for those suggestions Erik...
    It's been happening for a month I guess and I don't think that anything new's been installed. I will try recording to the start up disc and to maybe to some USB discs I have.
    It seems to happen after working on a project for some time.
    After say tracking takes for 45 mins or so. Maybe it's just coincidence, but do you think that might indicate a hardware issue?
    Now there might be a clue. What happens when you then quit Logic, reboot your Mac, and reopen the active session? It might be that your disk has become a bit messy from all the traffic, and it just needs to 'settle' in OS X again. Click on the *Spotlight icon* top right of your screen and see if any indexing is taking place. Wait for it to finish before launching Logic.
    Alternatively, you could exclude your recording disk from Spotlight indexing alltogether, by dragging the disk to the Privacy field in the Spotlight Sysprefpane.
    One other thing to do: turn off Journaling , using *Disk Utility.* Select your recording volume in Disk Utility, hold the alt key while dropping down the File menu. Choose *Disable Journaling.*
    On the other hand, it might also point to a RAM issue. Do you ever suffer Kernel panics (=the darkening 'curtain' and the message "You need to restart your Mac... etc")? or 'unexplained' crashes? If not or very rarely, I'ld rule out a RAM issue. If daily, it could be. What you can try in this case is to turn of your Mac and physically take out and reinsert your RAM.
    And when you trash (=eject/unmount), physically disconnect and reconnect your recording disk? Does that help? (Logic should not be running when you do this)

  • 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.

  • I am trying to get help with WMPlayer tech support Adobe Reader cant open wmpsupport.htm files why?

    i am trying to get help with WMPlayer tech support Adobe Reader cant open wmpsupport.htm files why?

    Adobe Reader opens PDF files, nothing else.

  • I have Adobe Reader X on Windows Vista. Why doesn't the Printer for Adobe PDF show up in my Hardware/printers? Or can I add it to the Hardware/Printers?

    I have Adobe Reader X in Windows Vista. Why doesn't the Adobe PDF show up as a printer in my Hardware/Printers? Or can I add it to the Hardware/Printers? And how?

    Adobe Reader - FREE - reads PDF files, prints them, fills forms.
    Adobe Acrobat - $$ - as Reader, and makes PDFs and edits them, sorta, and does a bunch more.
    So if you had Acrobat try and find the license to avoid having to pay again...

  • 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

  • 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

  • I have Reader 10,1.4 installed.  Why do I keep getting notices to download 9.5.2?

    I have Reader 10,1.4 installed.  Why do I keep getting notices to download 9.5.2?

    Can you post a screenshot of such a notice?

  • 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

  • Why does Acrobat 9 Pro asks for Acrobat 9 Pro or Reader for best results

    I have linked a page in Acrobat 9 Pro to a video which has been converted to a PDF and is one of the pages in the portfolio. When I activate the link the cover sheet comes up
    For the best experience, open this PDF portfolio in
    Acrobat 9 or Adobe Reader 9, or later.
    I can't then get to the video.
    however if I load the page directly it plays normally.
    any suggestions

    Acrobat Standard 9 is a PC program. This is the Mac forum. However, we'll still try to help :-)
    Please reconfirm your OS? If on the Mac OS, what version of Acrobat? Check to see if you have Preview set to be the default viewer of pdfs.
    If on the a PC, which OS? Which version of Acrobat Standard 9? Have you updated to the latest version of Acrobat Standard? Do you have any other pdf viewers on your computer?

Maybe you are looking for

  • I renamed the folder with the little house as its icon, and now I'm screwed

    Here are the details: * I am running the latest update to 10.4 * I changed the name of the folder with the little house as its icon. I changed it in the sidebar to the finder window. I changed the folder's name from it's original name to a new name,

  • FileVault Encryption STUCK after Yosemite upgrade

    This is my problem. It stuck forever at 87%. How to revert back because I do not want to turn on FileVault. Below its a copy of my current status: Last login: Fri Oct 17 21:14:47 on ttys000 Abraham-Sudirmans-MacBook-Air:~ abrahamsudirman$ { diskutil

  • Getting error at validation stage for entity members

    Hi all, Any one could pls resolve the below error in FDM. Version: FDM:11.1.1.3 Essbase: 9.3.0 We r loading the data into essbase using FDM and its working fine until now. In Essbase Under "Entity" dimension we have hierarchy as below: --Entity (Gen1

  • Cleaning the Script Menu in Photoshop

    Is there a way to clean the script menu in Photoshop? I'm launching most of my scripts from shortcuts on my Wacom Tablet and from Windows Explorer, and everytime I do one of those two options, since I'm not launching the script from the script menu,

  • Interactive report with pagination

    Hi, i have create an interactive report with pagination .i have follow instraction form [http://dbswh.webhop.net/apex/f?p=BLOG:READCAT:0::::CATEGORY:10800346812869] i have put JQuary in Page HTML HEADER . Now it show me that code in header in my page