Does "Open Vi Reference" work differently in 8.5 if a string input is wired to vi path?

SO I was reading the upgrade notes to labview 8.5 and I noticed a change in the "Open VI Reference" function.  In 8.2 you can simply wire a string of the vi name to the vi path input of the function, and labview will open a reference to the vi already in memory.  But in 8.5 the relative paths have to be the same. 
So say I have a vi in memory called window.vi.  Its real path is C:\test\window.vi.  And let's say its already in memory and its reentrant so I can call it by vi server.  I used to be able to just pass a sting containing "window.vi" to the vi path input of "Open VI Reference."  I like to do that because I already know the vi is in memory, and it is a big pain to get all the relative paths right between developement and deployed executable.  This way I don't have to worry about getting dozens of relative paths right for a bunch of support vi's when I build an installer.  Does this mean if I upgrade to labview 8.5 I'll have to change this every single place I did it and then rebuild every installer to include support vi's with relative paths to the exe that are the same as their relative paths to the main vi in the development environment?
-Devin
I got 99 problems but 8.6 ain't one.

Well thank god for that.  It is too bad the upgrade notes give no mention of how this impacts the executable environment, since it certainly seems like the executable the biggest and most likely part of the impact.  I bet you'll still have a ton of people with relative paths that are wrong in the installed executable but right in development environment.  Previously they would have worked even though the relative paths were wrong, but now you'll see errors.  By the way, what will happen if they have a relative path in the development environment but in the installed executable they compiled all their vi's into a single exe.  Will it error?  Do they have to rebuild with those vi's included as support files?
tst,
Check out the notes.  I don't know if there is enough there to understand or misunderstand, but I get nervous when they say stuff like this.
Open VI Reference Function
In LabVIEW 8.0.x and 8.2.x, if the name of the VI from the vi path input
matches the name of a VI in memory on that target, LabVIEW returns a
reference to the VI in memory and LabVIEW does not load the VI specified
in the vi path input. In LabVIEW 8.5, if the name of the VI from the vi path
input matches the name of a VI in memory on that target but the paths
differ, the Open VI Reference function returns an error.
Message Edited by billings11 on 09-05-2007 01:01 PM
-Devin
I got 99 problems but 8.6 ain't one.

Similar Messages

  • Why does "open vi reference" wait for "mouse up"?

    Hello,
    I need to dynamically load a reentrant subvi as soon as the user hit's a button. I'm using an event structure which I dynamically register for processing a "value change" event. Inside the even structure I placed an "open vi reference" vi. I set it's options to "8" to prepare the subvi for reentrant run and the program steps into the event case as expected. The problem is, that "open vi reference" doesn't execute before the mouse button is released.
    Is there any possibility to get "open vi reference" to execute while the mouse button is still pressed? (lock front panel... is disabled, "mouse down" event doesn't work either, static vi reference is not possible because I need several instances of the subvi).
    Any idea would be welcome.
    Thanks in advance,
    C. Halbgewachs

    There is something strange here, that has the smell of a bug...
    The mouse down event is detected as soon as the event occurs, but the corresponding case is NOT processed entirely if the mouse button is kept pressed.
    Most operations are immediately executed, EXCEPT the Open vi ref, or the File dialog vi, and probably some others...
    For the File Dialog, this is normal, since a dialog window has to be opened (interaction with the operator) while the operator is still acting on the button.
    But that's not normal for the Open vi ref.
    First I thought that this hads something to do with file management or disk access. Wrong : Files are opened and read immediately.
    The attached vi demonstrate this strange behaviour.
    Enjoy !
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Event Bug ?.vi.zip ‏19 KB

  • Does the Math.Random() work differently in Firefox and Safari??

    Hello,
    I was wondering if anyone can help me with a problem I'm
    running into using the math.random(). I'm using Flash CS3 and
    created a very simple script to select random frames in a simple
    movie. It works as expected in the CS3 environment and in Safari
    but it doesn't work correctly in Firefox or in the DotNetNuke
    module I am using. Here is the code:
    i = Math.ceil(Math.random() * 3);
    gotoAndPlay("Image"+i);
    I would appreciate any help you can provide.

    Thanks for following up with me. Yes. When I test the movie
    its works fine in Safari but not in Firefox and I don't have a clue
    as to why. I hope that you can shed some light on this for me.
    Thanks.

  • Open VI Reference Cant find Control

    Unless...
    Starting from the beginning, I am running LV2009. I am opening a reference to a functional global VI running on a remote computer to get the value that is in its' front panel indicator. I have two problems. The first is that when I use a string containing the VI name, it will not find the VI. When I use the full path to the VI, the Open VI Reference works fine. Annoying, but doable, as I only have about six FG to read and they are all saved in the same folder.
    Second problem, and the real reason for the post: I can get all control values as a variants without trouble by using Ctrl Val. Get All Method. But when I try to name a control in the (Ctrl Val. Get) Method, I get an error saying control can't be found.
    SO, I used property nodes to get the label text and checked to see if any were equal to the name of the control I am trying to read. It came up negative. So I created a list of the labels off of the Label. Text property node, and there sits the name I just checked for. So I copy and paste this back into the constant that is wired to the Control Name input on the Ctrl. Val Get Invoke Node, and no error. What the ??? So then I delete the text that I pasted into the constant and retype and it still runs fine.
    I checked and rechecked enough to know that I was not typing the name in wrong, but now it works fine. I can close the VI and reopen it, works fine. Type in the name again. Still works fine. Any thoughts?
    Solved!
    Go to Solution.

    deskpilot wrote:
    Unless...
    Starting from the beginning, I am running LV2009. I am opening a reference to a functional global VI running on a remote computer to get the value that is in its' front panel indicator. I have two problems. The first is that when I use a string containing the VI name, it will not find the VI. When I use the full path to the VI, the Open VI Reference works fine. Annoying, but doable, as I only have about six FG to read and they are all saved in the same folder.
    Second problem, and the real reason for the post: I can get all control values as a variants without trouble by using Ctrl Val. Get All Method. But when I try to name a control in the (Ctrl Val. Get) Method, I get an error saying control can't be found.
    SO, I used property nodes to get the label text and checked to see if any were equal to the name of the control I am trying to read. It came up negative. So I created a list of the labels off of the Label. Text property node, and there sits the name I just checked for. So I copy and paste this back into the constant that is wired to the Control Name input on the Ctrl. Val Get Invoke Node, and no error. What the ??? So then I delete the text that I pasted into the constant and retype and it still runs fine.
    I checked and rechecked enough to know that I was not typing the name in wrong, but now it works fine. I can close the VI and reopen it, works fine. Type in the name again. Still works fine. Any thoughts?
    A trailing space in your original constant fits that problem description.
    May be helpful...
    If you know the data type of the data you are reading using the val prpererty node, you can use the "TO more specific" node to cast your refences to the proper type. After doing so your val will not be a variant and you can use the standard LV operators to work with the data.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • F1 key does not open script reference anymore

    Hello Gurus,
    I had used Macromedia Flash and an old but good feature does not seem to work any more in Adobe Flash Professional CS6.  This feature is by highlighting a recognized keyword "in blue" in the actions panel followed by the F1 key, a local version of the actionscript reference opens in a different window.  Was this feature removed?  If so really wish to have that back...
    Thanks for your time!
    Newbie

    Yep, that came broken in CS6. You can find the update here: http://www.adobe.com/support/flash/downloads.html#flashCS6

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Madison Square Garden web site opens but when I click on view all concerts tab at the MSG site it does not open. It works with AOL but not Firefox

    I go to '''www.thegarden.com''' I click on the tab '''View Full Calendar'''. It does not open. It works on AOL but not Firefox. And for some reason it also does not work when I use Internet Explorer. The majority of times when I click on that tab (in Firefox) it does not work. On a rare occasion it will open. I am not doing anything differently either time.
    Any help would be greatly appreciated.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I just bought an Iphone4 from straight talk and my camera does not work. The shutter wont open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile and now that I have it, it does not work properly. Need help

    I just bought an Iphone 4 from straight talk. My camera does not work. The shutter does not open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile. I want the issue fixed.
                                                                                                                                                     Thanks

    Take the iPhone to an Apple store genius bar for testing, and if it is defective and under warranty they will replace.  Since you say iPhone 4, was this a used or refurbished iPhone? 

  • HT1338 My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    Hi ...
    Checked to see how much free space there is on the startup disk lately?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Freeing Up Hard Disk Space - Mac GuidesFreeing Up Hard Disk Space - Mac Guides
    If disk space is not the issue, booting in Safe Mode deletes system caches that may help.
    A Safe Mode boot takes longer then a normal boot so be patient.
    Once you see the Desktop, click the Apple menu icon top left corner of the screen.
    From the drop down menu click Restart.
    See if that makes a difference ...

  • Why does not  open(fileObj,rawOpt); work properly?

    Hi!
    I'm trying to open a RAW file without header, so I want to say to Photoshop what dimensions I want. This is my idea:
    var filename = File.openDialog("RAW");
    if (filename) {
    var rawOpt = new CameraRAWOpenOptions();
    rawOpt.settings = CameraRAWSettingsType.CAMERA;
    var fileObj = new File(filename);
    rawOpt.bitsPerChannel = BitsPerChannelType.EIGHT;
    rawOpt.width=30;
    rawOpt.height=1000;
    rawOpt.channelNumber=3;
    docRef = open(fileObj,rawOpt);
    But my Photoshop CS2 fails telling me that docRef = open(fileObj,rawOpt); is not implented.
    However, if I use open(fileObj) it works, but it shows me a dialog to insert dimensions and I don't like that.
    Any idea/suggestion?
    Thanks a lot for your time.
    BTW. I inserted this question in the wrong forum before, so now I put it here. Sorry for any inconvenience.

    Thank you for your reply.
    The "does not work" means that the motor doesn't move with servo type.
    In MAX, there is no error when a target position is less than 999 in 1-D Interactive, but doesn't move. When the target position is more than 1000 and I click "Apply" and "Start", error ramps of "Motor off" and "Following error occurred" are red. And the motor doesn't move.
    I thought that firstly signals of encorder have been wrong because the motor have not moved with stepper mode of closed-loop and feedback of encorder.
    So I would connect correctly wiring of encorders, but the motor doesn't move.
    Wiring of all is "STEP", "DIR", "AO", "ENC A, B and Index bar" respectively. In MAX, type is servo mode, feedback is encorder, kinds of limit switch are not used.
    I supply it if you need the other setup of wiring or information.
    Regards,
    Megumi

  • I recently purchased a Canon 7D. I own Adobe Photoshop/Bridge CS5. I cannot open my raw images in Bridge. I have tried to download the plug in but does not seem to work. Please Help, I need to be able to open my raw images in Bridge ASAP. I do not want to

    I recently purchased a Canon 7D. I own Adobe Photoshop/Bridge CS5. I cannot open my raw images in Bridge. I have tried to download the plug in but does not seem to work. Please Help, I need to be able to open my raw images in Bridge ASAP. I do not want to upgrade to CS6 at this time.

    If you had given us sensible information, I could look it up for you if your efforts fail.
    Right now, I don't even know if you are on a Mac or on a Windows box.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Pararells desktop 5 can't open after Lion installation.  does pararells desktop 6  work with Lion?

    Pararells desktop 5 can't open after Lion installation.  does pararells desktop 6  work with Lion?

    Latest build (6.0.12094) works fine with Lion.  V4&5 do not work.  If you upgrade to V6 now you get a free upgrade to V7 (according to the Parallels site).  V7 is coming soon or now if you are a registered V6 user.

  • Does the creative cloud use different proxy settings as my works internet security (NHS) is potentially blocking connections?

    Does the creative cloud use different proxy settings as my works internet security (NHS) is potentially blocking connections?
    Can only update apps through my home internet connection.
    Any advice would be helpful.

    Quick update. Added to a previously filed bug. Looks like it's assigned now so maybe we'll see a fix for this soon.
    https://bugzilla.mozilla.org/show_bug.cgi?id=563169

  • HT1923 I am using windows 7 and have upgraded itunes to 11. Now when I open my music library in itunes and click on a song it says "original file could not be found" Over 2000 songs come up this way and locate does not seem to work. Before the upgrade all

    With Windows 7 I upgraded itunes to 11. Now in my itunes library, when I click on a song "original file could not be found" comes up. This happens with over 2000 songs, but it seems to be ones I recorded from cd's. Locate does not seem to work. Has anyone else had this problem?

    Highlight a song that is supposedly missing, press CTRL+I to Get Info, say no when asked to locate the file, then look at the summary tab. Where does iTunes "think" the file should be? Where is it really? You may need to give a configuration file a minor tweak.
    tt2

  • External monitor works differently if MBP open or shut...why?

    I have a new 23 inch LG HD external monitor for my MBP (connected via mini to vga). Using all latest software.
    If connected to the MBP, and you start the MBP, and shut the lid (i.e. screen down), the LG external monitor comes up in 1920x1080 and covers the entire screen. This is what I would expect.
    The same as above, but leave the lid on the MBP up (i.e. screen is visible), the monitor comes up in 1920x1080, but letter boxed (i.e. two 1" black vertical bars, one on each side). The makes the usable screen real estate much smaller.
    Any idea what is going on?
    Is there a way to turn the MBP built in monitor off with screen/lid up?
    thanks
    bob

    BobInIndy1 wrote:
    I have a new 23 inch LG HD external monitor for my MBP (connected via mini to vga). Using all latest software.
    If connected to the MBP, and you start the MBP, and shut the lid (i.e. screen down), the LG external monitor comes up in 1920x1080 and covers the entire screen. This is what I would expect.
    The same as above, but leave the lid on the MBP up (i.e. screen is visible), the monitor comes up in 1920x1080, but letter boxed (i.e. two 1" black vertical bars, one on each side). The makes the usable screen real estate much smaller.
    In the "Arrangement" tab of the "Displays" panel of System Preferences, is "Mirror Displays" checked? It wouldn't surprise me if things worked differently depending on that setting.
    Is there a way to turn the MBP built in monitor off with screen/lid up?
    Someone else will have to answer that question.

Maybe you are looking for