Open the waveform array Vi object reference

Hi, I would like to change a property of an indicator in a VI of VI another (in particular I want to erase a waveform graph), I used Open VI object reference, but I'm not able to access the data in the history. How can I do?

OK, sorry for the confusion between you. I haven't checked the strict reference waveform with reference open function.

Using the "good old way" works:

Norbert

Tags: NI Software

Similar Questions

  • RTE de LV cannot open the project files that include references .lvlib in dependencies

    I am writing a DLL LabVIEW to inspect the LabVIEW project files, and I noticed that if a project has a .lvlib reference in its dependencies, then the Run-Time Engine is contradictory on whether or not he can find the project file:

    • Project.Open returns error 7 (file not found)

    • Project.GetFileLVVersion is a success

    Here are some excerpts from my code of G and C engaged in this behavior:

       int openStatus = StatusSuccess;
    char * projectVersion = createStringWithLength (VersionStringLength);

    printf ("Analysis %s\n", pathchaine);
    OpenProject (pathchaine & openStatus, projectVersion, VersionStringLength);
    printf (" project written in LabVIEW %s\n", projectVersion);

    If (openStatus is StatusSuccess)
    {
    printf (" Open the project file.") \n") ;
    }
    on the other
    {
    printf("Error: could not find Project file, or file was not a Project file (Error code %i).\n», openStatus);")
    }

    However, when running in the development environment, the two methods are successful.

    Is this a bug, and if so, is it fixed in 2014 of LabVIEW?

    Here's how you can reproduce:

    Prerequisites:

      1. LabVIEW 2013 SP1 32-bit

      2. ConEmu for a good console- https://code.google.com/p/conemu-maximus5/wiki/Downloads

      3. minGW for compilation of a program to use the LabVIEW - http://sourceforge.net/projects/mingw/files DLL

    reference .lvlib to break dependencies Project.Open in LV RTE

      1. Open the attachment in a temporary directory (e.g. c:\xtra\temp)

      2. Open "OpenProject.lvproj" in LabVIEW.

      3. Build 'Open library project'.

      4. ConEmu with a bash command prompt, navigate to the temporary directory.

      5. Type make

    $ make
    patch the file "builds/platdefines.h.
    GCC - std = c99 g OpenProject.c o OpenProject.exe - lOpenProject - Lbuilds

    6. type "c:\xtra\temp\OpenProject.lvproj" OpenProject

    OpenProject $ 'c:\xtra\temp\OpenProject.lvproj '.
    Analysis c:\xtra\temp\OpenProject.lvproj
    Project written in LabVIEW 13.0
    Open the project file.

    7. the opinion that both call nodes execute correctly.

    8. type "c:\xtra\temp\OpenProjectWithLvlibDep.lvproj" OpenProject

    OpenProject $ 'c:\xtra\temp\OpenProjectWithLvlibDep.lvproj '.
    Analysis c:\xtra\temp\OpenProjectWithLvlibDep.lvproj
    Project written in LabVIEW 13.0
    Error: Could not find the project file or file was not a project file (error code 7).

    9. notice that the node version managed while the open failure.

    10 type diff OpenProject.lvproj OpenProjectWithLvlibDep.lvproj

    $ diff-u OpenProject.lvproj OpenProjectWithLvlibDep.lvproj
    -OpenProject.lvproj kills Nov 4 11:28:28 2014
    +++ OpenProjectWithLvlibDep.lvproj kills Nov 4 11:32:37 2014
    @@-13,7 + 13.11 @.
    true
    fake

    -
    +
    +
    +
    +

    +



    true

    Here's another way to trigger this behavior, which shows that LabVIEW occasionally Range the element dependencies:

      1. Open "OpenProject.lvproj" in LabVIEW.

  • Add to the project a new VI and place the constant path of file "Application Directory" his block diagram.

  • Select ""leader "Save All (this project)" and use the default name for the new VI.

  • Type 'c:\xtra\temp\OpenProject.lvproj' OpenProject

  • Notice that there is a mistake once again, as is expected.

  • Remove the "Application Directory" path of file constant

  • Select ""leader "Save All (this project)"

  • Type 'c:\xtra\temp\OpenProject.lvproj' OpenProject

  • Note that the problem has disappeared, as is expected.

  • Add the "Application Directory" path of file constant in the block diagram.

  • Select ""leader "Save All (this project)"

  • Type 'c:\xtra\temp\OpenProject.lvproj' OpenProject

  • Notice there is no problem, which is surprising, because that there should be a mistake because the dependencies item was not tidy.

  • Close the new VI and pull out of the project.

  • Select ""leader "Save All (this project)"

  • Open "OpenProject.lvproj" in a text editor.

  • Note that the dependencies item was put away.

  • Add VI back to the project.

  • Select ""leader "Save All (this project)"

  • Type 'c:\xtra\temp\OpenProject.lvproj' OpenProject

  • Notice that there is a mistake once again, as is expected.
  • NInjaneer_wow wrote:

    The same behavior occurs in LabVIEW RTE: a new project with a constant of the Application in an empty vi directory will return an error 7 - file not found, but still return the correct version of LabVIEW in which the project was created.

    I did experiment with workarounds for this problem, and I found a.

    When I used to get the path of LabVIEW libdir in the ini of the executable file, execution is able to load and inspect the project file.

    LIBDIR = 'C:\Program NIUninstaller Instruments\LabVIEW 2013'

    While it is expected that a stand-alone executable can be placed on a system that does not have the LabVIEW IDE, it is still surprising to me that the execution engine cannot find standard library of LabVIEW without some explicit guidance. What other factors contribute to this behavior?

    References:

  • the station's overall object references

    Are station global object references stored in a file as the globals other station? If so, how?

    The values of the attributes of the object can be recovered?

    Reference values are not preserved in the files. It is not technically possible in the general case, since a reference can point to any ActiveX object or .net.

  • Unable to save object Style and can't open the Style of ERROR object manager

    HY

    I'm confused. When you try to save a Style I can click OK and nothing happens.

    When you try to open the Captivate 8 style Manager is colapsing with a fatal error. (Captivate 8.01.242)

    When I open examples of projects I don't have this problem. It is when creating new projects.

    What can I do?

    Greetings

    Joachim

    What do you see in the themes? In German, I see that the button has the label "design"? I try just, totally baffled by your problem.

    The Layouts folder that I was talking about seems to be corrupted. That's why I asked if you removed before reinstalling. The path is:

  • PP 2015 cannot find the waveform monitor

    Have you tried to open the waveform for the portable and desktop monitor and options seem to be composite diabe, alpha and multi-cam, if you click Display Mode. However, the PP said help click on the source program or chronology and window to select. But only litters I see are Lumetri.

    Uses computer laptop Lenovo Z570 and HP Z800 with Adobe certified card Nvidia GTX and the same issue on both.

    Thank you all!

    The old waveforms have been removed in 2015 CC (9.0) and replaced by the new and improved Lumetri Scopes. Go to the window menu > Lumetri Scopes.

  • Error "Object reference not set to an instance of an object" when you try to use a disk with vSphere Client

    Hi all

    I searched exhaustively positions but found no answear that.

    I'm trying to access a virtual disk that is free (no machine not in use now).

    For this purpose, I am went to a virtual computer, then clicked on edit settings - & gt; Add hard drive - & gt; use a disc

    Then, when I am prompted for the disk, I select it and click ok.

    When I click on 'Next', you will receive the following message:

    Object reference not set to an instance of an object

    (it seems really in Spanish: Referencia an object no set como UN instance object)

    And then the next button appears as non-cliquable.

    Any suggestions?

    It could be related to the .NET Framework, so I write here the versions I have currently installed:

    .NET framework 2.0 SP1 LanguagePack

    .NET framework 2.0 SP2

    .NET framework 3.0 SP1 language pack

    .NET framework 3.0 SP2

    .NET framework 3.5 SP1

    All this with the patches.

    Thank you in advance for your help!

    Juan J.

    PS: I found there was information about the lost pilots and VSphere Client. I already changed those:

    %RootDrive%\%ProgramFiles%\VMware\Infrastructure\Virtual infrastructure Client\Launcher

    Where I copied libeay32.dll and ssleay32.dll

    I would then watch the logs on the ESXi console.

    Re-create the error, and then search for log entries that appear at the same time.  That should shed more light on what could be causing it.

    Good luck!

  • Access to the elements of an array passed as object reference

    Hi all!

    I am quite new to TestStand and therefore, my question might be simple enough but I was not able to find the solution by looking at previous posts.

    I have a sequence that passes a custom array (of data type) to another to make basic on the table stuff (reverse the order of the elements, for example).

    I want to move to the sequence called an object table reference

    The problem is that I am not able to read the array element inside the sequence called using the object reference.

    I found the way get the number of items, but I'm not able to access the item

    In addition, the TestStand GUI is able to let me see the array pointed to by the object reference that is passed within the known sequence, so it is possible to access... but how?

    I want to do operations on the object reference passed within a 'No return' TestStand if possible.

    Thank you very much.

    Andrea

    In other words:

    How do I access the field 'temperatureTag' item number '0' from the object variable reference referenceToClone?

    Locals.referenceToClone [0] .temperatureTag does not work...

    I don't know what is the recommended method to solve your problem. When you try to few alternatives, I was able to get the value required by the following expression (tested with TestStand 2014):

    Locals.referenceToClone.GetPropertyObject("[0]",_0).temperatureTag

    Try and tell me if it works for you.

    Use this workaround with caution.

    -Shashidhar

  • Reference to the waveform diagram

    Hello world!

    Im having some problems with my code. I can't put a reference line (or another function, as a sinusoid of reference) in the waveform table, I tried to put a package but I couldn't make it work, the wire bundle not on the list of waveform. I would like the references to stay still and moves not as pictured.

    the other thing is that im working with control of the force, and I want to record in a table of max 3 force values (there will be 3 tasks of the maximum force, and I want to save the 3 max values with 60 s interval between them, by running the program only once), but it does not work.

    some ideas, please?

    To write more than one location in your chart, you need an array of waveforms.  A waveform will be your reference.  You can make one for each of your values of max.

  • [BUG] TestStand 2013 receives corrupt data to LabVIEW adapter if the cluster contains waveform array

    Hi all

    I am having trouble with the corruption of the data. My minimal test case is below.

    I have a VI that returns an array of clusters. My TestStand sequence simply call this VI and connects to its output:

    When I run the (with my open VI) .seq file, I can see the update of the Panel before LabVIEW with expected values:

    However, TestStand receives all these values. Waveform bays have the correct values, but everything else is empty / null:

    If I delete my typedef waveform table, all elements of the cluster are correctly registered by TestStand.

    I've attached an example of test (2013 TestStand, LabVIEW 2013) case.

    Any ideas on how to make it work?

    Hey JKSH,

    Thanks for the detailed on this report. I looked into it a little bit last week.

    I think that it is closely related to the 206892 of CAR, which describes a problem where data will not appear on the report unless a property or variable is specified for the output waveform parameter. However, this does not completely cover your case, because you see incorrect digital data in the row with the waveform of your cluster. I filed 462209 CAR for that matter, and we will investigate it more thoroughly.

    This problem only affects data that appears "below" the waveform in the cluster. In the case of the sample, if you put the waveform as the last element of the bunch, I think that it works correctly. I know that your real data could be more complex than this example, but this workaround solution would help in the meantime? You could also consider separating the waveform of the rest of the data, that would probably work too.

    As I said, please let us know, and it is classified in our system now for a developer to investigate the matter. Please let me know if solutions are not appropriate for your application, we would be happy to know a little more about your overall use case order to work around the problem.

  • Script to open the dialog box "Insert reference."

    Hello

    I'm trying to get something that I (thought) is quite simple. When I right click I want to add a menu option to the context Menu to open the "Insert cross-reference...." "Dialog box. But I can't seem to progress actually open this dialog box.

    Here's what I have:

    (1) I understand how to add context, based on http://www.hubbers.info/content/customize-indesign-and-incopy-contextmenus menu item

    (2) I understand in general how to launch the menu items, based on http://www.indiscripts.com/post/2010/02/how-to-create-your-own-indesign-menus

    However, I can't seem to understand whence these keys, and what is the key to the reference/menu dialog box. They reference the findKeyStrings() function, but it does not seem to return anything to "Insert cross reference", a name in my language menu item:

    app.findKeyStrings ("hyperlinks and cross-references")

    Result:

    app.findKeyStrings ("Insert cross-reference...")

    Result:

    I tried to change another script I found who poured everything menu ID, to empty the key values. While the "Insert cross-reference...." "and"Links and references"both appear with a box and identification, the KeyString is empty! I'm doing something wrong?

    Thank you

    -Colin

    Here is my script list the IDS:

    var myActions = app.menuActions;
    var myActionsList = Array();
    var counter = Number(0);
    
    var menuMask = null;
    
    var keyString;
    for(var i = 0; i <myActions.length; i++){
    
        var nameStr = String(myActions[i].name);
    
        try {
            keyString = String(app.findKeyStrings(nameStr))
        }
        catch(all) {
            continue;
        }
    
    
        myActionsList.push(nameStr);
        myActionsList.push(String(myActions[i].area));
        myActionsList.push(String(myActions[i].id));    
        myActionsList.push(keyString);
    }
    
    var myDoc = app.activeDocument;
    var myTextFrame = myDoc.pages[0].textFrames.add();
    myTextFrame.geometricBounds = app.activeDocument.pages[0].bounds;
    
    var myMenuActionsTbl = myTextFrame.insertionPoints[0].tables.add();
    myMenuActionsTbl.columnCount = 4;
    myMenuActionsTbl.bodyRowCount = myActions.length;
    myMenuActionsTbl.contents = myActionsList;
    
    

    Ah... Yes it makes sense, so he is right behind them ;-) But you right - it seems that findKeyStrings should ideally ignore these, you want to send the English version, not the "English with all these additional signs.

    In fact, I don't remember. I was almost about to write a bug report. But I think it's just that the script documents are deficient:

    * EDIT *: so if you are on Windows, you can determine the string to go straight. Press alt and use the keyboard to navigate in the menu, this will allow you to see where the ampersand should be added. For example here is my part of the menu:

    There is a much easier way! The signs appear in the title property:

    app.findKeyStrings(app.menuActions.itemByName("Insert Cross-Reference...").title)
    Result: $ID/New XRef...
    
  • FGV VI within the class method called the array of objects in a for loop

    I have an array of objects connected to the loop for I call the VI method on the object in the loop for. If the method uses/calls some VI with state/memory (such as FGV) State is shared for each method call in a loop despite the called VI is reentrant preallocated. Someone knows how to fix this?

    NVM. I found an answer:

    https://lavag.org/topic/19014-dynamic-dispatch-shared-reentrancy/

  • find the memory leak when switching from Teststand object reference to vi

    I use Teststand to call labview vi and col ThisContext sequence to vi as object reference, but if I just completed this step and I can find the memory to help keep more, how can I avoid leaks memory inside the vi.

    See my vi, is displaying an interface message user.

    You should use a node reference close to close the references that you get after an invoke. In the code below, you should be able to close the references that you get the following:

    AsPropertyObject

    Thread

    Close these two references, once you're done with them.

    Also make sure you have turned off the collection of results of your sequence or you will use memory constantly to the results of the stage.

    Hope this helps,

    -Doug

  • Open the Panel front of the Subvi, which is called by reference in the EXE

    I want to open the façade of a Subvi when it is called. This sub - VI will open the façade of a Subvi third level. So, I want to go back to the main.vi the output of the subVIs.
    I can do successfully in the development environment.
    I call on the reference asynchornously screws. If the screw load when they are called and the calling VI awaits the release of the subvi.

    I am attaching the screenshot of the window subVIs properties customize.

    When I build the application, the executable file could not be opened the Subvi front panel, even if the paths of the subVIs are related.

    I also put the subVIs in the field "Always included" the build properties and the box "Remove front panel" is not selected.

    I join the project and screenshots of the parameters.

    If you had used the dialogues of error, you would have seen the paths of access to the VIs you build are not valid.  The screws are always included in the EXE file, so you don't have to do any special stripping of the VI EXE path.  A fake wire to your case structure determine the path, and it works perfectly.

    Just dual-band is the path if you try to get the EXE directory.

  • What is the best way to save an array of objects and then load it?

    Hi, what is the best way to save and load an array of objects?

    I hade a code like that, but it does not work:

    var test = new Array();
    test.push(new Foo("a"));
    for (var i = 0; i < test.length; i++) {
        console.log(test[i]);
    }
    // save and load, then show again
    localStorage.setItem("test", test);
    var test2 = localStorage("test");
    for (var i = 0; i < test2.length; i++) {
        console.log(test2[i]);
    }
    

    the problem is, the first newspaper that get the things I want. The second time I get:

    Uncaught TypeError: Property 'localStorage' of object [object Object] is not a function
    

    The work around this problem is to stringify before saving and then analyze before loading.

    http://StackOverflow.com/a/2010948/773263

    Although I said, it is better to use IndexDB.

  • I think it would be helpful if when you open the drop-down list for a 3D object keyframe controls have the same color as the 3D arrows in the project window.

    3D colors.jpgI think it would be helpful if when you open the drop-down list for a 3D object keyframe controls have the same color as the 3D arrows in the project window.

    You can suggest that here:

    Feature request/Bug Report Form

Maybe you are looking for