Find Object.vi function of 3D picture control - when object not found

I am using Labview 8.2, and this post is regarding the 3D Picture Control.
I am wanting to make use of the "Find Object" VI to either return a reference to a named object, or otherwise determine that it does not exist yet.  However, if I call it with the name of an object that doesn't exist yet (i.e. just any random string), it returns an error message that arises from the attempt to release a queue (the reference to which gets lost when crossing a zero-iteration For Loop's tunnels), instead of an error message that says "Object not found" which I would find much more useful.  With a simple modification of the "Find Object.vi" function, this behaviour can be changed, by replacing the For Loop's tunnels with shift registers.
The problem with the current function is that the error is not an intentionally thrown error, rather just the result of the queue's refnum being set to the default 0 as it "exits" the For Loop, since in the situation that an object is not found, the code passes a 0 to the N terminal.
The attached images show the problematic code and the simple modification
Attachments:
Find Object.png ‏2 KB
Find Object_modified.png ‏2 KB

pauldavey,
I agree with you - the current way of handling the case of an object not being found does not appear to be ideal.
This was reported to R&D (# 43D8GSVQ) for further investigation.
Thanks for the feedback!
Regards,
Simon H
Applications Engineer
National Instruments

Similar Messages

  • I can find many purchases in my purchase history, but they are not found when I "Check Available Downloads." How else can I download my purchases?

    I can find many purchases in my purchase history, but they are not found when I "Check Available Downloads." How else can I download my purchases?

    what happened to the initially downloaded files ? did you make a backup ? do you use time machine ?

  • How can I view my object in Labview's 3D picture control?

    Hey everyone,
    I'm very new to Labviews interface and was wondering how I can go about creating a VI (or subVI) to load my pre-existant VRML file and display it using 3D picture control.
    Just looking for a very simple solution.
    Many Thanks!
    Solved!
    Go to Solution.

    Hi,
    The VIs used to load a VRML file are only included in the Full Development System version of LabVIEW according to the help. If you do not have a Full Development System License you won't be able to find those VIs.
    You can find them under : Programming » Graphism and sound » 3D Picture control » File loading (sorry for the bad translation I have French version).
    Regards,
    Da Helmut

  • How can I run graphic object on report. ( I got REP-1246 Chart not found)

    Hi All,
    I made a report that consists a chart object. When I run it on report builder, it works well. But When I call the report from client side, I got "Rep-1246 Char Document not found" . I tried to solve it , I couldn't solve the problem . If I delete chart object from report , then report works well on client side. I didn't use graphics builder to create graphs I used only report builder to do it. I read the threads about it , but I couldn't find the solution. All solutions are about path of graphic file. I don't understand it. Because I only have *.rdf *.rep file. There is no any graph file in my system. I can create it in graphic builder but I don't know how can I deploy the graph object into report layout and run ?
    I need urgent help ..
    Thanks in advice
    Suleyman

    Hi again , I used developer 2000. In order to show graphic object on report firstly
    I created my graphic object on oracle graph builder.After that I save it like mygraph.OGD . Then I added graphic object on report builder by using graphic object on report builder. When you click the graphic object you will see CHART FILENAME part in part of CHART. In this field , you should add graphic file path that you created on graphic builder. I added mygraph.OGD into this filename part. I worked well.
    Good LUck !

  • Have had ELPH100HS for 2 years. I can't transfer pictures because "support devise not found." Also c

    I've had ELPH100HS for 2 years. Up until now, everytime I transferred pictures to my computer, a camera icon would appear when I connected the camera via USB to the PCU.  But, recently, the icon is missing, but I hear the bleep (connecting sound) I always have.  However, I am unable to transfer pictures to the computer. The message that keeps popping up is "support device not found." I can't find my discs or my manufacturer's book that came with the camera. What should I do? Thanks. RAY

    Here's the hosting that gives you a personal support person...
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html
    As for your problem, try the troubleshooting steps under "Fix iWeb" here...
    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html
    Also check the files you are trying to upload - especially image files - for spaces or special characters in the file name.

  • Export of pictures - original raw data not found

    Hello everyone,
    I have been trying to export a few pictures. But I always get the error, that the orginal folder could not be found. So Lightroom just creates an empty folder without exporting any of the pictures.
    I have attached a sreenshot of the txt file with the error and the location of the not found folder, which is exactly the same as the stated location in the error code.
    ANd I have already worked with Lightroom where I didn't have any problems exporting the files. So I am left without any clue..
    I really appreciate any help
    Best regards

    Yes there were exclamation marks and I just had to click on them and give in the directory again.
    Now it isworking perfectly fine.
    Thanks a lot

  • Firefox 4 is not appearing in Task bar or some times it is Disappearing from task bar when i am minimising the window. so, i had to go to Task manager and find the icon.Its becoming big messy if tabs are not found , to switch programmes.

    firefox icon is missing from "Task bar"when i am minimising the window

    I am unwilling to attempt navigation away from these sites. The pop-ups that occur on the attempt to leave a site or to close the browser are exit traps offering incentive to stay.
    Once upon a time, when the internet was less dangerous, I would be willing to close the exit pop-ups. Now, after twice being infected with malware trying to close the pop-ups, I now force close whichever browser I am using.
    Recently, I clicked on the red X to close one pop-up, and it installed a trojan that I had to pay to be removed. When I clicked on 'Leave' in another exit pop, it didn't exit and it turned out I was giving permission to run a script file. Now that criminals have learned these exit pop-ups can be used to force a click action, the sites using them have become dangerous.
    If I force the browser to close using Task manager, Please tell me how to stop FireFox from sending me directly back to the same site because it mistakenly believes it crashed when it did not. I forced it to close because I was on a site that had taken control of my browser and was not allowing me to leave the site.
    No other browser sends me back to the potentially dangerous sites. I prefer Firefox, but the new version must have a setting that allows me to get safely away from a problem site?

  • Clound control 12c : database not found

    Hi oracle aces,
    I've installed could control in a redhat host (OMS and AGENT, both installed and running ok)
    the host contains two databases : the repository database for EM and the database I want to monitor (same ORACLE_HOME, both are configured in tnsnames.ora)
    The problem is i'm not able to add the database, the host is recognized in cloud control, i've tried both "search" and "manually adding" targets
    Is there a way to add this database ? or it is mandatory to install OMS and the repository database on a separate machine ?

    See Understanding Database Discovery in Enterprise Manager 12cCloud Control [ID 1400463.1] particularly section " Has the database been discovered? #3.
    Dave

  • Need help scanning in Pictures:hp 4500-pics not found/trying to open scanning session

    I have successfully scanned once with my hp 4500 printer, but once images are scanned nothing happens.  They are not in iphoto even though I scanned them to pictures folder.  When I open the printer scanner icon it says "trying to open scanning session" and remails here indefinitely.  HELP!

    OS X 10.6.8
    Regardless of selecting pictures, or iphoto, once that first scan is done, the pics are not there and no other scans can be done afterwards without the printer/scanner locking up and saying trying to open scanning session.  In image capture my printer scanner is not visible, the printer is visible however as a desktop icon.
    Thanks for any help!

  • TS1702 ipod no longer finds updates in the app store. it say app store not found.

    my ipod no longer update apps from app store. How do I fix it?

    i have same problem mare i need it up dateing man its wank in it man

  • BCG Brightness Contrast Gamma - Looking for BCG function returning color table / lookup table coded in pure G and applicable to Intensity Graph or Picture Control

    Looking for BCG function returning color table / lookup table coded in
    pure G and applicable to 8-bit Intensity Graph or Picture Control. Do
    not want to use IMAQ Vision is this particular application.  Any
    help is appreciated.
    Sincerely,
    Don

    Take a look at this color model software I put together.  (Don't concern yourself much with the basic programming at this point.). The color component generator subVI is borrowed from a LabVIEW example.
    First look at test_color2.vi.  If you adjust the sliders of the various controls, you will see how it works.  You can see that for pure B&W images, brightness, contrast, and gamma (which I think I have coded correctly) are all fairly straightforward to modify.
    Now look at test_color3.vi.  Here we try to adjust BCG for color images using the color model shown here where current color component clusters are carried into the BCG event cases via shift registers.  You can see that once color is introduced into the image, it becomes difficult to mix the colorizing with the BCG model.  And this is pretty much where I am right now.
    Would be interested in comments / suggestions.
    Sincerely,
    Don
    Attachments:
    test_color2.llb ‏2251 KB

  • Can't find Business Object for Functional Location BOM in BAPI

    Hi all,
    I've to make Upload Program through BAPI for Functional Location BOM,for making that Upload i can't find BUSINESS OBJECT for FUNCTIONAL LOCATION ,Equipment BOM and Fleet Object (Vehicle).Kindly tell what Business Object should i used to create that Upload Programme.I shall be very thankful to you.
    Regards,
    ABAPFK

    Hi
    you have to do all steps in LSMW
    1.Maintain Object Attributes
    2.Maintain Source Structures
    3 Maintain Source Fields
    4 Maintain Structure Relations
    5 Maintain Field Mapping and Conversion Rules
    7 Specify Files
    8 Assign Files
    9 Read Data
    10 Convert Data
    11 Create Batch Input Session
    Please maintain source fields required.thats important.(maintain 2 level-header and item,also provide common name of column to link to 2 files
    Header file:sample
    RECORDNAME     EQUNR     Plant
    10001031                        10001031      3000
    Item file:sample
    RECORDNAME     ITEM NO     MATNR     Item catg   QTY
    10001031                             10      P-1001          L               1
    Regards
    Seenu

  • How can I determine mouse position within a 2D picture control

    I have an application where I'd like the user to be able to interact with objects drawn in a 2D picture control using the mouse.  In order to do this, I need to translate between screen coordinates, which are passed with the mouse events, and coordinates in the 2D picture control.
    The problem I'm running into is that I can't find a way to determine the screen coordinate of the upper left hand corner of the 2D picture control's drawing/client area.  I tried using the picture control's "Position" property, but this results in an offset due to the difference between the upper left hand corner of the picture control (including the label, etc.) and the upper-left hand corner of the drawing area.  See attached VI.
    Does anybody know how to get the screen coordinate of the corner of the picture control's drawing area?
    Mark Moss
    Solved!
    Go to Solution.
    Attachments:
    2D Picture Mouse Test.vi ‏27 KB

  • Memory Leak with Picture Control

    Hi all
    There is bug with Picture Control
    When you insert you picture data in loop into the shift register, memory leak
    Can somebody to prevent this bug?
    Run attached example and look at Task Manager
    Attachments:
    Picture Memory Leak Example.vi ‏24 KB

    I believe David properly called the cause of this memory consumption.
    In reply # 52 of thsi thread,
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=5&jump=true
    I posted an example that inserts 130 FP object images in a picture and moves them around (it is a random walk where each object is assigned a letter and the program terminates when all of the letters required to spell out "Hello World" wander into the trap at the bottom.)
    A snippet of the code follows.
    A) Start with a blank picture
    B) Inster all of the images
    C) show the updated image.
    Other links to LV Picture control examples can be found in this thread.
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
    Ben
    Message Edited by Ben on 01-14-2007 08:58 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Many_Objects.JPG ‏24 KB

  • Can't find the Expand-function

    Hi! Can anyone help me. I'm using the 16.0.0 version of Illustrator CS6 and i'm really new to it. Under the Object menu, I cannot find any Expand-function that I've been told should be found there. Anyone experiencing the same problem? Is this option only appearing in object menu during certain circumstances?
    Thank you!

    It should be there.....
    If you don't see it at all, you may want to trash your Illustrator settings and relaunch the app.

Maybe you are looking for

  • Layout file wont open

    Ive just update to Tiger and Final cut studio, and while they both are great, Ive notice the layout file that come in the video folder when a dvd is made by DVD Studio Pro, does not open! Ive tried taking it out of the folder but still not opening. W

  • Safari does not display full URL

    Safari 6.0.5 will not display full URL until I click in the URL Location bar.  For example, the full URL of this page is: https://discussions.apple.com/community/mac_os/question-post!input.jspa?containe rType=14&container=2131&fromWidget=true&questio

  • One of my photos pages doesnt slideshow

    one of my photos pages doesnt show an enlarged image when you double click on the image , also it wont do the slideshow function....when i try doing either i get an error dialogue saying this page cant be found. heres the link http://web.mac.com/thom

  • Can I deploy the same ear one different OS

    Hi,           I created 1 ear file on NT and deployed using WebLogic 6.1 SP2 on NT. It           works fine. I want to deploy it on other OS (I don't have WebLogic on other           OS installed yet). Can it work?           Thanks.           C Zhang

  • Why all the Font Explorer X server requests?

    I recently upgraded to the paid version of Font Explorer, Linotype's Font Explorer Pro X 3.1, on my Macbook Pro running OSX10.6. Every time I launch the app, it goes through a 3-5 minute process where it gives me the following "Connection failed" mod