How to write graph of waveform data to text file with the option to the user to do

So, I'm new to labview and will have bad to write a program in particular.  I have a waveform graph that runs for 120 seconds, generating a sine curve.  I am, however, having a time difficult get the program to write the x and are coordinated in a text file.  I've attached what I have so far.

The first task I was assigned was to write a program that creates a curve of snusoidal on the front panel by adding a data point every half second for 120 seconds.  The plot should starts only if the user presses a button to start.

The next part is to give the user an option to write the data generated in a file of worksheet called 'sine.txt '.  The file name and location should be hard-coded.  The file must contain the x and there contact information of each data point in columns separated by tabs, also known as the delimited.

I spent several hours refining the attached program, and I can't seem to make it work right.  Any suggestions would be helpful at this stage.

Sincerely,

A student of chemistry frustrated whose research mentor is out of town

First, you create files Excel.  You create text files.  And it seems that your writing on a file already created X (time) vs Y (curve of data) that is delimited by tabs.

All you do is simply too complicated or a Rube Goldberg.

All you need is the joint.

Tags: NI Software

Similar Questions

  • How to write a double waveform in an Excel file without blank lines of cells

    Hello

    I am writing two waveforms in an Excel file, I'm almost there, but the stumper is that after each data line, a blank line appears in the XL file.

    Probably something simple I forgot because I am fairly new to this.

    Thanks in advance,

    Joel


  • Write data to text file generates the error

    Hi all

    I need to write data to a file using TestStand and I configired the entrance and outside like below, but I get the error message like ' an error occurred 'Write' calling in 'ITextStream' of 'Microsoft Scripting Runtime' [error Code:-2146828234].

    I followed the same procedure for reading text that works very well for me.

    Hope others might have faced the problem / or I do something wrong.

    Do what is necessary.

    Found problem while opening a file I used IO Mode ForReading instead of ForWriting.

    Unnecessarily the thread created, but then hope this can help someone later when they deal with a particular issue.

  • How can I determine what digital data was issued last with the regeneration?

    Is there a way to determine the last digital data output if you are running a quick revival and regeneration?  Right now I use a digital channel not used by the channel with the same clock that I use for other data capture. It works very well and I know that the data I receive are correct, but there is something wrong with burning a channel for that. The data I am regenerating changes several times during the trial for counting samples to determine where I was in the buffer would make my code more complex and the chances of a mistake to increase.

    I have a mixture of material that I use for a cDAQ-9172, a box of series M and a PXI-1033 USB.

    Hello Tom,

    There is absolutely something wrong with having to use one of your channels to monitor what you're out, however, it's the best we can right now.  The problem is, when you set a buffer until the release, the access card to this memory stream location it will regulate.  It's speed leaving and overall card design.  There is no way back on the material for do what you are looking for and no software to interact directly with the location of the buffer.

  • Does anyone know how to write an apple logo or symbol of command with the text tool?

    It is made by alt + shift + K with mail etc. on a mac, but not in photoshop.  PS 3 macbook pro

    Thanks Chris

    While this is an apple under the name of the layer logo, it's a place on the Web.

    So I think the problem is with the police.

    Have you tried using another one (preferably one of those default)?

  • Import data from txt file with the reading of the names of columns

    Hello

    After changing the export of my simulation program, I can't use the postet heresolution, that works well. (I mark the message as hailed this is why I run a post only)

    Can anybode if you please tell me how to fan the code to import the new txt file type. The names of the columns here are FOA online first columns, like this (with ignoring the first lines).

    Hello Gabriel

    You can use the use wizard (Navigator > file > use wizard) to define a new filter to import file for your data. It will take only a minute.

    Please find the uri of the file that I create for you. Copy the attached file in your disk, unzip it and double-click the file uri.

    Then you can open your file by using 'open with '.

    Hope this helps

  • Using the stand-alone converter 5 with entry as local windows 7 in vmware fusion 4 output, the output is a folder with many files. How can I get this folder into a single file with the extension windows7.vmwarevm?

    I use standalone converter where I am converting my local windows 7 in vmware fusion 4 at the exit. When I made the migration wizard previously, I had an output of a windows7.vmwarevm file. However, when I made the converter, I had a folder called windows7. In this case, I had several files.

    Is there a way for me to convert all these files into one file, that is to say: windows7.vmwarevm? do I need to use the converter or other vmware tools?

    Welcome to the community,

    Please take a look at Re: how to convert a package/package of my folder on drive hard/vmware fusion? to see if that helps. This is a pretty old post, but I think that it is still valid.

    André

  • How to write a script for date get to the Clipboard

    Hi experts,

    How to write a script for date get to the Clipboard.

    the date format will be like this:

    05 - may

    respect of

    John

    Thanks guys, thanks Sanon

    I finally use the .bat doc

    like this:

    @@echo off
    for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
    the value "YYYY = % dt: ~ 0, 4%.
    the value "MM = % dt: ~ 4, 2%.

    If MM % is 01 set MM = January
    If % MM == 02 set MM = February
    If MM % is MM value = March 03
    If MM % is 04 MM value = April
    If MM % is 05 MM value = may
    If MM % is 06 MM value = June
    If MM % == 07 set MM = July
    If MM % is MM value = August 08
    If MM % is MM value = September 09
    If MM % is 10 MM value = October
    If MM % is 11A set MM = November
    If MM % is game MM 12 = December

    the value "DD = % dt: ~ 6, 2%.
    the value "HH = % dt: ~ 8, 2%.
    the value "Min = % dt: ~ 10, 2%.
    Set "s = % dt: ~ 12, 2%.

    Echo DD - MM HH % %% % Min | Clip

    It works

    respect of

    John

  • How to read/write tdms 2.0 files with the TDM C DLL?

    Hello

    How to read/write tdms 2.0 files with the TDM C DLL?

    How consequently the datas in interlaced with the TDM C DLL mode?

    Thank you

    Confirmation: TDM C DLL always wrote the file in TDMS version 2.0.

  • How to save a Table of data on Excel file

    Hi anyone knows how to save data to the table of labview, I want to save this data to the excel file.

    Double Post

    http://forums.NI.com/T5/LabVIEW/how-to-save-a-multicolumn-ListBox-data-to-Excel-file/m-p/2974581

    You can use,

    1. write in the worksheet File.vi

    2 report generation toolkit

  • text file with header data

    Hello

    for my test application, I want to store test data in a text file with header. It should be like this:

    name, series, count, current, min. Max run

    Mister Smith

    1234567890

    111

    10

    1000

    data:

    1 345 34

    2 355 23

    3 360 34

    ...

    The first row are only on the lines of header information. ' data: ' is the beginning of the data marker. The data consists of a number, the average value of the current regulation time in s.

    Now I write an array of strings in the file text, but if the length of the header of Exchange I overwrite the data. For example, the name is Mister John Smith.

    In my program, I can create a new file with header and I cannot change the header later. In the routine of the measure, I put the data in the file.

    How can I solve this?

    Thank you

    Schwede

    Hallo Schwede,

    Here is an example:

    Carefule and do a few checks, at this time, it will reduce 'your comments' when it exceeds 512 bytes...

  • quickly create with filter-date and initialize it with the current date

    Oracle BI 11 g

    Hello!

    I need to create guest of dashboard with filter-date and initialize it with the current date. How can I do?

    I tried to create the repository initialization block and add a variable. But I don't know what should I write to DataSource? I tried using the Current_Date, Now(), sysdate functions (for example, SELECT Now() FROM tbl_Calendar) but without results - when I pressed the button "Test"... "I have errors - something like 'Now() is unknown function' or 'incorrect syntax near keyword Current_Date.

    After that, I made to use presentation Variable in the command prompt, but also without success (())

    Please, help me.

    Use "Server Variable.

  • Convert data from text file to display for hex UDP transmission controls

    Hello

    I'm reading packets ethernet from a text file containing the actual hex data packets to then send these accurate return through a writing UDP hex data. I can't understand how to feed data into the function of writing UDP as real rather than characters ASCII hex data, as it does by default. I had the screen on the last VI before the writing of the UDP to "hexadecimal display mode" and if I manually type the hexadecimal values in the VI (hexadecimal string to binary String.vi - attached), then it passes the commands correctly. However,... when I fed the string of text in my text file data in this VI, it seems to be the substitution of this hexadecimal display on the VI input mode and the resulting entry in my UDP is still ASCII character mode. I tried to use a cast inside this VI, type... but that doesn't seem to work right. I have attached the main VI and VI which tries to prepare data before reading the UDP protocol. I've also attached an example of text file of data that I am an attempt of analysis.

    Any help would be appreciated,

    Thank you

    Hi jsrocket,

    the attached example should work as a transformation.

    Mike

  • read and medium n data from text file

    I acquire [a waveform of reading] oscilloscope digital data that is stored in a column in a text file.

    I need to read selectable amount of data at average/parcel them points.

    So basically I want to have a text file with millions of data points, but I want to draw not to say that all 1000. data point. I tried a lot of things I found here on the forum, but as I'm new to LabView, none of them really worked.

    Does anyone have a suggestion.

    Thank you.


  • BlackBerry software blackberry 10 data is not compatible with the version of the software of the device you are currently using

    Hello

    My update of 10.3.1.1565 sali writing entry to the top on my phone.  so I tried the downgrade to 10.2.1 to do all my files are gone, however I thought I was smart by making this morning during the execution of 10.3.1.1565 a full backup before attempting the downgrade to os 10.2.1 through BlackBerry Link

    In any case I had to restore my device to 10.3.1.1565 and now when I try to do a restore by using the .bbb (backup) I created to present IE get the following error message:

    BlackBerry 10 data is not compatible with the version of the software of the device you are currently using

    versions of the software on my phone now and the version of the software when I did my backup are exactly the same 10.3.1.1565.  I am able to restore my user files and applications ect, because it proposes to make a partial restoration,., but my contacts and don't forget files are now gone.  I NEED THEM.  How can I get that back...

    Help, please...

    Thank you

    Hello

    I thought about it.  so I thought I'd post.  Apparently the BlackBerry pulled the 10.3.1.1565 update.  Anway don't know what happened over butI usng Shenshi and grabbing an update of another carrier, after that, so I'm now able to do a full restore using my old BBB file.

Maybe you are looking for