'Create a Subvi' movements labels (LV2013) IMAQ image controls

Hello

I noticed a strange behavior in LV2013 (x 64 and x 86) what SubVIs creation from a selection containing Image IMAQ son:

The labels out of place of obtained characteristics Subvi on IMAQ controls/indicators, see the illustration below.

This VI

is impaired by creating a Subvi for copying and masking as follows

The Subvi created has a façade that result that looks like this:

All labels on IMAQ orders/lights are completely irrelevant. I couldn't understand, what appears to be a function of the new position of the label. In any case, it is quite annoying, because labels sometimes moving out of the main visible portion of the public Service and you have to go and look for them (through the window). -You must identify all the labels with the command/indicator to put everything back in place.

One of my colleagues has confirmed this behavior on a different windows PC, using the same version of LV in x 64 and the same version of Windows 7 Pro)

Of course, a simple method of MoveToDefaultLocation on all PS elements cause they go where they are expected to be, but how tedious... I remember not such behaviour in LV2011 where I used 'Create Subvi' loads of times with IMAQ Vision functions.

I'd be happy if someone such color in it. Thank you very much.

Cleaning of façade create a Subvi is performed, but it's not explicitly change the position of the control and indicator labels. There seems to be a bug in VI server when setting the position of the refnums IMAQ. This bug is independent of the function to create a Subvi. When writing of the 'Position' of a refnum IMAQ control property, the label seems to throw himself in a weird position. I've not seen this with other types of control with other controls, their labels always remain in the same relative position when the control is moved.

I'll drop a CAR against the Position and IMAQ refnums property. In the meantime, you can use the VI attached to this post to solve the problem. Follow these steps in LabVIEW 2013 or later:

1 copy of the VI attached to the following location: [LabVIEW 20xx] \resource\plugins\CreateSubVI

2. restart LabVIEW.

Once you have done, the position of the label IMAQ refnum to correct every time that you perform an operation to create a Subvi.

Tags: NI Software

Similar Questions

  • How to create folders and move photos in the image library?

    I just bought a new laptop and am new to windows 8. I downloaded approximately 300 pictures and they all saved in the library of photos in the same folder. I can't work out how to create separate folders or even how to move one of the photos. They appear only as a long line of scrolling which is a real pain. Is it possible to create folders and move the photos where I'm supposed to to store another app that sort of thing? Sorry if this question has been asked, but I couldn't find the answer I was looking for. Any help would be appreciated...

    the classic Office Explorer/libraries to manage the folder structure.
    create folders, to necessary, add to the library, if necessary.
     
     
    Barb
     
     
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • Contact information for return pixel Imaq image with the mouse click event

    Hello

    I'm trying to get the coordinates in pixels of an image Imaq based on a mouse click event, similar to this post and this post. The problem is that with the first post, I get the coordinates in the image control and hesitate to trust them, they seem to have the Center origin, may return negative coordinates and do not represent the actual size of the detector that I use (512 x 512). It also returns the coordinates outside the actual data when it is clicked on the image control framework. The second method returns simply null coordinates. What I want are the coordinates of the pixel displayed when hovering the mouse imaq image control framework.

    What baffles me, is that I tried the second method with a png stock file and it works fine, it is only when I create an image from the data of my camera than the coordinates are returned null. Note data views of camera under control of image very well.

    Any ideas would be useful. Enclosed is a picture of the offending code and the Panel before displaying the camera data is coming (I know it needs some cleaning).

    Thank you

    Tyler

    for help, please send your vi

    but I think that this example vi is your solution

    check this vi

  • Using controls IMAQ Image in steps of LabVIEW

    Hi guys

    So far, I used TestStand 4.0 with LabVIEW 8.5 and Vision Development Module 8.5 with no problems. Recently, I've updated to LV 8.6 and 8.6 VDM. I started having weird problems when using LabVIEW steps with input/output containing IMAQ Image controls. When I try to click on such an approach in the seq editor or try to insert a new step in the sequence, the initialization step takes a long time (a few tens of seconds) or completely freezes. I also tried to upgrade TS to version 4.1, but no difference. Also, my colleague experiences very similar symptoms on the same software configuration. The only difference is that on his machine, it takes only a few seconds when you click on the step in the vision. However, the steps containing only not an IMAQ Image control behave normally, i.e. you will not encounter any "time initialization" when clicking on it in the sequence.

    To illustrate, I enclose a simple VI containing nothing more than a single Image IMAQ control. If you don't link to the connector pane, the VI works fine when it is inserted in a time of TS. If the Image IMAQ control is bound to the connector pane, TS freezes when inserting such an approach.

    Vladimir

    The problem that causes this problem has been identified.  More information is available here: with TestStand and LabVIEW 8.6 known compatibility issues

  • use of display and IMAQ image memory

    Hello

    I wonder how much memory is used when updating from imaq image display.

    I need to display images (512 x 512 size) acquired by a camera in real time. But I don't necessarily need show each of them so that can save me some memory. The camera runs at 50 fps and I can live with display rate 5 frames per second.

    Right now my image display is updated from the buffer (updated at 50 fps) continuous (Snapshot mode off). I guess I have 3 options:

    1 use the lifestyle snapshot and say explicitly on the screen to update. Whenever the display is refreshed, a copy of the image is created. But I guess that the previous copy is destroyed at the next update. If this method costs an extra copy of the image in memory.

    2. create an extra copy of the image that is updated only at 5 fps and connect it to the display of the image (Snapshot mode off). I think this is equivalent to method 1, with respect to the use of the memory.

    3. in the State. No additional copies of the image is stored. But the display is updated at 50 fps.

    Which is more expensive, update the display 10 times faster or holding an extra image even copy of the memory size?

    Thank you!

    It is not really a memory problem: you have an indicator to display images. Display an image requires additional resources, but there is no continuous memory allocation! Once the resources are allocated, the use of the memory of your application will remain stable. (Otherwise, something goes wrong and need to be identified and fixed.)

  • My site, created using Dreamweaver cs6 shows only partial images. He worked until a few days ago when I updated Java and Firefox.

    My site, created using Dreamweaver cs6 shows only partial images.
    He worked until a few days ago when I updated Java and Firefox.
    The URL is j - f - a.com.au

    The images are not entirely loading or do you have other problems?

    You can attach a screenshot?

    • Use a type of compressed as PNG or JPG image to save the screenshot
    • Make sure you do not exceed the maximum size of 1 MB

    I noticed that some images show at the right end of the window and have set width: auto (right: 0px; width: auto) set the width according to the dimensions of the image (i.e. maintain proportions) and others fill the width full page.

    You can try the following steps in case of problems with web pages:

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    Clear the cache and delete cookies only from Web sites that cause problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • iMovie doesn't let me create a new movie

    iMovie doesn't let me create a new movie

    What version of iMovie?

    If the button '+' in iMovie 10.1.2 doesn't let you create a new movie, try to delete the iMovie preferences.  If the elements of the user interface do not, deleting preferences frequently you contribute.

    To delete the iMovie preferences leaving iMovie, runs, and then press and hold options and command key at the same time, at the launch of iMovie. Keep now pressed the buttons firmly until you see a command prompt to remove the preference. Confirm.

    Before you do, take note of all the settings that you made in iMovie preferences panel, so you can put back them later. iMovie will then begin with the Welcome screen.

    When I had a similar problem, the only thing that helped was to create an iMovie library.  Probably a corrupted in the iMovie project current library prevented the creation.   The problem persists, if you test different library in iMovie? You can create a library for testing.

    http://help.Apple.com/iMovie/Mac/10.1/#/mov3fa25bae7

  • iMovie 10.1.2 today (June 4, 2016), all of a sudden will not let me create a new project/film.  1. I have used the program extensively in recent weeks, many small travel films. 2. once in the projects, if create a new movie and the sign is checked, the op

    1. I have used the program extensively in recent weeks, many small travel films.

    2. when in the projects, if you click on create a new movie and sign, the new movie and trailer options opens successfully.

    3. click on film, nothing goes very well but open trailer.

    4. the issue seems to be the only new film/project.

    5. I can access all my other movies and run successful projects and theatre.

    6. I tried through a previous project and clicking new project from the menu, but still nothing.

    7 mac is 27 "OS X El Capitan, Version free 10.11.5, with 327 GB to 999 GB

    iMovie is 10.1.2

    8. the computer itself did not fall down and as FAS as I know, all other programs work correctly.

    9. I rebooted several times, but that has not solved the problem.

    10A does anyone else have this problem? If so, how do fix you it?

    Thanks much for any help!

    Have you ever tried to delete the iMovie preferences?  If the elements of the user interface do not, deleting preferences frequently you contribute.

    To delete the iMovie preferences leaving iMovie, runs, and then press and hold options and command key at the same time, at the launch of iMovie. Keep now pressed the buttons firmly until you see a command prompt to remove the preference. Confirm.

    Before you do, take note of all the settings that you made in iMovie preferences panel, so you can put back them later. iMovie will then begin with the Welcome screen.

    When I had a similar problem, the only thing that helped was to create an iMovie library.  Probably a corrupted in the iMovie project current library prevented the creation.   The problem persists, if you test different library in iMovie? You can create a library for testing.

    http://help.Apple.com/iMovie/Mac/10.1/#/mov3fa25bae7

  • IMAQ Image.ctl

    Hello!

    I want to know if there are and what is the installation package for use IMAQ Image.ctl including LabVIEW in 2014?

    with the .exe with labview DURATION that it does not ask me to install the control so that in the development wonder

    Thank you

    just need to 'Common Vision 2014 resources' package is also present in the Labview Runtime

  • How to create the hierarchy without creating a Subvi files

    Hello

    I have an existing LabView program that uses blocks of Subvi.  I want to change it so that I can't copy files Subvi (when I transfer the program to another computer).  The goal is to have a single file/program that I can copy, paste, and run on other computers.  So, I want to know if there is a way to create the hierarchy without creating a Subvi files or how to integrate the Subvi in the program.  My program and Subvi files are included here.

    Thank you

    Rocky

    You can create a version in an executable file.  It would be the most common way if you insist on having a single file.

    You could also build a source distribution in a zip file.  Then you just copy and paste the zip file and unzip it anywhere where you want.

  • Why do my AO create a Subvi doesn't work?

    I have a card PCI-6251. I do a simple DAQmx write the sequence by using an entry to create a task, Create Channel and clear. It works very well.

    When I copy/paste the task of creating, blocks of channels to create a Subvi with appropriate and all connectors, it does not work. Is there some VI property I need to change or put on the Subvi?

    Sorry, the output_test.vi should have a different task and the channel name that appear in my attachments in order to not not to be the same as the Subvi.

    I just put the VI properties for the Subvi unchecking re-entrant execution and it seems to work now every time.

    Just solve my problem?

  • queues the IMAQ image data type

    I'm trying to run multiple queues in the same loop entering IMAQdx images from several cameras, and then save to AVI. After reading the site nor a little, I discovered that the reason why I get only the last image of each bucket, repeated on all frames in the AVI file, is that the IMAQ image data type stores only the memory location for the image, not the image itself data. However, I don't see a better solution for the queues of the actual image data. What conversion could be the fastest / are in charge of the processor the lowest?

    For each image you must initial Image space.

    You can use something like this:

    You need to add initialization camera (s) and AVI. You must add the multicamera feature. Stop recording is missing.

    !!! Don't forget to throw lines and Images!

  • I created a Subvi to copy the Boolean status to my main VI, but I failed

    I created a Subvi and wanted to copy the Boolean status in my main vi, I wrote a simple code in the Sub - VI, but I can't achieve my goal in the mainVI,

    I know that I don't have to create a Subvi but only VI to do this work, however, out Boolean is the only function of my work, the Subvi has other things to do

    so to do this correctly, what should I do?

    Thank you

    Goto main block diagram, instructions are here...

  • For an IMAQ image, how is calculated the size of the area of alignment to the left or to the right?

    For an IMAQ image, how is calculated the size of the area of alignment to the left or to the right? My initial assumption of the diagram

    http://zone.NI.com/reference/en-XX/help/370281M-01/imaqvision/imaq_getimagepixelptr/

    is that the left and right are equal. But that doesn't seem to be the case. Can someone tell me the magic formula? A combination of the border width and the width of the image?

    Thank you...

    Andrew

    Andrew_Scott_SPCi.ca wrote:

    All this appeared when I relalized that the mapss Pixel pointer the value 0,0 point of the image, not the point 0,0 of the largest container with areas of alignment and borders. Would be nice if the drawing in the documentation put it.

    This described in help, is not?

    Andrey.

  • I have a few qeustions about IMAQ images and control charts

    First qeustion is: library in the IMAQ, you have the image control how can I possibly call the "Zoom to adjust" function thanks to a button, rather than with the right click because I tried it and I can't find anywhere so that claire KING simply is sided with the nodes to invoke.

    Second qeustion is: when you have a chart, how can you control the X value that you look with a numeric value that allows you to adjust the visibility graphic on some value x, for example, I make a numeric with a value of "10", I'll have the chart to access the value '10' so is it possible anyway I tried to work with some nodes of property but I get a little tangled in the web page of possibilities.

    Third Qeustion is: it is a qeustion minor but I would ask anyway why is that when you change the value of a button you can change only once in the structure, and not twice because I would like to have a button when this button is true it affects the other 2 buttons true and when it is false it affects other 2 buttons false... I can only get the effect to 'true' or 'false '. To complicate things even more if I still want to be able to use the 2 buttons that are defined differently by the first button, it's just if I can automatically start and stop the two buttons at the same time.

    and while I'm I also have a fourth qeustion: is there some way you can use the line tool several times in the section IMAQ image because the tool palette allows only 1 line.

    This VI use you to lines... is it "IMAQ Overlay line?

    Try the attached code...!

    And if it is a solution to your fourth question, then it seems that all your queries are resolved...

Maybe you are looking for