How to make sure plots in xy graph are present?

Hi community,
since updating to LabVIEW 2014 this week I have an issue with code that worked previously (or didn't but the problem was unnoticable).
As shown in the example llb I created to showcase the issue, I'm filling xy graphs with quiete some data and then programatically colour the plots.
The problem is that if there are too many plots then the property nodes that are to colour the plots thow errors as if the corresponding plots were not present in the graph yet - even though I used a single frame flat sequence structure to try to make sure data is written to the plot before trying to colour them.
Maybe this would have happened in LabVIEW 2013 too - but the threshold for the number of plots was higher. All I can say is that I observed this with data sets that worked fine in LabVIEW 2013.
To reproduce simply run "colour the graphs.vi" with sufficiently high values for "numerisch" and "numerisch 2" (50 on my machine may be more on yours). I left the error out terminals of the property nodes unwired so you get taken to the right position when the error occurs.
Can I somehow check whether all plots are in the graphs yet? That way I could introduce a delay that makes sure I don't try to colour graphs that aren't there yet - regardless of the speed of the target PC.
Has xy graph behavior changed in LabVIEW 2014? Or maybe its performance?
Best regards
Florian
Solved!
Go to Solution.
Attachments:
colour.llb ‏194 KB

Florian,
i cannot run your example as it requires some VIs from a LAVA-library (which i dont have installed).
Nevertheless, there are some questions i am stumbling about:
1. Why do you use a local variable rather the terminal to pass all plots to the indicator?
2. If you place a wait function in the sequence frame which waits longer than the expected time for passing the data, does the error still occur?
3. Do you run into the error if you enable panel updates before coloring the plots in order to slow coloring down?
I can imagine that you have a race condition against the UI thread. The local variable (just like the terminal) has a buffer where the data is copied to. The UI thread will retrieve the data as soon as it is ready. I would expect the coloring to require the data be present in the UI thread already (in order to "acknowledge" the plot). So if, for any reason, the UI thread only cought 98% of all plots when you start recoloring, you race against the transfer of the last 2%.. depending on the UI thread execution speed, you can run into the error or maybe not.
That is the reason why i want you to test for waiting times or slowing down the coloring.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • How to make sure your primary and standby are exchanging

    Hi all,
    how can I make sure my redo are applied to the standby?
    thanks

    I used:
    on the standby:
    select sequence#, applied from v$archived_log;
    and that gives the information needed, also I have queried the logs I had on the primary by issuing:
    select sequence# from v$log order by sequence#
    to get the last sequences and found that there is one difference between the result of the queries and that is due to the current log in the primary is not been transferred to the standby, and by issuing on the primary :
    alter system switch logfile;
    the last sequence is now archived and transported to the standby

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • I just upgraded to the new 4, but not sure how to make sure all my apps (purchases) get over to the new phone from iphone 3.  can't seem to find instructions. thanks.

    I just upgraded to the new iphone 4, but am hesitant to get it plugged in b/c I don't know how to make sure all the apps purchased on my iphone 3 get to the new phone.  can't seem to find instructions so I'm sure it just "does it", but hesitant to literally pull the plug.  thanks.

    Follow these instructions:  iPhone: Transferring information from your current iPhone to a new iPhone, http://support.apple.com/kb/ht2109

  • How to draw a perfect circle and how to make sure it is perfectly centered inside a square

    How to draw a perfect circle and how to make sure it is perfectly centered inside a square in Photoshop elements using the Ellipse option.

    1. Create a square canvas.
    2. With the Elipse tool, hold down Shift (Shift forces a circle). Draw the circle anywhere on the canvas (Shape 1 in this example).
    3. Simplify the circle layer
    4. Ctrl-click the layer to select the circle.
    5. Copy the selection to the clipboard (Edit > Copy).
    6. Deselect the selection.
    7. Paste from the clipboard (Edit > Paste). The pasted circle (Layer 1) will be centered.
    8. Delete the original circle layer.
    NOTE: Step 6 is the key. This guarantees that the pasted circle will be centered.
    If you want a circle completely within a square you can simply draw and simplify a circle on any shape canvas. Ctlrl-click the circle to to select it and copy to the clipboard.
    Then do File > New from Clipboard. This creates the circle cropped to a square on transparent background.

  • How to make sure that schema name is not included with generated sqls

    How to make sure that schema name is not included with generated sqls with tableadapter wizard.
    What should I use? Oledb, ODT.NET, where can set that I want "pure" sqls, not schemas, not ", or anything like this
    I want
    "Select a,b from t1" ,not "select "a","b" from schema.t1"
    Also schema name is put in all parameters, all over the place... What if schema name changes. (b1test to b1prod)
    . I now manually edit XML files of dataset. It works but....
    thanks

    The full hardware :
    Processor Intel core due 3.00 MHz
    RAM:1.5GB
    psu:650 Watt (but i baught i cheap one so it may be actually about 400 watt)
    HD Disk:160 GB
    But about the power supply if it not able to run the VGA card ,Is it will not show any screen or it will not able to run the computer??

  • HT200131 how to make sure only my laptop can connect to my apple tv?

    I don't want to see my flatmate apple tv under "connect"
    how to make sure I don't click on his tv accidentally and he won't be able to connect mine?
    thank you!

    Hey J-Justin,
    Great question! You can name your Apple TV to differentiate it from others in the AirPlay list:
    Apple TV: Change the name of your Apple TV - Apple Support
    http://support.apple.com/en-us/HT200028
    Furthermore, you can setup an onscreen code or password to restrict access for AirPlay. The password method sounds like the best option for your setup:
    Apple TV (2nd and 3rd generation): Understanding AirPlay settings - Apple Support
    http://support.apple.com/en-us/HT202618
    Set a password
    Go to Settings > AirPlay > Security > Password > [set password]. You can use this setting to require a password for AirPlay-enabled devices to connect using AirPlay on the Apple TV. Use this setting if your device will need permanent access and you only want to enter the password once.
    Thanks,
    Matt M.

  • How to make sure the maps are loaded though nokia ...

    Hi,
    I have downloaded new nokia map v.3.0109 to my nokia E75 and loaded maps by using nokia map loader (Asia).
    but still I cant see the all regional map which I downloaded, without usign live internet connection.
    How to make sure the maps are loaded properly to my mobile ?
    with regards
    Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.
    Message Edited by myn1126 on 27-Jan-2010 07:54 AM

    Hi,
    I have downloaded new nokia map v.3.0109 to my nokia E75 and loaded maps by using nokia map loader (Asia).
    but still I cant see the all regional map which I downloaded, without usign live internet connection.
    How to make sure the maps are loaded properly to my mobile ?
    with regards
    Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.
    Message Edited by myn1126 on 27-Jan-2010 07:54 AM

  • How to make sure everything is saved?

    I'm about to format my computer...
    the entire C drive.. and reinstall windows... on the C:Drive is my Premiere Pro. .I have CS3..
    I wish to reinstall it after the format.. but.. it would be a catastrophe to me if my current projects were to be deleted with the format
    I have an extern harddrive..
    I need some help to know what I need to move on to that harddrive.. to be 100% sure.. I won't lose my projects..
    would it be more safe to just move the entire Adobe Premiere Pro folder too ?..

    Do not move the PPro program folder... you need to have that, with registry entries, on the C drive
    Do deactivate PPro (and all other software) before formatting, so you will be able to reactivate
    Make sure all your video assets are on your external drive, and that your project works with the files there, and then do a SAVE AS and save your project to that external drive
    Make sure that new project works, and you are good to go
    Also, make step by step backups as you reinstall everything...
    Hardware crashes or virus infections happen, so you should buy AND USE software to make a full backup of your hard drive to an external USB hard drive... plus, making step-by-step backups during a new install or major program addition makes it easy to go back a step if something doesn't work
    This backup and then restore is, of course, only to the same computer with a new drive (or the same drive as long as you don't mind writing over everything) since doing a restore to a new computer won't work due to Windows and many programs having activation information that is keyed to your hardware (which is why Windows will force you to RE-Activate if you change very much hardware)
    The product I use is at http://www.terabyteunlimited.com/image-for-linux.htm
    Image runs off of a bootable CD via Linux (the Zip you download includes a program to make the bootable CD) and it reads EVERYTHING on the drive, even the hidden registration information, so everything is restored when needed... and you may restore the image to a brand new drive in case of a crash, and not have to re-install anything
    Please note that I own no part of Image, and I don't get a referral fee (that is just a plain web link) but I use the program and it has saved me a LOT of trouble when I had a hard drive die... and I was able to restore everything and not have to re-install or re-activate a single program, from Windows on up

  • HT1941 I have inadvertently changed a file permission setting. When opening Aperture I get the following; Aperture cannot access this library. To use this library make sure it's file permissions are set correctly. I am an old dude new to Mac OS. What up?

    I have inadvertently changed a file permission setting. When opening Aperture I get the following; "Aperture cannot access this library. To use this library make sure it's file permissions are set correctly". I am an old dude new to Mac OS. Looked in settings but have no idea how to allow file sharing to myself. I have been using Aperture actively for 6 weeks. I'm the only one using this Mac. What up?

    Back up all data now.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. You can demote it back to standard status when this step has been completed.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:20 ~ $_ ; chmod -R -N ~ $_ 2> /dev/null
    Be sure to select the whole line by triple-clicking anywhere in it. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select Utilities ▹ Terminal from the menu bar. A text window opens.
    In the Terminal window, type this:
    resetpassword
    That's one word with no spaces. Then press return. A Reset Password window opens. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • I just bought an Epson Stylus Pro 3880 and the printed images look yellow. I calibrate my MacBook Pro monitor with a ColorMunki Display. I want to make sure my Lightroom print settings are correct.

    I just bought an Epson Stylus Pro 3880 and the printed images look yellow. I calibrate my MacBook Pro monitor with a ColorMunki Display. I want to make sure my Lightroom print settings are correct.

    This what I have been trying......  Maybe my eyes are screwed up or don't understand the process....
    What I have been trying to do is squint and make the apple disappear by moving the sliders around in each step. Is that correct?

  • How to make touchpad Be sensitive to all areas of his

    hi
    i have Lenovo x201 and i have problem.
    how to make touchpad Be sensitive to all areas of his ?
    for example, the top area not responding if i drag my finger
    from the top to bottom - but if i drag my finger from the middle to bottom its works fine.
    i need to make the touchpad be sensitive for all his area

    Hi,
    I have already responded for a similar query of yours in this thread. Please change the settings as mentioned and revert if issue persists.
    Regards,
    Mithun.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • "Cannot login. Make sure the name and password are correct."

    I've just created a new iAS6 SP4 instance on a new machine (new local LDAP, SPARC Solaris8). But when I startup a ksvradmin tool I get the msg: "Cannot login. Make sure the name and password are correct."... and I cannot access to admin my new instance :-(. I don't understand about what user and what pw it tell me. I did this instalaltion on other machine by the same way but without any problem. On my other machine I don't have to identificate me when I use the ksvradmin tool.

    Sorry I wasn't being very clear either.  I was assuming that you were trying to follow option 2 from Joe D's post on 3-24-2004.  Once you know what environment variables have changed you can go the control panel to set them.  Some of them will may be new variables that you will need to define.  Others may already exists in which case you want to append to them.
    The other option is as Joe D said, which is to run VCVARS32.bat before you start Xmath.  You could even make a batch file such that instead of starting xmath.bat directly you call your own batch file (.bat).  This batch file would have two lines.  One to run VCVARS32.bat and the second to run XMATH.bat.  If you are not familiar with batch files there are a lot of resources on the web about them.  In this case all you would need is:
    <path to vcvars32.bat>\vcvars32.bat
    "C:\Program Files\National Instruments\MATRIXx\bin\xmath.bat"  -v 71.6
    The -v 71.6 is optional.  it specifies to specifically open version 7.1.6.  If you leave it off the newest version will be opened.
    Carl L
    National Instruments

  • MacBook Pro 15" 2007 is dead. How to make sure it's the left I/O board?

    My 15" 2007 MacBook Pro is now completely dead. No light on the 85W magsafe (which does work on unibody MBP 15), battery completely empty, no sign of life whatsoever. Apple Store says I need a new "logic board" but could not specify which one, main or left I/O. How can I make sure it is the left I/O board?
    The computers' power circuits have been steadily declining in recent months. It has a checkered history - it's the one that ran hot, had kernel panics due to graphics card drivers, and had the graphics card hardware issue. The computer died in October 2008 and "the logic board" was replaced under Apple Care, free of charge. When AppleCare ran out I bought a unibody MPB and my son inhereted the 2007 model, using it for his music and being pretty happy with it, until the battery would not charge anymore. He then ran it on the power supply only, until it would not boot up. Apple Store did some magic with it (probably reset SMC), it ran for a while longer without charging battery, then did the same thing (not booting, but magsafe connector showing green LED). Searching on the web I found some hints as to how to reset SMC and this worked - once. Took the computer off the magsafe when going on a holiday, when I came back it had deceased.
    Apple Store quoted $ 540 for a logic board replacement. The left I/O board is available online for $ 119 and I am able to mount it myself, would do so if I could make sure that this unit has failed and not the main board. And that, friends, is my question.

    Let the Apple folks - or an AASP - run diagnostics on the machine. They'll be able to tell if you need a new logic board or not. Get an estimate - if it seems outrageous then it's probably time to buy a new computer.
    Just my 2¢...
    Clinton

  • How to make sure 2 Variables of same class do not share internal variables?

    K, I am having trouble making a new instance of an object.
    I have a class call File_Class that have a public static attribute call File_Name.
    Now in another class, I have a linkedlist and each one of the element is supposely a File_Class object. The problem that I am having now is that whenever I create a new File_Class (File_Class New_Class = new File_Class (File_Name)), i am actually getting a reference to the old one so that anything that I change reflects on every element of my link list.
    My question now is
    1. how exactly do i enforce that a new instance of the object (File_Class) is created so i can make sure every element in my linked list is distinct.
    2. why is this happening at all
    thanks for your help in advance.
    Hung-Hsun Su

    Here is a simple example that i wrote just to demonstrate the point. it seems that i always get the same object no matter what. Thanks again.
    Result:
    AFTER 0 1 2
    1 2
    AFTER 1 10 20
    10 20
    10 20
    AFTER 2 99 999
    99 999
    99 999
    99 999
    Code:
    class T
              public static int A;
              public static int B;
    class Test
              static T TA[] = new T[5];
              private static void Set_Value (int i, int A, int B)
                        T t1 = new T ();
                        t1.A = A;
                        t1.B = B;
                        TA[i] = t1;
              private static void Print (int i)
                        for (int k = 0; k <= i; k++)
                                  System.out.println (TA[k].A + " " + TA[k].B);
              public static void main (String args[])
                        System.out.println ("AFTER 0 1 2");
                        Set_Value (0, 1, 2);
                        Print (0);
                        System.out.println ("AFTER 1 10 20");
                        Set_Value (1, 10, 20);
                        Print (1);
                        System.out.println ("AFTER 2 99 999");
                        Set_Value (2, 99, 999);
                        Print (2);
         }

Maybe you are looking for

  • [SOLVED] Can't Scan with HP OfficeJet 4500

    My cups says at http://localhost:631/printers/HP_Officejet_4500_G510g-m this: HP_Officejet_4500_G510g-m HP_Officejet_4500_G510g-m (Idle, Accepting Jobs, Not Shared) Description: HP Officejet 4500 G510g-m Location: Driver: HP Officejet 4500 g510g-m hp

  • Connecting AirPort Express using Fire Wire

    Hi, can't see this posted anywhere else. Have been running my MacBook Pro off my AirPort Express quite happily for some time. However recently purchased a Sonos S5 that needs to connect to my wireless router via ethernet. Only problem is the Airport

  • Function based indexes available in Standard Edition ?

    Is the function based index available in the standard or only the enterprise edition ? Thanks Oliver

  • Should I go with Express or Extreme???

    I have a new Macbook that i got a couple of months ago and looking to go wireless with my printer....but heres the question...I have an old airport station, it works good with my macbook by the way, and its in the room next to mine...but should i jus

  • Constant blinking amber light

    Just got the Airport Express, and am trying to transition over from Linksys.  I have a constant blinking amber light and its saying that Airport Express cant find the base station.  Any help is much appreciated.