Problems with multiple worksheets XY plotting (program generates repeated data)

Hello

I want to make a small program that will reduce the amount of time to go forward with the measurement data. I get data into .dat format, where all the files consist of frequency measurement with an X and a Y column. The problem is that I made 4 experiments (X column is the same for each experience) with 15 measures file each and more than 500 points of measurement in each file. I would like to make a simple manipulation and this copy that information to a file with same X column and multi-column, later I could use these data with Excel or origin (do it manually, it's frustrating and time consuming).

At the beginning my program reads the background information with X and Y (b), and after I open the worksheet to insert the X and data of Y (n). (make a simple manipulation, like dividing Y (n) /Y (b), program show a graph of the current data and another graph multiple data, which are stored and must be exported in .txt, .dat or directly to Excel (which is more preferable)). I'm OK with the opening of several files of data, but which are not okay with copy/paste file and handle all that data manually, but that's my motivation for this program.

The attached example can do all this (except for the entry in the file). He draws multiple charts on a XY chart using cluster and travel records. It is even possible to extract data in Excel, all that graphic, but the real problems comes with data are always added because of the loop. This gives a lot of empty and repeated data later. I'm jonesing to get rid of this. I have also attached several files of measure: 1 background and 3 measures.

P.S. I tried to save time thanks to this program, but now, I spent more time than if I did it manually

Your program absolutely no sense. What is the purpose of the structure of sequence? It just sits there, operating both in parallel to the while loop. Probably that you read from the local variables before other parts of the program had a chance to write valid data for them.

In the while loop, you have a case of timeout that adds the same data over and over again, every 50ms. Why?

Your mechanical actions "switch release" are misguided. Use actions to latch and remove structures deal as part of the event.

Try to rethink the problem once the mode, and then solve the problem with 20% of your current code. See how far you get.

Tags: NI Software

Similar Questions

  • When I try to install iTunes, I get this error: "there is a problem with this installation package. a program required for this installation could not be executed.

    He said: "there is a problem with this installation package. a program required for this installation could not be completed, contact your provider of batch

    original title: itunes is not installed.

    Hello

    Did you change your computer?

    Method 1:

    I suggest you to see the links and check.

    Problem installing iTunes or QuickTime for Windows

    http://support.Apple.com/kb/HT1926

    See also:

    Solve problems with programs that cannot be installed or uninstalled http://support.microsoft.com/mats/Program_Install_and_Uninstall

    How to solve problems when you install or uninstall programs on a Windows computer

    http://support.Microsoft.com/kb/2438651

    I also suggest you to contact the Apple support and check.

    http://www.Apple.com/support/

  • Problem with multiple downloads with the router. Allows you to change the TCP MSS value?

    Original title: TCP MSS

    Hi all.

    I currently have a problem with multiple downloads with my current router.  If I have two current downloads at the same time I have no access to all web sites.  It's almost as if the downloads take my meaning of bandwidth there is more nothing for ordinary surfing.

    As a test I put an older router on my system and have a significant improvement in performance.  I have 2 downloads in progress and also surf at the same time.

    To compare two routers, I noticed that the only real difference between the two is that the TCP MSS value is set to '0' on the router of the problem, and then assign him 1392 (MTU - 40) on the router to elderly who gives better performance.

    It is my understanding that this value governs the size of transmitted packets.

    My question is this:

    What is the MSS value which is causing the problem?

    Congratulations in advance.

    Be sure to interpret the values. The '0' means no not literally because the link would not work. It is likely, that it allows the local device set limits for the link. Don't forget that there is a Maximum value and as such can be any value up to such limit as defined by all devices in the path.

    You can try capping manually but it is unlikely that any local limit will come to effect unless you set very low.

  • problems with smartview 11.1.2.3:500 sending data

    Hello

    We have problems with smartview 11.1.2.3:500 submitting data. They go back to original. Everyone sees the same thing?

    In addition, is always available for 11.1.2.3:500 adds excel?

    We have seen similar problems in our previous version 11.1.1.13.

    Level zero member is not the only child of a parent - is not a problem of "implicit sharing.  Parents are generally never distinguished part.

    I suggest you check to ensure there is security access to write to the intersection.

    One thing you can do is use the tab Styles of cell color read only one color of cells and cells writable a different color.  In this way, you can check security and make sure that you pull a cell in writing until you try to send data.

    A second problem is perhaps that you have the same intersection listed twice on your worksheet.  If you do, it will keep the data in the last record.

    Hope that helps.

  • Problem with multiple threads

    I have a program that interacts with an ESX 3.5 server using the VIX API, written in c#. I'm from multiple threads in c# program with each thread running an automation process which creates a connection to a virtual machine on the ESX Server, some automated process, and then disconnects. I'm having problems with this. When I call Disconnect() from one of the threads, it seems to cause problems with my other son if they have not yet disconnected. I connect to an another VM on the server in each thread. The problem is if I don't call disconnect, I get errors, but if I call disconnect in a thread it causes errors. Y at - it something similar? Any suggestions on how to make this run smoothly? Thank you!

    This sounds a lot like you are getting hurt by the host sharing of handle.  If HostConnect() is called with the same parameters, the handle of the host gets reused.  HostDisconnect() will clean this handle, even if his commune.  It's actually documented behaivior.  We have also decided that there may problems like the one you have reached, so it will be removed in a future release.

    So your application will share the handful of host among all discussions, and as soon as we call disconnection, the host handles in other countries also becomes invalid.

    Make a unique HostConnect() and share this handle inside threads is a way to avoid this.  HostConnect() is generally quite expensive, so we recommend in all cases.

  • Problem with writing worksheet

    Hello

    Guys can anbody help me with this thing, I have problem with the writing of the spreadsheet file. I'm uploading a picture of my program in LabVIEW.

    When I run program works as well and excel file is populated with the data that I've seen the size of the file how rising. But when I want to open the file to verify that I got this message in 'Note2 '.

    So can anbody help me what I need to do? Problem in my LabVIEW or?

    Thanks in advance.

    Hi dony,.

    simple answer: do not use the suffix "xlsx" to your spreadsheet file. Use instead - 'csv' because that's what you create!

  • Problems with multiple monitors for critical update Windows 7

    Since the update critical October 1, I can no longer run multiple monitors.

    According to the record, this update made changes at the same time the driver for my AMD Radeon 7470 and Dell monitor 1.1 card, and I've updated the software.

    Devices for work and when I pass cables or remove cables. Yet they are simply not recognized as connected.

    Hello Kent,

    Thanks for posting your question on the Microsoft community.

    Thank you for details on the issue.

    This problem may occur because of corrupted or incorrect display settings.

    I suggest you run the hardware and devices Troubleshooter and check.
    Reference:
    Open the hardware and devices Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Please also read this article and check.
    Work and play better with multiple monitors
    http://Windows.Microsoft.com/en-us/Windows7/work-and-play-better-with-multiple-monitors

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • I have a problem with IBM Lotus Symphony - the program crashing several times every 5 seconds

    Original thread - I have a problem with IBM Lotus Symphony.  I am trying to edit a document, and I can't get any task done without the program crashing several times every 5 seconds.  What can I do to fix this?

    The program crashes every 5 seconds.  I started having this problem last night, but I didn't even know that first of all, there was a problem until today.

    Hello
     

    You receive an error message/code when you edit a document in IBM Lotus Symphony?
     

    I suggest to put the computer in a clean boot state and then try to open the program and check if it helps.
    Note: when you perform a clean boot, you may temporarily lose some functionality. When you start the computer as usual, the function returns. However, you may receive the error message, or you can experience the original behavior.
    How to solve the problem by running the clean boot in Windows 7:
    http://support.Microsoft.com/kb/929135
    Note: once you have completed troubleshooting, perform the steps in the step 7: to reset the computer as usual.
    If the problem persists please contact the IBM Lotus Symphony support for assistance. See the link below.
    http://www-03.IBM.com/software/Lotus/Symphony/ForumnsHome.nsf/home
     
    It will be useful.
  • Major problems with multiple items of page on the web viewer since the last update

    In the last days, we had problems with all our multiple page items that are newly updated or added on the web viewer.

    Scrolling of pages just to repeat content again and again and true articles page see first pages content overlaid on all subsequent pages. It seems that something important broke in the way that the dps push articles to the webviewer, as is happening through fact sheets and articles. This means that we cannot publish anything until it's resolved.

    Someone knows something similar? Any suggestions?

    Hi Lucie,.

    Please contact support for assistance with this enterprise. They can investigate and open a support issue with if necessary engineering team. Contact information is available by logging into http://digitalpublishing.acrobat.com/ and looking at the Middle bottom of the screen.

    Neil

  • problem with multiple digital signatures by deactivating the fast web view

    Hello, I use acrobat pro 9.1 and have questions regarding a problem with several signatures on a pdf document.

    Why I ask the question below? My job is to prepare PDFs for submission to the FDA. The FDA requires, among other things, the documents submitted electronically have quick view active web.

    I am currently exploring ways to use digital signatures to sign pdf reports and always make sure they are spec FDA compliant. My question concerns a document which would have several signature fields. What I do, it is to create at least two signature fields in the doc and then save and optimize everything for fast web viewing. When I connect the first box and save, the file retains the fast web view state. Yet, when I apply and signatures past one, the file is then left for quick web display with no obvious way to turn it back on. I'm confused as to why it gets disabled after the second, and not just after even the first condition has been signed. And, of course, I would like to know if it is possible to maintain the fast web view and how to do it. I will gladly accept "tinker under the hood' suggestions file if they exist as well.

    Please let me know if something is not clear or you would like more information.

    Thanks for your time and your help.

    ~ Vlad

    Hi Vlad,

    Real Michael has got the right answer. A "Linearized" file (which is a file that has been optimized for fast Web view) aims to get the first page to display as soon as possible so that you can start playing without waiting for the rest of the file to download. Incidentally, the first designated page should not necessarily be page 0 (use of PDF has zero according to the pages counting system), but it usually is. The PDF specification, "the main objective of linearized PDF is optimized PDF documents viewing read-only. It is expected that the linearized PDF generated once and read many times. Incremental update is still permitted, but the PDF is is more linear and subsequently is treated as ordinary PDF. »

    When you open a PDF file the first time that the backup process is a full 'save', it is the whole document is rewritten, so there is no more than two percent markers EOF (end-of-file) inside. The first expressions of folklore means what page to see the first and the second EOF designates the end of the rest of the file (so the browser knows when to stop downloading). However, when you add a second signature (or even longer) the file is saved as a "record growth" and new data is appended to the original file. It is that you can do a restore to the previous signed version and allows Acrobat/Reader verify the integrity of each signature regardless of any other signatures. It's the incremental save, breaking the linear optimization of the file.

    Steve

  • problem with defrag and 'protection stub program '.

    I have defraged my drive and ended up with a problem with the execution errors. so I restored to a prevoious version, which eliminated this problem but now I had to reinstall my Dungeon siege11 and I get a "stub of protection has stopped working" error and I can't find anything on this stub of protection. the same thing happened when I tried to load and play Dungeon Diege11 Broken World.  but it din't happen when I loaded Titan Quest. all susgestions on how I want to reload this stub of protection? I don't have a vista cd that my computer camae with it preloaded.
    Any help would be apreciated.

    Hi geagle99,

    Thanks for posting answers.microsoft.com

    Here's a link involving games that can be useful in your situation.

    http://support.Microsoft.com/?PR=GMS

    It is information involving the "stub of protection has stopped working" when you plug this information to your favorite search engine that provides other stages involving the protection stub stopped work question.

    Please let us know if any suggestions on this topic has helped solve the problem or if assistance is needed.

    Kind regards

    Debbie Microsoft Support Engineer answers visit our Forum of Microsoft answers Feedback and let us know what you think.

  • Problem with error message 'invalid credentials' program of Jobulator software

    I agree with jobulator. I just renew my subscription and checked my real account of ASEOP and both were good. However, when I turned on my computer yesterday jobulator displays the message 'invalid credentials '. I never got this message and I used this software for more than a month. I have tried everything to fix this problem, but nothing works. Any ideas or suggestions?

    Hello

    There is a problem with the Jobulator software; You can contact the Jobulator for more help.

  • Problems with multiple framerates and Blackmagic Decklink 4 K Extreme reading

    Recently, I exchanged by AJA Kona card for extreme Blackmagic Decklink 4 K in order to get external followed in DaVinci Resolve.

    I work in a 1080 p 23.976 project that includes a 29.97 SD and HD images. Loading these images of 29.97 FPS in my layer source footage, I meet regularly with frozen reading (the triangle of game in my toolbar becomes a symbol of the square and stays that way). From there on, I am unable to playback images in any scenario and requires a complete closure of the system to return to normal! The problem is apparently BOUNCING, with successful reading happening sometimes.

    Images of 29.97 was DVCPRO, I tried to transcode to Prores to solve problems. No dice. I think it's a problem related to the inability of the Decklink to manage several rate display on the fly, but wanted to present here, too. I also experienced delays intermittent sync on my monitor.

    DeckLink driver 10.0

    First CC 7.2.1

    Mac OSX 10.9.2 (mavericks before the same problem)

    Hi Andy,.

    You should not have problems with Blackmagic manage several formats on the fly. However, I believe that the problems of reading frozen that your description is related to the Desktop Driver video 10. I suggest rolling back to 9.3.3 for now. Blackmagic now turns on this issue.

    Best,

    Peter Garaway

    Adobe

    Premiere Pro

  • Problems with multiple locations

    I am having trouble wiring a table 2D plotting a graph of waveform information. According to everything I read in the documentation, this shouldn't be a problem, but it is. One thing I read said to activate the option 'Convert table' draw with a 2D array, but this option is grayed out in the menu. The strange thing is that there are other waveform graphs in the project who accept 2D data tables but I am unable to find a difference in the options between them. I have attached a few photos to see what I mean.

    Thanks for your help!

    I discovered the problem - the graph was not initially wired to a 2D array. I guess it maintains its initial entry 'type' for the duration of the program.

    Thanks for your time though.

  • WTVConverter problem with multiple audio streams...

    The WTVConverter MSFT includes Windows 7 does not correctly handle multiple audio streams. The WTVConverter in the conversion of the format ".wtv' to '.dvrms' instead of keep the main audio stream retains the other stream audio visually impaired. Usually, he keeps the other stream audio visually impaired. NCIS and NCIS Los Angeles, CBS programs have this problem because they include signals SAP (accessibility for blind and partially sighted options)
    How can I tell WTVConverter to include only the main audio instead of the stream audio visually impaired
    Thank you
    Chandra

    Hello, Chandra

    If you think that there should be an option to select a stream when converting, you can leave your comments on the following link:http://mymfe.microsoft.com/Windows%207/Feedback.aspx?formID=195

    In addition, you can try searching for a free replacement program convert WTV files.

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • How to fix the calendar to crash?

    Thunderbird is getting hung up a synchronization schedule and he ends by blocking the program or consumes just CPU so I have to kill him. It's a google calendar, which worked well for the last ~ month. Here's what happens: I launch Thunderbird and it

  • Satellite A100-756: browsers close attempt to download files from the Internet

    I bought a Satellite A100-756 just before Christmas and it has been running XP Pro SP2 absolutely fine without any problem. I've upgraded to Vista Ultimate this weekend and I can't download files to PC from the Internet using ANY web browser I instal

  • HP laptop - 14-ac122tu: no option to set the brightness of the screen

    I recently loaded a Windows 7 64-bit OS and there seems to be no option to set the brightness of the screen. I tried in the power option and the f3 f2 keys. I tried a few things mentioned in some forums as uninstaling the monitor, but there seems to

  • Update DST with 64 bit

    Hi, I tried several times to update daylight savings fix for 64-bit for my HTC HD2 smartphone. I use Office 2010, W7 and when I download the 64-bit patch it returns an error advising that the 32-bit is already installed, which is not. My smartphone r

  • Microsoft genuine advantage - invalid lisence tool?

    Applications been removed somehow, so I tried to do a system restore but could not find.  We bought this machine at a garage sale.  No recovery disk.  What can I do to fix? Diagnostic report (1.9.0019.0):-----------------------------------------Given