Vision Builder 7.0(IMAQ) : Using fxs in subVIs with references to image control

When using IMAQ fxs (such as 'Write File') in subVIs, if one wanted to use references to an image control, what property or method would be used to feed into the image terminal in the imaq fx on the subVI? Is this possible?
What did work: I was able to directly use the image control on the main feeding an image control on the subvi panel (which is then fed directly to imaq fx)
What did not work: From a refnum control for the image on the main, I used (within the subVI) the value property fed to a 'Variant to Data' with type as image control, then feeding the output of this into imaq fx.

Typically you would update an Image Display control from a subVI using the Value property nodes. However, this method does not currently work with LabVIEW 7 and Vision 7, but the issue will be resolved in the next release of LabVIEW and Vision.
In the meantime, in addition to the solution you found you could also use a global variable to pass images from one VI to another. Using a global variable works, but not in the same way as a reference or property node would. With a reference or property node, you can pass a reference of the control to a subVI and have the subVI update the control's image. Using global variables, the subVI will update the global variable with the new images, but you need a loop monitoring the global variable in your top level VI.
I hope this
helps! Best wishes.
Regards,
Dawna P.
Applications Engineer
National Instruments

Similar Messages

  • Using local/testing server with cs5 inserting images look fine in the split screen but do not show

    Hi
    If I open example: header.php and insert any photo jpeg/.html ecs i can see the images in the split screen but not in the browser if i save then refresh. I am able to make any change to the code ecs. and they are reflected just fine. I have tried this with my fireworks images .html and when that did not work i tried a strait jpeg off the desktop. This all did not work. I have deleted the local server then step by step created a new one via devnet instruction. This did not work! everything looks fine i even tried in 3 sep browsers with 0 luck....There is no remote server connected at this time because i am making a child theme for my current site. After all changes are done we will the ftp the word press files to site and change.
    Ps i even started over from scratch with 0 positive affects....

    After a lot of pain!!!!!!! the issue is fixed lol After 3 weeks I have overlooked the obvious !!! so the simple fix was the path of the image. Yes i feel stupid 10 years in lol....
    Apparently dreamweaver cs 5 will not use the full path when inserting images into the page example: If you drag the image out of your assets folder or however you do it, DW will give you a path like this <img src="images/glass.jpg" width="800" height="729"> This is not the full path and when your pist!!! you cant see things like that ;( so the image path should look like this:
    <img src="wp-content/themes/adszoom/images/glass.jpg" width="800" height="729">
    also in the html files example of bad then good!
    <!--======================== BEGIN COPYING THE HTML HERE ==========================-->
    <img name="navigation" src="navigation.gif" width="1000" height="50" border="0" usemap="#m_navigation" alt="">
    <map name="m_navigation">
      <area shape="poly" coords="804,7,994,7,994,47,804,47,804,7" href="http://adszoom.com/699-2/" title="SEARCH BY CATEGORIES FOR CLASSIFIED ADS" alt="SEARCH BY CATEGORIES FOR CLASSIFIED ADS" >
      <area shape="poly" coords="602,8,792,8,792,48,602,48,602,8" href="http://adszoom.com/wp-admin/edit.php/" title="VIEW OR EDIT YOUR CLASSIFIED ADS" alt="VIEW OR EDIT YOUR CLASSIFIED ADS" >
      <area shape="poly" coords="405,8,595,8,595,48,405,48,405,8" href="http://adszoom.com/post-an-ad/" title="NEW CLASSIFIED AD POST" alt="NEW CLASSIFIED AD POST" >
      <area shape="poly" coords="206,8,396,8,396,48,206,48,206,8" href="http://adszoom.com/help/" title="HELP WITH YOUR CLASSIFIED ADS" alt="HELP WITH YOUR CLASSIFIED ADS" >
      <area shape="poly" coords="3,9,193,9,193,49,3,49,3,9" href="http://adszoom.com/" title="HOME VIEW CLASSIFIED ADS" alt="HOME VIEW CLASSIFIED ADS" >
    </map>
    <!--========================= STOP COPYING THE HTML HERE =========================-->
    </body>
    NOW THE GOOD!
    <!--======================== BEGIN COPYING THE HTML HERE ==========================-->
    <img name="navigation" src="wp-content/themes/adszoom/images/navigation.gif" width="1000" height="50" border="0" usemap="#m_navigation" alt="">
    <map name="m_navigation">
      <area shape="poly" coords="804,7,994,7,994,47,804,47,804,7" href="http://adszoom.com/699-2/" title="SEARCH BY CATEGORIES FOR CLASSIFIED ADS" alt="SEARCH BY CATEGORIES FOR CLASSIFIED ADS" >
      <area shape="poly" coords="602,8,792,8,792,48,602,48,602,8" href="http://adszoom.com/wp-admin/edit.php/" title="VIEW OR EDIT YOUR CLASSIFIED ADS" alt="VIEW OR EDIT YOUR CLASSIFIED ADS" >
      <area shape="poly" coords="405,8,595,8,595,48,405,48,405,8" href="http://adszoom.com/post-an-ad/" title="NEW CLASSIFIED AD POST" alt="NEW CLASSIFIED AD POST" >
      <area shape="poly" coords="206,8,396,8,396,48,206,48,206,8" href="http://adszoom.com/help/" title="HELP WITH YOUR CLASSIFIED ADS" alt="HELP WITH YOUR CLASSIFIED ADS" >
      <area shape="poly" coords="3,9,193,9,193,49,3,49,3,9" href="http://adszoom.com/" title="HOME VIEW CLASSIFIED ADS" alt="HOME VIEW CLASSIFIED ADS" >
    </map>
    <!--========================= STOP COPYING THE HTML HERE =========================-->
    </body>
    THIS LINE IS YOUR ISSUE
    <img name="navigation" src="wp-content/themes/adszoom/images/navigation.gif" width="1000" height="50" border="0" usemap="#m_navigation" alt="">
    Ok thanks and if there are any issues with dw please ask: [email protected]

  • How to use an Event Structure responding to an image control that belongs to a parent VI.

    Hi
    I am loading a subpanel vi by pressing a button located in the user interface of the main vi which also contains an image display. Subpanel vi opens up on the side and doesn't hide the image display of the main vi. Subpanel vi contains an event structure that needs to respond to user clicking on the image display of main vi.
    Since the bug that occured while creating an image reference control isn't fixed, I am passing the main vi pane reference onto the subpanel vi. From that point I've tried to edit event structure and have it respond to the image control/pane that belongs to main vi but I don't know how.
    Any help would be appreciated.
    Thanks

    Post a screenshot of your subVI code where you register the events.
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Which vision software/hardware can i use to read barcodes with?

    i have an application where i will need 4 cameras to look for the barcode on my cylindrical product which is moving down a production line.

    As Michael said, this should be possible with the Vision toolbox. It includes all the standard 1-D barcode reading algorithms. However, it may become difficult for a couple of reasons.
    1. The NI tools don't search for the barcode. You will have to locate them and provide the reader a box that passes through the stripes.
    2. Distortion due to the camera angle may confuse the reader, unless your cameras are fairly close to horizontal.
    Hardware just requires good lighting, cameras and lenses. There are dozens of combinations that should work for this application.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Why I can't subtract two images in imaq vision builder?

    Hi,
    I have many times tried but failed to get the objects in a image by subtraction with another image which is background, in imaq vision builder(ver. 6.0). I totally can't use the "operators" command under "greyscale" to subtract the two images becauee all commands under the "greyscale" are always unactivated after two images have been stored in 2 idfferent buffers. I really don't know why and this vision builder is so difficult to use, unbelievable! I followed the instructions in its Help and it's quite simple but I totally failed to make this operation!
    Two samples of images have been attached and maybe it's very ease for you to filter out objects(fibers) by subtraction each other. Show me your scrip
    t if you can. It's urgent to me.
    Or the idea of the way I thought for filtering the objects is wrong? Point out please if you know.
    Thanks and Merry Christmas and Happy New year!!
    Swedlin
    Attachments:
    10Img0.jpg ‏27 KB
    123Img0.jpg ‏25 KB

    Okay, this is not quite as straightforward as it could be, but you can do image subtraction in Vision Builder. The basic idea is as follows:
    - select first object image and copy it to buffer 1
    - select "image >> get new image" and load your background image from a file.
    - put this in buffer 2
    - retrieve object image from buffer 1
    - perform subtraction. Even though these images appear to be greyscale, they are actually saved as 24-bit RGB images, so you need to use the color operators instead. Vision Builder will only allow you to select steps that are valid for the image you have loaded. You could extract the luminance plane from all of your images to work with 8-bit images if you like.
    I have attached below a background image, several object i
    mages, my script, and the results of batch processing. You will need to edit the "get new image" step with the correct path to the background image on your machine.
    Bruce is right though. This is a bit easier in LabVIEW.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • Vision builder 2.6 general/tutorial

    Hi,
    I'm slowly trying to learn the functions of image acquisition and processing with LabVIEW.  So far, I've stepped through some basic tutorials of LabVIEW (check).  Next I installed some NI-IMAQ components and attempted to look at some examples (half check).  Finally, I have found Vision Builder; unfortunately, I do not have a copy of the latest version and I'm forced to use a trial version of Vision Builder 2.6.
    At this point, I'm kinda stuck because I can't seem to find any good Vision Builder tutorials.  I understand that the program itself comes with a few example programs, but it doesn't help to much if it doesn't go through each building step.  National Instruments has some video tutorials online, but it looks like the tutorials are with respect to new versions of Vision Builder with differing interfaces.
    Finally, my reason for resorting to Vision Builder is because I downloaded some LabVIEW image processing tutorials, but some of the sub.vi's were missing (IMAQ mult, IMAQ sub).  So as a result, I was unable to step through the projects, or observe how they functioned.  I downloaded Vision Builder because someone mentioned that it might update my .vi library so I could run these image processing programs.  But now I'm still unable to run these programs, and I have another program that I need to learn.
    Does anyone have any recommendations of tutorial sites, or pages that might help get me started with Vision Builder?  Or possibly any general suggestions about how to go about programming a vision processing program (maybe I'm not understanding the process correctly)?

    Well it looks like no one replied to this post.
    Just for a future reference (if anyone else has a question like this)
    I called National Instruments and talked with one of their applications engineers.  This description of the products helped me get a better understanding of how each one works, etc.
    LabVIEW is Lower level programming that involves customization of user interfaces, peripheral device control, and data manipulation.  LabVIEW is the center piece of the National Instruments software that will integrate code from other NI products.
    IMAQ is a supplemental package that can be added on to LabVIEW for additional functionality.  IMAQ provides LabVIEW with a library of image acquisition functions.
    Vision Assistant functions much like LabVIEW itself.  The Vision Assistant provides the user with image processing functions which clean/restore/manipulate an image so that it can be handled in LabVIEW or the Vision Builder.  Vision Assistant code can be exported so that it can be handled by LabVIEW.
    Vision Builder is a complete control/programming module in and of itself.  The program interface provides a high level programming design which controls the image acquisition, all the way through the image processing.  Vision Builder also contains the Vision Assistant.
    Vision Development Module is a combination of the Vision Assistant and the Vision Builder.  First off, the module provides LabVIEW with an extensive library that contains many of the image processing functions that is included with Vision Assistant.  Secondly, the program also has an embedded Vision Builder program, that gives the user the option of a provided UI, or self developed UI through LabVIEW.  The Vision Development Module is a complete package of vision acquisition and processing software.

  • Vision builder ai

    Hello,
    I have a problem by LED function inspection test. This is on Vision Builder AI program. There is a camera, it captures an image. The images have a little different gain, brightness, contrast values, so the later inspections have different measure values. I would like to make a picture comparison between a captured image, and a reference image. After then, I would like to set the gain, brightness, contrast values automatically, like the reference image. 
    How can I make this? Whitch program? LabWIEV or Vision Builder AI?
    Thank, for your help!

    Dear koma1989!
    Is your problem still open?
    If yes, I suggest you to try with VBAI first, and if the results are not good enough, you can change to LV to create a more traceable application.
    In VBAI, (I'm using 2011 SP1) please choose the "Other.." option from "Run Inspection" section. Examples will open, and you can try out some, so you can get started easily in VBAI.
    I don't think there will be an already working solution for this application, but in my opinion you could put it together from example applications.
    If an example appears in Inspector interface (In title you can find "...-Inspector-..."), you can switch to edit mode via Inspection >> Switch to Configuration Interface
    From the examples I recommend you the followings:
    - Tutorial 4 - Tow cameras inspection
    - Classify Colours Example
    - Inspect Contours Example
    - Segment Color Image Example
    - And examples related to State diagram, since you have to check for differences, and than correct the image, so some processing regarding to the differences.
    I hope browsing examples will help to get some ideas, if you have any other questions, please don't hesitate to post them.
    BR,
    Balazs Nagy

  • Problem with saving picture in Vision Builder

    hello
    I'm using Vision builder and i'm trying to save picture with Image Logging. And i made ftp server that picture could be save. In folder path I write location where I want that picture save. But problem is, that picture does not saves in that location where I want.
    Could anybody help me?
    Please
    Matjaz
    p.s.: I attach a picture that You will see how I made my settings
    Attachments:
    napaka.jpg ‏4307 KB

    rezi wrote:
    why is writen 257 "/" is current directory ??
    It means that root is current directory.
    For setting VBAI as current directory it should be something like
    CWD VBAI
    250 OK. Current directory is /VBAI
    PWD
    257 "/VBAI" is your current directory.
    Try to remove VBAI from Folder path and leave this setting just empty. Then your images should be written into root directory. Also you have selected option "Log images when inspection status FAIL". May be your status PASS? In this case images will be not logged. Try to change this option to "Log Image".

  • 使用 Vision Builder AI 讀取 NI-1722 影像

    Hello
    我有一個視覺檢查的專案,早先是使用 IEEE 1394 camera
    配合 Vision Builder AI 3.6 所寫成,最近更換為 NI-1722
    Smart camera , 但更換後發現我只能使用 remote target 的模式
    去存取 NI-1722 , 於是就將設定移轉至 NI-1722 ,但執行工作時
    發現檢查速度非常的慢 。
    請問有什麼方可以由NI-1722讀取影像,就像原有的 IEEE-1394 或
    GigE 的模式,而非 Smart camera remote target 的模式,
    並將工作設定於本地的 PC 內執行。
    另外 我發現了Smart Camera 及 Vision Builder AI
    的功能規格上有這一段的描逑,我應該如何設定才可達成
    With Vision Builder AI, you can perform the following tasks:
    Acquire and process images with any NI frame grabber
    NI Compact Vision System, NI Embedded Vision System
    NI Smart Cameras as well as GigE Vision, IEEE 1394 cameras
    and USB DirectShow cameras
    謝謝......

    http://forums.ni.com/t5/Machine-Vision/Logging-an-​image-on-the-local-drive-using-Vision-Builder-2010​...
    http://forums.ni.com/t5/Machine-Vision/Save-images​-on-NI-Smart-Camera-1742/m-p/1574514
    Saving images to disk is discouraged on the smart cameras because of the number of writes to disk that can occur before the disk fails.
    所以看起來在PC端把Smart Camera當成GigE相機,這樣的應用是不被建議的。
    給您參考一下。

  • Compatibility of developed Vision library with NI Vision Builder AI

    We developed a specific Vision library using NI LabVIEW and Vision Toolkit.
    My requirement is to identify the compatiblity of this library with NI Vision Builder AI.Can we use the existing VI's with Vision builder?
    Please provide me your comments asap.
    Regards:
    Vaibhav Kanchan
    Sr. Engineer
    NI Certified LabVIEW Developer(CLD)
    NI Certified TestStand Developer(CTD}

    There are multiple ways to add functionality to Vision Builder AI using a set of VIs you wrote:
    1) Vision Builder AI can run a VI you write that use your VIs using the Run LabVIEW VI step.
    2) You can also develop a custom step (that include the configuration page) for a better user experience, using the VBAI SDK, and use your VIs inside.
    With these 2 solutions, you will need to use a specific version of LabVIEW to integrate your library, as Vision Builder AI is a LabVIEW application, and VBAI will execute the code from the Run LabVIEW step, or custom step using the LabVIEW runtine engine that it was built with. The version of LabVIEW depends on the version of VBAI. For example, for VBAI 2011SP1, you need to use LabVIEW 2010.
    3) You can automate/drive Vision Builder AI from LabVIEW on Windows. (Open an inspection, run once, run continuously, etc, and get the resulting results and image that you can further process using your library. You can use the API on Windows with any version of LabVIEW.
    For example, the VBAI 2011 API supports LabVIEW 8.5 through 2011.
    You will run your developped application on Windows only, but it will be able to control Vision Builder AI running on remote targets.
    If you're running Vision Builder AI on Windows, I see no compatibility issues with any of the above solution, except for using the correct version of LabVIEW in the first 2 solutions I mentioned. Using 1) and 2), you will also be able to develop code that can run on targets that Vision Builder AI supports, like smart cameras, and embedded vision systems.
    If you plan to support remote targets, like smart cameras or Embedded Vision Systems, there are things to consider for your library to be compatible:
    These targets run different operating systems: some run Pharlap, some run VxWorks, all run LabVIEW real-time on these OSes. If you used LabVIEW and Vision Development module to build you library based on VDM, the only thing to consider is to make sure to use the same version of LabVIEW and Vision Development Module installed on the target. Let me explain:
    When you configure one of these remote targets from Vision Builder AI running on the Windows host machine, we install an image that contains a specific version of LabVIEW Real-time and Vision Development Module (For example, in the case of VBAI 2011 SP1, the remote target image has LabVIEW Real-Time 2010 and Vision Development Module 2011). Those should be the versions you need to use to create your VI to run with the Run LabVIEW step or custom step). We ran into some compatibility issues when customers update their Windows machine with a newer version of Vision Development Module, and write a VI or custom step they want to run in VBAI, that uses a new function that is not supported with the DLLs installed on the target.
    If your Vision Library uses some other DLLs (code you may have written in text based language or third party DLL), you will have to recompile the DLL for the operating system of the target (Pharlap or VXWorks, depending on the target) for the code to work on the remote target.
    Hope this helps and is not too confusing.
    Best regards,
    -Christophe

  • Goods Receipt using Inbound Delivery with reference to Outbound Delivery

    Here is our scenario that we need help finding a solution:
    1.  Multiple Intracompany POs created
    2.  On the confirmations tab of the POs, we have u201CInbound Deliveryu201D Selected because the items need to be received in with Handling Unit management.
    3.  We have the Order Combination box checked on the shipping tab to allow 1 delivery to be created for multiple purchase orders.
    4.  We create only 1 Outbound Delivery for only available items on various purchase orders.
    5.  Due to being handling unit managed, we need to receive the items using an inbound delivery.
    Problem:  We need to find a solution to easily enter an outbound delivery number which will allow us to receive only the parts that were shipped (issued), via the inbound delivery process. 
    If we remove the confirmation control key, we can complete a Goods Receipt for Outbound Delivery in MIGO u2013 but is there a way to complete a goods receipt using an inbound delivery with reference to an Outbound Delivery?
    Thank you for the help.

    Hi,
    You can work with Inbound delivery created via IDOC Triggered from Outbound Delivery, this will carry the HU Data as well. Please refer this wonderful note, which will explain you a lot of things,  Note 1119073 - FAQ: Automatic inbound delivery creation for stock transfers
    There are other notes also available for Inbound delivery creation with HU in STO, please browse the notes, if you find any difficulty.
    Regards
    Chandra Shekhar

  • Use Apple Universal Dock with Front Row

    Hi there, I have a Powerbook G4 15 inch, and a Universal Dock that was bought from Apple.
    My question will be, is it possible to use the Universal Dock with its Remote to control Front Row and the iTunes library in my laptop. I know the Universal Dock was supposed to be used with the iPod, nonetheless seeing that it has an IR receiver and the Remote which will transmit the commands, I guess it should do the job when being hooked through the usb or firewire port.
    Product Reference:
    http://store.apple.com/us/product/MB125G/B

    the USB connection is only for syncing / charging the ipod. the remote only works if you are hooked up to a stereo or TV. it's probably not going to run front row.

  • How to use displacement Filter with a jpeg image?

    Hi there,
    I'm trying to use the displacement filter with a jpeg image instead of a gradient map. My images are:
    1) Background: men2.jpg
    2) Map image: men2BN.jpg (same as above, but grayscale and blurred)
    3) The image to be displaced: star5_mc
    I'll appreciate very much any help with this issue, Thanks in advance. Madrid.

    create a bitmapdata instance (using the new constructor) and then apply the filter to your bitmap instance.

  • Create with reference using BAPI_SALESDOCU_CREATEFROMDATA

    Hi,
      I have been trying to use BAPI_SALESDOCU_CREATEFROMDATA to create with reference. I am trying to use the fields REF_DOC and REF_DOC_CA in structure ORDER_HEADER_IN
    but the created order is not copying any data from the referenced order. Aaprt from the ref order I am passing the sales area data and sold to customer. Am i missing something or is create with reference not supported?
    Regards,
    Hari.

    Hi,
    This bapi will work when you try to copy invoice to the credit memo request..pass the billing document number in salesdocument parameter and pass the sales document type(CMR type) in documenttype.
    Thanks
    Naren

  • Use Post with Reference in FV50 / FV50L?

    Is there a way to use Sample Documents (Post with Reference) in the parking transactions?  By default its only available in the Posting transactions.  Whoever replies please do not suggest account assignment templates / models as that does not meet the requirements our client is currently requesting (they do not allow for a pre-populated header).

    Hi,
    Please note that it is not possible to use post with reference function for parked documents via transaction F-65 or FBV1.
    As a alternative, pls consider using the park document function via tcode F-02/FB01.
    This will allow you to use post with reference with the parked document entered via F-02/FB01.
    I hope it answers your inquiry.
    Best Regards,
    Vanessa.

Maybe you are looking for

  • RTF File Name Change using XDOLoader

    Hi- When using XDOLoader to migrate my template, the name is changing. Is there a way to keep the .rtf the same name as what is on the template screen in the Apps? Currently my template name is Invoice_Register.rtf. When I migrate is using XDOLoader

  • Can external display damage the iBook

    I'm using my 14'iBook most of the time in my office and thinking now to connect the iBook to my LCD screen (via a KVM). Does anyone know if mirroring the screen on a external monitor can do any harm to the iBook?. By example due to overheating or dra

  • HT1386 Syncing my contacts

    I am not seeing the summary tab to be able to change what is being synced.  I want to sync my contacts and it used to do it but it is not doing it now.

  • Possible to create partitioned index one partition at a time?

    I have a really large partitioned table. Wanted to know if I can create the partitioned index, one partition at a time? Trying to limit the amount of resources required to throw at it. Note this is not a rebuild or reindex operation. This is a brand

  • Can FCPX "upconvert" & export DVD video at 960x540?

    My video needs are basic -- mostly editing short clips, but often they're imported from standard DVDs from the pre-HD era. But as an audio pro, I'm accustomed to very flexible and precise editing controls. Frustrated with iMovie, I'm considering purc