What is the reason make i lose data?

I using a lot global variable in main vi, to control and display some nummeric in test.vi, and display graph of test.vi.
Test.vi take the value from 2 vi: value.vi and position.vi..
Test.vi, Value.vi and Position.vi using Queue Operations functions
I want to use main vi to read the iterationof value.vi
when I use run main vi , the number indicator in main, not save with indicator in value.vi. it's only same with test.vi. And it's slower 2 time than in value.vi
But when I run only test.vi. the indicator in test.vi is almost same with in value.vi ( but it's different = 1. if indicator show in value.vi = 10, i in indicator in test
sao 9)
Any hint for this problem?Thx

ha noi,
It looks like the individual components of your project are working:  the read_sensor.vi is queueing the index, the test.vi is dequeueing and writing to the shared variable, and the main VI is reading from the shared variable.  The difference in performance you are seeing between running the test.vi and running the main.vi is probably due to the amount of other code that you have running in the main VI.  Your application uses a lot of parallel loops, so it is difficult to guarantee how often different sections of code will be run.  In this case, it seems that your read_sensor.vi continually queues elements, but the test.vi is not reading elements from the queue fast enough to keep up.
Devin K
Systems Engineering - RTT & HIL

Similar Messages

  • Why view have no stored data ?  And what is the reason view take more time

    Why view have no stored data ? And what is the reason view take more time to query ?
    what happen if a view have stored data?

    user12941450 wrote:
    I want to know the reason that why querying view is slower then querying a normal table?..Untrue.
    For example take a table with 2laks record and a view for that table.
    If i make a query like( Select name,address from table) then it works fast then select(name,address)from view..Incorrectly interpreting the results.
    A view is a SQL statement. Only difference is that the SQL statement is stored in the database's dictionary. Let's consider the following view:
    create or replace view foo_view as select * from empWhen you use the view as follows:
    select * from foo_viewOracle sees it as follows:
    select * from (select * from emp)This is no slower, or no faster, than providing the following SQL to Oracle:
    select * from empSo if you observe a difference in performance between using plain SQL versus using that same SQL via a view, there are other reasons for that difference in performance. The reason is NOT that views are slower.

  • I am writing datas into a FIFO ,i am reading datas from fifo .but when i am writing datas like a a(0),a(1),a(2 like that.when i am reading dating datas a(0)comes to a(3 ) rd place .what is the reason ?

    I am writing datas into a FIFO in FPGA Target side  ,i am reading datas from fifo in windows host side  .but when i am writing datas like a a(0),a(1),a(2 like that.when i am reading dating datas a(0)comes to a(3 ) rd place, a(1) comes to a a(0) .what is the reason ?

    Please use a shorter title in your subject line and not post the entire question in therre.  (See the subject line I created.)   There is also no such word as "datas".  Data is already plural.
    Please read http://stackoverflow.com/help/how-to-ask.  Your question is hard to read because you aren't using proper punctuation and capitalization of your sentences.  It looks like one run-on sentence.
    Beyond that, it is impossible to help you solve our problem with just your question.  Please provide some more information.  Perhaps even attach code we can look at.  Show us what the data you are sending is supposed to look like, and what it actually looks like.

  • What is the reason capturing time make -av clip

    Hi,
    what is the reason capturing time make -av clip

    Capture now is part of the Log and Capture window...but I know what you mean.  Looking at a project where I did log the clips first and then batch captured there are no -av files.
    Seems to be showing up on TC breaks like above and when a "capture now" is aborted early by pressing "esc".
    Between this and David's answer, I'd say these are the culprits behind those files showing up.
    And thanks for the finder tip for extensions.  Wish I'd started this thread and could give out some helpful and correct answers.

  • Grafhic not work...  what is the reason ?

    hello,
    In the foolowing code I reproduced an "anomalous" behavior that I get when I use graphic functions.
    In the JPanel "PanelToDiplayGraphic", I simply write some words....
    This usually works;
    but if I (before to create the panel) read some data from a database, then the words are not displayed...._
    (I need to get informations from the database to use in the grafhic functions).
    I am not able to understand the reason why this can happen .
    Same one is able to explain me what is the reason ???
    // To use this program requires to have a valid connection to a database.
    // Here the connection comes from MakeConnectionToDataBaseMedident class and his the getConnection() function.
    // Of course, the String sqlStr in the accessToDataBase() function have to be properly changed too...
    package prove.volanti.storePicImages;
    import databaseManagement.MakeConnectionToDataBaseMedident;
    import java.awt.BorderLayout;
    import java.awt.Graphics;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class TestForBug extends JFrame {
        public TestForBug() { // constructor
            setTitle("title");
            setVisible(true);
            setSize(200, 150);
            this.setDefaultCloseOperation(EXIT_ON_CLOSE);
            // ======== part of program to chang to apply the test ...
            accessToDataBase(); // To test the anaomalus behavior put this row in comment
            // ======== part of program to chang to apply the test ...
            PanelToDiplayGraphic panelToDiplayGraphic = new PanelToDiplayGraphic();
            setLayout(new BorderLayout());
            this.add(panelToDiplayGraphic, BorderLayout.CENTER);
        }  // constructor
         * Simple function to access to tatabase
        private void accessToDataBase() {
            MakeConnectionToDataBaseMedident makeConnectionToDataBaseMedident = new MakeConnectionToDataBaseMedident();
            Connection connection = makeConnectionToDataBaseMedident.getConnection();
            Statement statement = null;
            ResultSet resultSet = null;
            String sqlStr = "Select * from skdPzPicsDetails   ";
            boolean validState = true;
            try {
                statement = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
                resultSet = statement.executeQuery(sqlStr);
                validState = resultSet.last();
                int rowsNmbr = resultSet.getRow();
                System.out.println("Nmbr. rows = " + rowsNmbr);
                validState = resultSet.first();
                System.out.println("validState = " + validState);
                String tit = resultSet.getString("picTitle");
                System.out.println("Title =  " + tit);
            } catch (SQLException e) {
                System.out.println("Errrore = " + e.getMessage());
                e.printStackTrace();
        }  // accessToDataBase()
        static public void main(String[] args) {
            TestForBug xxxx =
                    new TestForBug();
        } // main()
         * Panel to display graphic
        class PanelToDiplayGraphic extends JPanel {
            @Override
            public void paintComponent(Graphics g) {
              g.drawString("TEST for use of the Graphic " , 10, 20);
    //            g.drawImage(image, 0, 0, this.WIDTH, this.HEIGHT, null);
        }// DiplayGraphicPanel
    } // TestForBugthank you regards
    tonyMrsangelo.

    thank you Encefophalopathic...
    The window seem to be normal (not froze), but I understand now that the cause of the anomaly could
    came from the parallelism of the threads ....
    I'll look in this way...
    Thank you
    By the course... I remember you gave me an advice some days ago ..
    you said :
    Finally, don't add a mouse listener to a JButton when an action listener,
    a class specifically built to capture button presses, is available.
    There are exceptions to this rule, but I don't see any here. I didn't answer then, but I should like know where I could learn more about how and where to use the listener class...
    I see this tip is more complex than it seemed to be...
    Now, for example, I need to catch event when an element in a checkBox is selected..
    I use event listner for this purpouse, but in this way I get the attivation of the event also
    when the comboBox component is created...
    How I sayd, I only should like to have a good link to read more about..
    thank you again
    regards
    tonyMrsangelo

  • ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR

    hi... experts....
        Iam having one screen in my previous module pool program....and now as per my requirement i added on e new field...
    for that...
      1. i declared one variable in top include...
      2. cretaed one more new block with help of box in layout screen..
      3. added some text field and inputput out field...
      4. and in that block i also added one line with test like... following...
    " NOTE: PLEASE ENTER THE ..... VALUE..."   Like this.... just for to give direction...
    so these are  the steps i taken to add new field to my screen... but here i am geting error ... while entering the value in that field and press any push button.... including back in that screen... like....
      "INVAILD FIELD FORMAT (SCREEN ERROR)"
    .... ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR... COMMONLY???
    THANK YOU,,,
    NAVEEN..

    hi naveen,
    there can be problem from ur layout side.
    Goto SE51. in Layout editor make sure that the type in screen and in TOP Include is same.
    and if you are using currency field than it can also give error to you.
    if still you any error .
    give me type of variable whcih you defined in TOP and also code.
    give reward if helpfull.

  • I have a iPhone 5C and a PC with Windows Vista.I did pair my phone thru Bluetooth but when I try to connect I get this message:"error establishing connection" What is the reason of this?

    I have a iPhone 5C and a PC with Windows Vista.I did pair my phone thru Bluetooth but when I try to connect I get this message:"error establishing connection" What is the reason of this?

    Go into Settings>Messages>Send and Receive and make sure that your phone number is checked and iMessage reads as activated. Remove the checkmark from the email address and make sure that only the phone number if checked. It should appear grayed out, but should still have a checkmark. If the phone number does not have a checkmark, then turn off iMessage, wait a few moments and then turn iMessage back on and make sure that it activates.

  • What is the maximum length of LONG data type in Forms 6i?

    What is the maximum length of LONG data type in Forms 6i?

    Do you mean the maximum size of a LONG that Forms 6i can display or the maximum size that can be stored in the database which sits behind your Forms application?
    Regards, APC

  • Adobe creative cloud product online help not working. Any idea what is the reason ??

    Adobe creative cloud product online help not working. Any idea what is the reason ??
    I have to manually copy pdf file to open help for all suite....

    Please try another browser, if still it is not working, check the internet connectivity http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    In case the issue is still not resolved, do contact Adobe Support.
    Regards
    Rajshree

  • When I turn on my iPad 1it stops the network connection to my windows xp pro computer. Ican fix the network connection by repairing  the windows machine network.  What is the reason thia is happening?windows

    When I turn on my iPad 1it stops the network connection to my windows xp pro computer. Ican fix the network connection by repairing  the windows machine network.  What is the reason this is happening?windows

    Are you using DHCP to allocate IP addresses via your router or Static IP allocation?
    You may have an IP conflict in your network.
    Check on your various network configuration parameters in your iPad, PC and WiFi router.

  • Hi i have a macbook pro and when i changed the hard drive the screen wasn't as it was supposed to be which is it had a green colour on it's side.what can i do to fix it and what is the reason for it?

    hi i have a macbook pro and when i changed the hard drive the screen wasn't as it was supposed to be it was green on it's side and blurred.what can i do to fix it and what is the reason?

    either something got damaged when you installed the hard drive or you need to perform a pram reset (other possibilites could have occured, these are the ones I think)
    PRAM http://support.apple.com/kb/ht1379

  • What are the steps for loading master data

    Hello
    what are the steps for loading master data? i want to learn about loading all master data and the steps to choose the best way to load the data.
    if anyone has documents please send me the documents i will be really greatful
    [email protected] thanks everyone
    Evion

    Hi Heng,
    Download the data into a CSV file.
    Write a program using GUI_UPLOAD to upload the CSV file and insert records.Chk the below link for example
    http://www.sap-img.com/abap/vendor-master-upload-program.htm
    Reward Points for the useful solutions.
    Regards,
    Harini.S

  • What is the need for setting property data inside the JMSMesage

    Hi
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball");
    and also please tell me how can the MDB recievies this property data ??
    Thanks in advance .

    raviprivate wrote:
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball"); Look at the detail JMS documentation on [Message Properties|http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html] .
    >
    and also please tell me how can the MDB recievies this property data ?? MDB onMessage method argument is the Message object and if you look at the documentation, Message interface has getter methods to retrieve the properties.

  • What,s the reason to stop iphone 5?? Is there any problem with that phone?? Because still 4s is in market but iphone 5 is stopped.... What,s wrong with apple??

    Why apple stoped iphone 5? What's the reason?? Is there any problem with that phone... Because iphone 4s is still in market.. But they stopped iphone 5.. What's wrong with iphone 5????

    It was replaced by the iPhone 5C, which is essentially the same phone except for the case, better LTE converage and a larger battery.

  • Illustrator keeps quitting-notice others have had similar issues, not resolved-so what it the reason for "sending a report" to Adobe if nothing can be done with it????? paying for a product that I can't use when I need to use it and no help-come on-someon

    Illustrator keeps quitting…notice others have had similar issues…so what it the reason for "sending a report" to Adobe if nothing can be done with it????? paying for a product that I can't use when I need to use it and no help…come on…someone has to have an answer…HELP Pleeeeease

    <moved from Adobe Creative Cloud to Illustrator>
    reset your preferences -
    acrobat:  http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7feb.w .html
    adobe media encoder: https://forums.adobe.com/thread/1713540
    after effects:  http://helpx.adobe.com/after-effects/using/preferences.html
    dreamweaver:  https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs6-cc.html
    flash:  http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
    illustrator:  http://helpx.adobe.com/illustrator/using/setting-preferences.html
    indesign:  https://forums.adobe.com/thread/526990
    lightroom: https://helpx.adobe.com/lightroom/help/setting-preferences-lightroom.html
    muse (mac): https://forums.adobe.com/thread/1246022?tstart=0
    photoshop:  https://forums.adobe.com/thread/375776
    photoshop elements:  https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html,  http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm
    premiere elements:  https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html
    premiere pro: http://www.mediacollege.com/adobe/premiere/pro/troubleshooter/trash-preferences.html
    if that fails, uninstall, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall

Maybe you are looking for

  • HD video Delivery through FMS

    Can we broadcast our video in HD Quality through FMS? if possible what we have to do for that, whats the minimum bandwidth needed to deliver the HD quality video?

  • Dock folders replaced by first file inside icon

    I THINK that the dock icons are supposed to show what's inside them peeking out at the top, but my applications folder and another folder has completely replaced the folder icon with the icon of the first file/app inside (i.e. i looks like i am click

  • OBIEE Avg Issue on Grand Total

    Hello Experts, I'm having an issue while calculating the grand total for the AVG measure.This is the scenario 1)I have the show count for  the top three tiles for the rolling 13 weeks and only for the weekends and for a particular group of theaters.I

  • Alternative account no

    Hi Exps, when i tried to post the bank downloaded file in FF_5, the program immediatly asking maintain the alternative account no. this development belongs to electronic bank statement. we are having 4 bank accounts with different currencies. main ac

  • Search String?

    i'm just trying to search a string!  how?!  treeROOT = []; // loop through all markers in the XML and place into ROOT array for each (var xmlNode in xmlData.category) {      var branchAttribute:XMLList = xmlNode.attributes();      var baID:String;