I always lose data when i read continous using serial

I am developping a application, using serial communication for data
acquisition.
This serial read data continuous.but when i click on the graph or made
a zoom i lose data in that interval ...
What can i do

If I understand correctly what you're saying, there is a gap in you data when you click on the graph, or zoom in on it. If you have the acquisition and the graph in the same loop, you could be essentially pausing or slowing down the loop while you are interacting with the graph. I've never noticed this effect before myself, but it is possible.One solution might be to put the acquisition process in a seperate loop and pass data to the loop containing the graph in something like a queue.Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • My ipad's battery is going flat very quickly and is using a lot of data when I am barely using it - any suggestions?

    My ipad's battery is going flat very quickly and is using a lot of data when I am barely using it - any suggestions?

    This is likely coming from a third-party program. You can try to Reset Firefox. [[Reset Firefox – easily fix most problems]]

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • Why does my menu bar still display yesterdays time/date when i have been using it all morning?

    why does my menu bar still display yesterdays time/date when i have been using it all morning?

    Incorrect date or time displayed in various applications in Mac OS X

  • Do I use data when I read on my kindle app on my iPad

    Do I use data when I use my kindle app on my iPad

    You should only use data when you download the book. As I understand it your book is on your device and you read it from there. The only data usage I can think of is if you are doing their 'sync your book across your devices' then Device one would have to tell Device two 'she's on page 49 now'

  • Do u lose data when downloading new i tunes

    Have just got an Ipone 5 and need to download new version of i tunes. Will i lose data on old i tunes

    Not unless a problem occurs. Back it up anyway.
    (80594)

  • Problem of retrieve a set of data when calling store procedure using vb with ODBC

    when I use ODBC, it can return 1 record (1 field) using pass and retrieve the parameter. but it cannot success when return a set of data (using recordset to store it), when i do it, the error message (Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if availabl. No work was done.). Why ? and how can solve it ?\
    Thanks in advance.

    oh, really ? it is not use ODBC to connecto to oracle ?
    Here is my program code:
    STORE PROCEDURE:
    PROCEDURE getInforcePolicy(PClient_ID IN VARCHAR2, PPolicy_No IN VARCHAR2, BasicCur OUT oraoledb.m_refcur, RiderCur OUT oraoledb.m_refcur)
    IS
    BEGIN
    OPEN BasicCur FOR SELECT * FROM
    inforce200111 WHERE Client_ID = PClient_ID and Policy_No = PPolicy_No and coverage_No = 1;
    OPEN RiderCur FOR SELECT * FROM
    inforce200111 WHERE Client_ID = PClient_ID and Policy_No = PPolicy_No and coverage_No <> 1;
    END getInforcePolicy;
    PACKAGE oraoledb AS
    TYPE m_refcur IS REF CURSOR;
    END oraoledb;
    Program:
    Dim cn As New ADODB.Connection
    Dim rs As New ADODB.Recordset
    Dim rs2 As New ADODB.Recordset
    Dim cmd As New ADODB.Command
    Dim paramclient As New ADODB.Parameter
    Dim parampolicy As New ADODB.Parameter
    Dim I As Integer
    cn.Open "ridev", "abc","abc"
    cmd.ActiveConnection = cn
    Set paramclient = cmd.CreateParameter("PClient", adVarChar, adParamInput, 10)
    Set parampolicy = cmd.CreateParameter("PPolicy", adVarChar, adParamInput, 10)
    paramclient.Value = "0000023011"
    parampolicy.Value = "HK0010021U"
    cmd.Parameters.Append paramclient
    cmd.Parameters.Append parampolicy
    cmd.CommandText = "{call getInforcePolicy}"
    Set rs = cmd.Execute
    Do While Not rs.EOF
    Loop
    Set rs2 = rs.NextRecordset
    Do While Not rs2.EOF
    loop
    Where the RIDEV is a datasource that created from Data Source in Control Panel using the driver call "Microsoft ODBC for ORACLE"

  • Two Apple ID's, will I lose data when I go to iCloud given that I can only use one?

    Like a lot of people (it seems), I have two Apple ID's. One which I set up when I first set up my iTunes on my mac (yahoo) and then a mobileme account which I got shortly after getting my iPhone.
    My iTunes account on my Mac defaults to my yahoo Apple ID and my iPhone defaults to my mobileme Apple ID.  This hasn't caused me a problem to date as the Mac and iPhone sync without any loss of data (by sheer fluke I think!).
    I would however now like to use iCloud in order that I can use the invite function on the calendar on my iPhone.  If I set up iCloud using my mobileme Apple ID will I then lose all my purchases etc from my yahoo Apple ID?
    To be honest, I'm not entirely clear what iCloud does and whether I will lose any information?
    Thanks so much in advance of some help from someone!

    Welcome to the Apple community.
    The best thing you can do is to continue to use the same IDs with each service, and migrate your MobileMe account to an iCloud account. This way you will be able to continue to use and access all the data as you always have done.
    One thing you must not do, is change the ID you use for iTunes, this will cause you to lose access to any content that you have purchased through the previous account.
    If you decide to change the ID that you use for iCloud, to match the one you use for iTunes, then you are going to have to manually move all the data from one account to the other.

  • Generate or Preview XML when Extending Reader Options using Adobe LiveCycle Designer

    Hi,
    I am trying to view the generated xml when reader options are extended. However, when I try to open the reader extended PDF in LiveCycle Designer, it says you will lose reader options. Is there any other way in which I can compare the generated XML before and after extending reader options?
    I am having issues processing PDF after extending reader options as the generated xml is generating the following error.
    "XmlException was unhandled by user code, Data at the root level is invalid. Line1, position1"

    May be you can try this way to get the XML before and after the Reader extensions.
    1) Place a Text field with multi line allowed.
    2) Place a button on the form with the following in click event.
          TextField1.rawValue = xfa.data.saveXML("pretty");
    3) Open the form in either Reader/ Acrobat and click on the Button. Save the XML data in a file that was assigned to the TextField.
    4) Reader extend the form.
    5) Repeat the step 3 again to capture the XML from the form after Reader Extensions.
    This way you can get the XML from the form before and after.
    Thanks
    Srini

  • How is it possible to use data when you hardly even use your phone?

    I just got an LG G3 phone yesterday afternoon and have 500 mg to use and have already maxed it out and have hardly even used the phone!!!!!!!!!!!!!! It has data been used why I am sleeping and when I know 100% I am not even on my phone. I use my laptop for all internet. My husband doesn't even use the internet, and if he does I am the one that finds the page he needs, and he really doesn't even know how to use it. He has a basic flip top and doesn't want anything more. So, please help me understand how data is being used almost all day, all night, and even when we are sleeping and the phone is not being used for anything? As a matter of fact, I am on my laptop and can't sleep because of this!! My phone is in the other room and I bet data is being used right now. But, I know don't anyone uses that much data in a DAY and A HALF when the phone is not in use. I have had three phone calls all day and only one I answered and I made one call out, but data has been used all day. And I have had free 250 mg for probably at least six months and have used no data and now all the sudden when I have been on my laptop all day the data is used. Can someone please help me understand how this is possible?@

    GZRX wrote:
    Recently came back on Verizon contract cell service after years on various prepaid services. The S5 is my first unrooted smart phone and I am pretty paranoid about data usage as no longer able to use Droidwall and Titanium Backup.
    Phone default settings are Data Off, Playstore set to wifi update only and background data off for many apps. I have "My Verizon My Data app" and "Active Apps" app on home screen for monitoring purposes.  Something seems to infrequently activate the You-Tube and Chrome apps randomly. Cloud is turned off as I back up to Google and my computer. I have a number of other apps turned off as well and monitor "Data Usage" for unwanted app data consumption.  Also have data usage warning and shut off levels set in the phone. My plan is 1 GB and I am regularly using under .5 GB. 
    correction to above: my reference to  "Phone default settings" above is misleading.  That should be my worded as "My current phone settings:"  Unfortunately I am not permitted to edit my previous post.

  • Loosing data when exporting to xcl using trial iwork

    I recently downloaded 30 day trial of iwork 08.There is an important form attached to a website that i need to fill in.I was able to fill in the form using numbers.When i finished i saved it and then exported it to both pdf and xls. in the pdf file I can see the data I filled in but in the excel file i cannot see the data i filled in.Unfortunately the website will only accept the form i xls format. what am i doing wrong?
    and is this possibly related to the fact this is a trial version of iwork?

    Keynote 4.0.2, Numbers 1.0.2, Pages 3.0.2
    http://www.apple.com/downloads/macosx/apple/index7.html
    Keynote 4.0.3
    http://www.apple.com/downloads/macosx/apple/index5.html
    Yvan KOENIG (from FRANCE jeudi 6 novembre 2008 17:21:11)

  • How do I save my data when an iOS update using iTunes has an error

    My daughter was updating iOS 8.1.2  on her iPhone 5s (same phone as mine) using iTunes and it interrupted saying there was an error in the download.  It instructs her to restore her settings but claims she will lose all her data this way.  Is there any way to abort the download and save her data???  The phone is frozen and she is leaving it that way until we can find someone to address this tomorrow but we would appreciate help tonight.  Very stressful.

    Is her phone backed up to iCloud or iTunes?
    Also
    Try to reset the phone by pressing down the home button and sleep / wake button till the Apple logo is seen - this does not affect data on the phone

  • MOUSE Loses Power When SCROLL WHEEL is used, power back up when CLICK SCROLL WHEEL. FRUSTRATING.

    Whenever I scroll using the scroll wheel with this Belkin USB MOUSE my mouse loses POWER and becomes unresponsive.  It only regains power when the SCROLL WHEEL IS CLICKED.  It works perfectly on other hardware so I know that it's this TOSHIBA LAPTOP or an UPDATE thatis the PROBLEM.   I do NOT use the touchpad because they are inferior to mice when working with graphics.  Is there some kind of conflict here?  How do I PERMANENTLY disable the touchpad--it's completely and utterly useless to me compared to a mouse and just makes me angry and I really want to be able to use the scroll wheel on the MOUSE without it turning on and off and on and off and on and off.  This is a very recent issue that hasn't plagued me until recently maybe within a week or two. Note when this happens it flips between the synaptics touchpad and the mouse for CURRENT SELECTED INPUT DEVICE, regardless of WHETHER OR NOT I have it set to disable touchpad when usb device is plugged in, so I don't need to try that step. Thanks! 

    I haven't heard of the scroll wheel issue anywhere else (mine is fine), but the blank picture issue is known.
    Myself and many others have experienced it, definitely a software bug.
    More details here: http://discussions.apple.com/thread.jspa?threadID=1120110&tstart=45

  • How to not lose proportion when importing AI objects using catality?

    Hi all,
    I have a very annoing issue when i imoprt AI assets into Flex using Catalyst.
    When i import the AI object and do not resize them, they look ok, but when i import them and enlarge the width, they loose proportion:
    Does someone knows how to keep the proportion?
    B.T.W this is the code generated for this object:
    <s:Path data="M 76.533 18.501 C 77.116 19.501 76.189 19.501 74.533 19.501 L 13.596 19.501 C 11.939 19.501 10.55 19.501 9.385 17.794 L 0.597 3.5 C 0.066 0.5 1.939 0.5 3.597 0.5 L 62.533 0.5 C 64.189 0.5 66.382 1.819 67.533 3.5 L 76.533 18.501 Z" winding="nonZero" x="0" y="0">
                <s:stroke>
                    <s:SolidColorStroke caps="none" color="#CCCCCC" joints="miter" miterLimit="4" weight="1"/>
                </s:stroke>
            </s:Path>
    Thanks,
    Lior

    DisplayObject.scale9Grid?  Just a stab in the dark

  • ITunes12: Date when song was added to iPhone

    hi there
    in itunes 11 and with ios 6 when i added a song to the iphone, date added was the date when i added the song to the iphone.
    with itunes 12 and ios 7 this is no longer the case. date added is always the date when the song added to the itunes library.
    i would like to sort on the iphone by date added to iphone so overlook the files currently being added (as there is no progress bar anymore).
    any hints?

    At this time iPhone users cannot view timestamps of when contacts are created, deleted or modified within the Contacts app. Try browsing old messages or phone records to find out when you first contacted the number. That may give you a better idea of when you initially had access to the number or created the contact.

Maybe you are looking for

  • SOAP TO JDBC scenario: calling stored procedure which will return the value

    Hi I have Soap To Jdbc scenario in which I am going to call the Stored Procedure at target side which will be executed and it is going to return the result set . Result contains following values. return code as ( 0 Or 1) and also specific exception m

  • How can I download a transfer without waiting for it be all transferred?

    How can I download a transfer without waiting for it be all transferred? Thanks.

  • Access 97 Data Pump

    Greetings, I have written a data pump in Access97. I am currenty using the latest ODBC drivers from the OTN site (downloaded as of today). I am running Oracle 8.1.7 The problem I am having is I am pumping information from an older (oracle 7) database

  • Can't open document in KM

    Hi, I've created a document in KM (in EP7) with a Web Dynpro application using the Java KM API. No exceptions are thrown while creating the content. The document is shown in the portal (Content administration - KM content). I can view the details of

  • Reservation storage location

    If there is shortage of stock to fulfill reservation reuirement , I want that reservation storage location should be appeared in purchase requisition so that when the stock is received from vendor, it can be directly posted to desired storage locatio