Why is the first value missing in the Chart when I use Property Nodes to clear my Charts programatically ?

Hello everybody,
I am using Property Nodes to clear my Charts right at the beginning of the program. The Property Nodes (History) are outside a While-loop.
When I connect a Chart with the counter-variable "i" inside a While-loop, the first point I see in the Chart is (0,1) instead of (0,0). It looks like the Chart misses the first point !
If the Chart is outside the While-loop the Chart displays all points.
Can anyone please explain this behaviour ? How can I solve this problem ?
Thanks,
Cesar

Make sure you have the error output from the property node connected to
the loop border. Even if the error os not used in the loop, this will
ensure that the property node clears the chart before the loop starts
running.
What is probably happening is the loop start running at the same time
the chart is being cleared, so the first point is also being cleared.
Ed
Message Edited by Ed Dickens on 04-11-2006 09:50 AM
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Attachments:
Clear chart before loop.gif ‏4 KB

Similar Messages

  • How can I append to an array of defined length and have the first value added be the first value out.

    I want to build/append to an array. Let's say the length is defined at 10 elements. When the 11th element comes in I want the first element to be kicked out so that the array always has the most recent 10 elements in it in order. the arrays should look like this:
    {0,1,2,3,4,5,6,7,8,9}
    {1,2,3,4,5,6,7,8,9,10}
    {2,3,4,5,6,7,8,9,10,11}
    etc.
    Any help is greatly appreciated. Thanks 
    Solved!
    Go to Solution.

    Here's a revised VI, except I'm using LV8.5 and the lowest I can save down to is 8 so perhaps someone will be kind enough to convert this?
    Attached an image too
    Message Edited by Sima on 01-13-2009 06:14 PM
    Attachments:
    rotatearray[1].vi ‏14 KB
    rotatearray[1].JPG ‏66 KB

  • Why the default value is not the Oracle recommended?

    Why the default value is not the Oracle recommended?
    In Oracle 10g, the default alocated unit of Oracle ASM is 1MB. But the Oracle ducumentation states that "To ensure a higher probability of one
    logical I/O resulting in no more than one physical I/O, the minimum stripe depth should be at least twice the Oracle block size". ---See Performance Tuniing Guide (10g10.2 Page8-3.
    It's inconsistent. What is right way?

    >
    Why the default value is not the Oracle recommended?
    In Oracle 10g, the default alocated unit of Oracle ASM is 1MB. But the Oracle ducumentation states that "To ensure a higher probability of one
    logical I/O resulting in no more than one physical I/O, the minimum stripe depth should be at least twice the Oracle block size". ---See Performance Tuniing Guide (10g10.2 Page8-3.
    It's inconsistent. What is right way?
    The default database blocksize of 10g is 8k.
    >
    8 * 128 = 1024
    128 >= 2
    At least twice the size does not mean exactly the doubled size.
    There is no contradiction between the documentation and your observation in this case.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Why is the movies category missing from the menu?

    why, in the past 2 days, is the movies category missing from the menu of my appletv?

    sarahfromspiritriver wrote:
    why, in the past 2 days, is the movies category missing from the menu of my appletv?
    Mine did it yesterday.
    My internet connection has been playing up for 2-3 days, with loss of connection even though router still indicates it's connected.. AppleTV is still on network but can't see the internet for movies when this happens.
    Also check you have correct country set as some won't allow movie rentals.
    AC

  • Why is the 'mac pro' missing from the mac store?

    why is the 'mac pro' missing from the mac store?
    I always enjoyed speccing up machines that i will one day upgrade to.

    ooh! i am my third mac pro and i love them, in my opinion it is still the best looking case (inside and out) on the market . Fingers crossed they can come up with something better.

  • How to take a value of the first record/occurrence and the last record?

    Hi experts
    Can anyone help me to tell me:
    How to make IP can take a value of the first record/occurrence and the last record in CSV file?
    I need to take the first and last to put StarTime of first record y StopTime of last record in the target file
    This is my Original CSV File
    20110820,220DNE0220,140.13 ,0.000 ,E01,0
    20110820,240FGC4280,103.80 ,0.000 ,E01,0
    20110821,220DNE0220,142.58 ,0.000 ,E01,0
    20110821,240FGC4280,88.70 ,0.000 ,E01,0
    20110822,220DNE0220,151.92 ,0.000 ,E01,0
    20110822,240FGC4280,91.47 ,0.000 ,E01,0
    Where:
    The firts field is date.
    I require it so my Target File
    20110820,20110822,140.13 ,0.000 ,E01,0
    20110820,20110822,103.80 ,0.000 ,E01,0
    20110820,20110822,142.58 ,0.000 ,E01,0
    20110820,20110822,88.70 ,0.000 ,E01,0
    20110820,20110822,151.92 ,0.000 ,E01,0
    20110820,20110822,91.47 ,0.000 ,E01,0
    Thaks..

    Hi lizcam,
    A. Use FCC at sender side, it will convert CSV to XML like this
    Input XML
    <documentName>
    <recordset>
    <record>
      <Time>20110820</Time>
      <ID>220DNE0220</ID>
      <Quan>140.13</Quan>
      <Volume>0.000</Volume>
      <Auc>E01</Auc>
      <No>0</No>
    </record>
    </recordset>
    </documentName>
    Create a target DT like this
    Output XML
    <recordset>
    <record>
      <StartTime>20110820</StartTime>
      <EndTime>20110822</EndTime>
      <Quan>140.13</Quan>
      <Volume>0.000</Volume>
      <Auc>E01</Auc>
      <No>0</No>
    </record>
    </recordset>
    In MM,
    1.Time -> CopyValue[0] -> StartTime
    2.Time -> below UDF -> EndTime
    3.Quan -> Quan
    4.Volume -> Volume
    5.Auc -> Auc
    6.No -> No
    UDF u2013 Execution type u2013 All values of Queue
    public void getLastTimeValue(String[] inputEndTime, ResultList result, Container container) throws StreamTransformationException{
    result.addValue(inputEndTime[inputEndTime.length-1]);
    B. At receiver use again FCC to convert XML to CSV.
    FYI. If you want to optimize more, you can use
    1.globalContainer concept OR
    2.u201CAttributes and Methodsu201D, declare are String. Store the EndTime using one UDF and write another UDF to retrieve it.
    Regards,
    Raghu_Vamsee

  • Setting the JComboBox to the first value

    Hi ,
    I have a JComboBox in a one of the table columns. My UI is in a seperate class and the model is in a seperate class. I cannot define the JComboBox as any other specifier than private in the UI. I have added a defaultCellEditor to the combo.
    Now my table model will have the setValue. My table model is in a seperate class. My parent UI frame object is being passed to it. What I want to do is everytime a value is selected , after the selection next time I click on the combo the fisrt value appears selected.
    Secondly if I click on the dropdown option and click else where then the first value gets selected and my setValue for the cell never gets called. Is there any way I can avoid that.
    Regards,
    Anand

    Hi Ananth,
    Thank yo for your reply.
    This is how my code below looks like after I applied your solution and I got the error. (See below)
    <?if:(sum(current-group()/NUMINCOMPLETE)!=0 And (xdoxslt:get_variable($_XDOCTX,’vTotalE’)!=0?>(sum(current-group()/NUMINCOMPLETE))div(xdoxslt:get_variable($_XDOCTX,’vTotalE’))*100<?end if?>
    I think its a syntax error only. Can you help me again organize this one?
    Error:
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: oracle.xdo.parser.v2.XPathException: Expected ')' instead of ' And '.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
    Thanks Much.
    JP
    Edited by: BIPnewbie on Feb 10, 2012 4:00 AM

  • SelectOneChoice - showing the first value as the default?

    Using a selectOneChoice, how do you get the first value to show in the form as the default? It always displays a blank item when the form first comes up. I don't want the user to have to select a value for the defaults. I have 'selection required' on.
    --------- .jspx page ------------
    <af:selectOneChoice value="#{bindings.View1country.inputValue}".....>
    <f:selectItems value="#{bindings.View1country.items}"/>
    </af:selectOneChoice>
    -------- pagedef xml ---------------
    <list id="View1country" IterBinding="View1Iterator"
    ListOperMode="0" StaticList="true">
    <AttrNames>
    <Item Value="country"/>
    </AttrNames>
    <ValueList>
    <Item Value="United States"/>
    <Item Value="Canada"/>
    </ValueList>
    </list>

    thanks - I am using ADF BC read-only view objects, but I don't see anywhere to define the selection on the VO properties? I defined the list on the front-end .jspx page by adding a selectOneChoice and defining its properties.

  • Defaulting value of Dropdown List to the first value of a BI Query

    Hi,
    In my VC application I have a form containing a dropdown list to be used as selection criteria for other data.  The dropdown list is dynamically populated by a BI Query.  When I run the application, the dropdown list is correctly populated with the values returned by the linked query.  However, on initial load of the iView, the default value of the dropdown list is blank.  The requirement is for the first item returned by the linked query to display as the default value.
    I would appreciate any suggestions on how to achieve this requirement.
    Thank you,
    Mustafa Bensan.

    Hi Mustafa,
    I checked your requirement but it is not possible to display first value as default value for a drop down list because the list will be generate when you click the drop down list. You can use a 'list box' instead of drop down list.
    Regards
    Basheer

  • When I add a file already on my computer to the iTunes Library, why does it only copy over the first 30 characters of the title?

    I noticed that when I tried importing songs to iTunes (unprotected) either via "Add File to Library" or "Automatically add to iTunes", only the first 30 characters of the song title is copied over to iTunes. Is there a way to change this? Is this a default setting?
    Thanks!
    -Oscar

    Just a guess about something to look at - check the color settings in your After Effects project.  If you increase the bit depth to 16 or 32 bits per channel and check your color management settings, you may have a better result.  I'm a bit clueless about the various options under Color Settings, but maybe you will hit upon something that works.

  • Thunderbird is removing the first 5 characters of the username, causing an error.

    I seem to be having some issues trying to set up the email for a website I recently started on GoDaddy through Thunderbird.
    I am using Thunderbird 24.4.0 on Windows 8
    Server Settings:
    email address: [email protected]
    pop3: pop.secureserver.net / 995 / SSL / normal password
    smtp: smtpout.secureserver.net / 465 / SSL / normal password
    username: [email protected]
    I have repeatedly verified the username and password are correct as are the server settings. I have tried changing the security settings, ports and password transmission to all available choices to no avail.
    After entering the settings and clicking "Done" I get the following message: "Configuration could not be verified -- is the username or password wrong?" They aren't.
    Clicking "Advanced Config" takes me out of the creation window into the server settings option window. The email shows up in the sidebar now as an available email and the server setting options window shows all the info as I entered it and it is all correct.
    Here is where I spotted something that may be the issue but I have no idea why it's happening or how to fix it: When I click "Get Mail", I get an error message: "Sending of password did not succeed. Mail server pop.secureserver.net responded: [email protected] not found in the auth database"
    However, the username is wrong: it is missing the first 5 characters. For example, if I use "[email protected]" the error message says "[email protected] not found in the auth database". If I use "[email protected]", the error message says "@xxx.com not found in the auth database". (These were all different attempts with different emails: I wasn't just randomly changing the username.)
    Any clues on how to fix this so I can get the email working?
    Thanks in advance.

    Have you tried with email scanning disabled in your anti virus? Your using SSL and anti virus companies are using hacking techniques to hack into the encrypted data stream to scan for a virus. For years they warn us Hackers break in and corrupt your data. Well now the A/V vendors are doing it.

  • I installed the CC trial with an error window saying: Could not create the file '/Users/dranim/Library/Preferences/Adobe/After Effects/13.2/dummy'.  That was the first window.   Heres the second: After Effects can't continue: unexpected failure during app

    I installed the CC trial with an error window saying: Could not create the file '/Users/dranim/Library/Preferences/Adobe/After Effects/13.2/dummy'.  That was the first window.   Heres the second: After Effects can’t continue: unexpected failure during application startup  I paid for the month subscription of 29.99. It claims it is downloading again?! Am I missing something here? Why is this process so complicated? I need to get this resolved asap and start working.

    I originally had Adobe Photoshop Extended, then upgraded to the Production Suite. I ran the Adobe Cleaner, and that uninstalled most Adobe products, including my existing Adobe install, and then I re-installed everything with the same error code. Since CS4 came with CS5, I've installed AE CS4, but would really like to upgrade because I'm new to Creative Suite, and not sure how CS4 integrates with CS5...CS4 After Effects installed perfectly. I do have a 64 bit system, and installing to an OCZ Vertex 2....every other suite installs perfectly, except AE. And I think that is the coolest program in the Suite. I thank you all so much for taking the time to help, I really want to get AECS5 running...I did try to install after doing the recommended items Adobe suggests for Exit Codes 6 and 7, including turning off many startups...
    I'm baffled....
    Ben

  • How do I create a 1d array that takes a single calculation and insert the result into the first row and then the next calculation the next time the loop passes that point and puts the results in thsecond row and so on until the loop is exited.

    The attached file is work inprogress, with some dummy data sp that I can test it out without having to connect to equipment.
    The second tab is the one that I am having the problem with. the output array from the replace element appears to be starting at the index position of 1 rather than 0 but that is ok it is still show that the new data is placed in incrementing element locations. However the main array that I am trying to build that is suppose to take each new calculation and place it in the next index(row) does not ap
    pear to be working or at least I am not getting any indication on the inidcator.
    Basically what I am attempting to do is is gather some pulses from adevice for a minute, place the results for a calculation, so that it displays then do the same again the next minute, but put these result in the next row and so on until the specifiied time has expired and the loop exits. I need to have all results displayed and keep building the array(display until, the end of the test)Eventually I will have to include a min max section that displays the min and max values calculated, but that should be easy with the min max function.Actually I thought this should have been easy but, I gues I can not see the forest through the trees. Can any one help to slear this up for me.
    Attachments:
    regulation_tester_7_loops.vi ‏244 KB

    I didn't really have time to dig in and understand your program in depth,
    but I have a few tips for you that might things a bit easier:
    - You use local variables excessively which really complicates things. Try
    not to use them and it will make your life easier.
    - If you flowchart the design (very similar to a dataflow diagram, keep in
    mind!) you want to gather data, calculate a value from that data, store the
    calculation in an array, and loop while the time is in a certain range. So
    theres really not much need for a sequence as long as you get rid of the
    local variables (sequences also complicate things)
    - You loop again if timepassed+1 is still less than some constant. Rather
    than messing with locals it seems so much easier to use a shiftregister (if
    absolutely necessary) or in this case base it upon the number of iterations
    of the loop. In this case it looks like "time passed" is the same thing as
    the number of loop iterations, but I didn't check closely. There's an i
    terminal in your whileloop to read for the number of iterations.
    - After having simplified your design by eliminating unnecessary sequence
    and local variables, you should be able to draw out the labview diagram.
    Don't try to use the "insert into array" vis since theres no need. Each
    iteration of your loop calculates a number which goes into the next position
    of the array right? Pass your result outside the loop, and enable indexing
    on the terminal so Labview automatically generates the array for you. If
    your calculation is a function of previous data, then use a shift register
    to keep previous values around.
    I wish you luck. Post again if you have any questions. Without a more
    detailed understanding of your task at hand it's kind of hard to post actual
    code suggestions for you.
    -joey
    "nelsons" wrote in message
    news:[email protected]...
    > how do I create a 1d array that takes a single calculation and insert
    > the result into the first row and then the next calculation the next
    > time the loop passes that point and puts the results in thsecond row
    > and so on until the loop is exited.
    >
    > The attached file is work inprogress, with some dummy data sp that I
    > can test it out without having to connect to equipment.
    > The second tab is the one that I am having the problem with. the
    > output array from the replace element appears to be starting at the
    > index position of 1 rather than 0 but that is ok it is still show that
    > the new data is placed in incrementing element locations. However the
    > main array that I am trying to build that is suppose to take each new
    > calculation and place it in the next index(row) does not appear to be
    > working or at least I am not getting any indication on the inidcator.
    >
    > Basically what I am attempting to do is is gather some pulses from
    > adevice for a minute, place the results for a calculation, so that it
    > displays then do the same again the next minute, but put these result
    > in the next row and so on until the specifiied time has expired and
    > the loop exits. I need to have all results displayed and keep building
    > the array(display until, the end of the test)Eventually I will have to
    > include a min max section that displays the min and max values
    > calculated, but that should be easy with the min max function.Actually
    > I thought this should have been easy but, I gues I can not see the
    > forest through the trees. Can any one help to slear this up for me.

  • To skip the first two Digits of the Char in Query

    Iam using County code which is the attribute of Vendor in free-chars of my query. In back-end iam doing some enhancements for this county code and populating the county codes values with region. (For example if the country code value is 021 in back end iam populating by concatenating with region value. so the value in the back-end is 05021.)
    When i run the query the key of county code value i see is 05021. But i need to skip the first two digits in county code and should display in the result. Is there any way to skip the first two digits for the county code values.
    Thanks in Advance
    Sudhakar

    Hi Sudhakar,
    Pls go through the link:
    Remove the last two charecters from right
    Thanks and Regards,
    Ramki

Maybe you are looking for