Save wavefromgraph data of format [f0,df & magnitude)into TDMS file

How to save Wavefrom Graph data into TDMS file including fo & df along with the magintude.
I am able to save magnitude alone which is not correct ,coz i have f0 & df also needs to be saved in order to calculate some values
pls see the below image which shows the i/p format to the wavefrom graph. Also pls do the needful help.  .
Attachments:
Waveform.png ‏11 KB

Hi, check this link
Simultaneously Write and Read TDMS Data.......
https://decibel.ni.com/content/docs/DOC-7982

Similar Messages

  • I have to average data of 1min and then log into text file

    For my application i have to average data of 1min and then log into text file. please guide me on this . To transfer the data i am using notifier.
    Prashant Soni
    LabVIEW Engineer

    hi prashant,
      Check this attachment..I just implemented my idea    in this one.
    Thanks and regards,
    srikrishnaNF
    Attachments:
    Example_VI_BD.png ‏12 KB

  • How can i save the data's which  i have entered into the table (webdynpro)

    Hi,
    I have created one view in that username , password fields and one button are there .
    While clicking on the button how can i save that data's into the table which i have created??
    Where i want to write the code??
    please help me...
    Thanks
    Shyja

    hi,
         in component controller create a method save, on that read the node that containing the user name and password into itab using the code wizard.now write code to insert itab to the dbtable of ur choice. save the method and activate .
    now go to ur view, create  a button.. on action of that call the method in the comp_controller.
    Regards
    Sarath
    Message was edited by:
            sarath satheesan

  • Date o/p probelm when download into flat file inf110 tcode in fi

    hi,
      when im create payment transaction in f110 tcode in fi , and selct the record and down load into flat file
    in flat file first line it shows run date same as we given in transaction,but in second line it shows same date as before
    but it shows different date example : firstline it shows 12 .10.2008 and second line 12.10.2008 is right o/p.
             but it shows as first line 12.10.2008,and seconde line 6.10.2008. why it show like that.

    Hi Ganesh,
    As per my understanding you have an issue with the date while downloading it into the Flat file.
    It is displaying the incorrect date in the second line in Flat file. 
    Are you downloading the data in Notepad or in the Excel sheet?
    Can you please elaborate the issue, if it is in Excel sheet then check if it is displaying multiple records for the same date.
    Ex :
                        Date                   Records
                 12 .10.2008             ad
                                             fg
                                             as
                 6.10.2008               we
                                            af
    Check if this is the case...
    Regards,
    Kittu

  • Writing data from two different acquisition rates into one file

    Hi,
    I'm using a compactRIO, and I have an anemometer outputting data at 4Hz to the serial port on the controller, and I am using a 9237 module to read strain from two channels at 40Hz. I would like to record all this data in one file, but I'm unsure how to have the data points match up with respect to time since they are read at different rates. Basically I have 10 strain data points for every one anemometer data point, but that one data point needs to somehow be associated with the other 10 read in the same amount of time. It would be okay to "extend" the slower data to the 10 strain points, and likewise to the next ten when the anemometer refreshes its values.
    Thanks for any input!
    Andrew

    Check out the Queue multi-plexer vi from the examples.  C:\Program Files\National Instruments\LabVIEW 2009\examples\general\queue.llb\Queue Multiplexer.vi
    If each data acquisition loop enqueues data to one file writing loop the data is writen in order.  Queues are really a good way to multiplex data sources 
    Message Edited by Jeff Bohrer on 01-29-2010 09:44 AM
    Jeff

  • "Deep data objects not supported" when writing into a file

    Hello everybody,
    I am having some issues about a program that i made which puts the content of any table in a file that i created.
    The problem is when my table (transparent table) has a deep data type in it (example : a string field, so with undefined length).
    Here is my code :
      DATA : lt_gentable TYPE REF TO data.
      DATA : ls_gentable TYPE REF TO data.
      FIELD-SYMBOLS : <ft_lines> TYPE STANDARD TABLE.
      FIELD-SYMBOLS : <fs_line> TYPE ANY.
      CREATE DATA lt_gentable TYPE TABLE OF (p_tab).
      CREATE DATA ls_gentable TYPE (p_tab).
      "creation of links
      ASSIGN ls_gentable->* TO <fs_line>.
      ASSIGN lt_gentable->* TO <ft_lines>.
      DATA : l_fname     TYPE char80.
      CONCATENATE '\dir\dir2\' l_fname_log INTO l_fname.
      OPEN DATASET l_fname FOR OUTPUT IN BINARY MODE.
      OPEN CURSOR WITH HOLD l_c FOR SELECT * FROM (p_tab).
      DO.
        FETCH NEXT CURSOR l_c INTO TABLE <ft_lines> PACKAGE SIZE p_size.
        IF sy-subrc = 0.
          LOOP AT <ft_lines> INTO <fs_line>.
            TRANSFER <fs_line> TO l_fname.   <=====> GOES INTO DUMP BECAUSE MY TABLE (p_tab) has a string field
          ENDLOOP.
          CLEAR <ft_lines>.
        ELSE.
          CLOSE CURSOR l_c.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET l_fname.
    Here is the message i am getting :
    At the statement
       "TRANSFER f TO ..."
    no deep data objects are supported at the a
    for strings.
    Elementary deep data types are internal tabl
    data object) references and strings (STRING,
    General deep data objects are elementary dee
    that contain deep data objects.
    In this particular case, the operand "f" has
    internal identification "v".
      List of internal ABAP types:
      C    Text (Character)
      N    Numerical text
      D    Date (YYYYMMDD)
      T    Time (HHMMSS)
      X    Hexadecimal
      I    Integer
      P    Packed number
      F    Floating point number
      h    Internal table
      r    Object reference
      l    Data reference
      g    String of type C
      y    String of type X
      s    2-byte integer with plus/minus sign
      b    1-byte integer without plus/minus sig
      u    Structure (flat structure)
      v    Structure (deep structure)
    Can you help me to go through this issue ?
    Any kind of help would be appreciated.
    Christian

    Sandra is correct I agree with him,
    TRANSFER dobj TO dset [LENGTH len]
                          [NO END OF LINE].
    dobj must be character-type . Use String.
    Please read the F1 help for the TRANSFER Statement and also please check the example
    In your case assign the <fs> to Casting File asfollows
    DATA: file TYPE string VALUE `flights.dat`,
          wa TYPE spfli.
    FIELD-SYMBOLS TYPE x.
      ASSIGN wa TO CASTING.
      TRANSFER TO file.
    Hope this helps...

  • Save triggered data from 2 modules

    I am using SignalExpress (3.0) with USB cDAQ-9172, a NI9203 current and NI9201 voltage module.  After Acquiring data (continuously), I am using a software trigger on the 9203 current signal to analyze and save the triggered data (collected from all 8 channels on 9203).  However, I am not able to save the data from 9201 voltage module?  It looks like the software trigger only accepts a single module input (I think).  As shown in the attachment "trigger Input.jpg" I can only select 1 module as the input for the software trigger (either the current module or the voltage module)
    Is there any way to trigger on a single channel and then save data from both modules?
    Thanks!
    Ryan
    Solved!
    Go to Solution.
    Attachments:
    trigger Input.JPG ‏32 KB
    Step setup.JPG ‏51 KB

    Hey Ryan!
    You can actually do all of this in one DAQmx Acquire step.  There is a tab in the Acquire step where you can specify your triggering.  Then there is a recording options tab up at the top where you can choose to save your data when the logging starts to a TDMS file that can be read in excel.
    Doug Farrell
    Product Manager - Condition Monitoring
    National Instruments
    National Instruments Condition Monitoring
    Attachments:
    sigex.png ‏21 KB

  • How can i save the data in a jpanel form to a .txt document

    how can i save the data in a jpanel form to a text file using parse function,this should happen when i click a save button .
    please help me..

    each time when i fill the form and click save button ,all the data in the form should be written to a text file and each time when i repeat it should append to the old data in the text file.the elements in the form should be seperated by pipe delimeter.
    thanks for your patience..

  • Save waveform data with corresponding time array to spreadsheet file

    Hello to all
    I am looking for a possibility to save voltage data acquired and displayed continousely to a spreadsheet file. Acquiring and displaying is not a big problem, but I have troubble to save the data with the corresponding timestamp with more than seconds accuracy. I am acquiring the data at 1000 Hz and read packages of 500 samples. The recording time should not be limited, it will be started and stopped manually. In fact the acquired voltage data first has to be scaled and than saved. If I use the 'WRITE WAVEFORM TO SPREADSHEET' VI the time column is in seconds' accuracy and that is not what I need. If I create my own time array from the waveform parameters I have timing problems. The accuracy in time should reflect the sample rate. I will attach one of my not very successful trials for better understanding.
    please help a newcomer!
    Thanks in advance
    Thomas
    LV 7.1
    Attachments:
    display & record forces v.1.0.vi ‏181 KB

    I usually follow a simple method to generate time stamp
    I keep sampling rate and number of samples to read as equal and do as shown in the attached VI
    I also remember building a VI with a small modification to this time stamp generation logic to cater to acq, where number of samples to read is half/one fourth/one tenth of sampling rate specified, but cannot find that VI.
    Hope this helps
    Regards
    Dev
    Attachments:
    Acq_DAQmx_filesave_time stamp.vi ‏121 KB

  • Save table data in notepad in client machine using servlet

    hi,
    i m having one servlet file(Write_File.java).. in this prog i retrive some data form one table and write into one file(c:\\write.be).. its automatically stored tat file in server machine.. now what my issue is when i run Write_File.java, it sholud have to shows save dialogue box..
    file name : Write_File.java
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class Write_File extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              PrintWriter out = response.getWriter();
              //boolean header = true;
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/cha_db","root","user");
                   Statement stat = con.createStatement();
                   ResultSet rs = stat.executeQuery("Select * from acc_ledger");
                   ResultSetMetaData rs_meta = rs.getMetaData();
                        out.println(rs_meta.getColumnName(1)+"\t"+rs_meta.getColumnName(2));
                        fos.write((rs_meta.getColumnName(1)+"\t\t"+rs_meta.getColumnName(2)+"\r\n").getBytes());
                        fos.write(("--------------\t\t--------------\r\n").getBytes());
                   while(rs.next())
                        fos.write((rs.getString(2)+"\t\t"+rs.getString(3)+"\r\n").getBytes());
                   fos.write(("========\t\t========\r\n").getBytes());               
              catch(Exception e)
                   out.println(e);
              fos.flush();
              fos.close();
    pls solve this problem
    Edited by: vishruta on Nov 16, 2007 3:02 AM

    hi,
    i m having one servlet file(Write_File.java).. in this prog i retrive some data form one table and write into one file(c:\\write.be).. its automatically stored tat file in server machine.. now what my issue is when i run Write_File.java, it sholud have to shows save dialogue box..
    file name : Write_File.java
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class Write_File extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              PrintWriter out = response.getWriter();
              //boolean header = true;
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/cha_db","root","user");
                   Statement stat = con.createStatement();
                   ResultSet rs = stat.executeQuery("Select * from acc_ledger");
                   ResultSetMetaData rs_meta = rs.getMetaData();
                        out.println(rs_meta.getColumnName(1)+"\t"+rs_meta.getColumnName(2));
                        fos.write((rs_meta.getColumnName(1)+"\t\t"+rs_meta.getColumnName(2)+"\r\n").getBytes());
                        fos.write(("--------------\t\t--------------\r\n").getBytes());
                   while(rs.next())
                        fos.write((rs.getString(2)+"\t\t"+rs.getString(3)+"\r\n").getBytes());
                   fos.write(("========\t\t========\r\n").getBytes());               
              catch(Exception e)
                   out.println(e);
              fos.flush();
              fos.close();
    pls solve this problem
    Edited by: vishruta on Nov 16, 2007 3:02 AM

  • Bought a new macbook air because my old computer is formatted. I want to sync my iphone to my new mac, so I can save the data on my iphone without losing data. how can I do?

    bought a new macbook air because my old computer is formatted. I want to sync my iphone to my new mac, so I can save the data on my iphone without losing data. how can I do?

    You need to copy everything form your old computer, or your backup copy of your old computer to your new one.
    The iphone is not a storage/backup device.  it simply mirrors the selected content of the computer to which it is synced.

  • A string that can be displayed as both ASCII and hex in an indicator will only save the data to a file in ASCII format

    We can see the data in an indicator just fine, but when we try to write that string of hexadecimal data to a file, it will only save the data in ASCII format.  
    This sounds fairly simple, as the indicator can be selected to display the data in several different formats (VI>Properties>Appearance>Display Style: Normal, Backslash...., Hexadecimal).  However, I have been unable, as of yet, to save the data in different formats.
    Solved!
    Go to Solution.

    altenbach wrote:
    ... or you could just read the string:text.text property to get whatever is actually displayed.
    like this...
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    texttextString.PNG ‏6 KB

  • How to save LabView data into diadem format ?

    I have a project that needed me to save in Diadem format.
    Is it the correct way to save in Diadem format ?
    Why the length of the data is only limited to 10000 and then will create another tab ? And how to edit the header name ( what I want is Time,Channel0,Channel1,etc) ?
    Attachments:
    TDMS.vi ‏493 KB
    TDMS.zip ‏774 KB

    Your question makes no sense since that VI does not have any TDMS file functions. You are also creating a header in the text file but not according to what you say you want the column names to be.

  • How can i save a data in text format

    how can i save a data in text format in labwindows cvi
    Message Edited by Tikoy on 04-14-2010 11:30 PM
    Solved!
    Go to Solution.

    Hi,
    If your data is in an array, the easiest way is to use the ArrayToFile function.
    It automatically creates a file and puts your data in it according to the format you provide.
    If you have individual samples that you need to write once in a while, you can either collect them into an array and then use ArrayToFile or open a file with fopen and write them as they are acquired with fwrite.
    Hope this helps, 
    S. Eren BALCI
    www.aselsan.com.tr

  • HT1320 how can i save me data stored on a non responding ipod classic and says you need to format before using it?

    how can i save me data stored on a non responding ipod classic and says you need to format before using it?
    in another way : how can i save my date stored on my classic iPOD as a external hard .... when that msgs appears .... volume doesn't contain a recognized file system , make sure the file system is loaded .... then , you need to format ??? can anyone help ?

    It sounds like the iPod's storage has data corruption.  You may be able to treat it like an external drive and use data recovery software on it, but it probably won't work because the system is telling you that the drive needs to be formatted before it is recognized.
    If the problem is data corruption and there is no hardware-related problem on the iPod's hard drive, a Restore should fix the problem.  But this will obviously erase the iPod's hard drive.

Maybe you are looking for

  • My iMessaging is not working, any help as to how to get it working again?

    All of my messages are being sent to other iPhone users as texts, and the Apple system statem shows that nothing is wrong, but it's not working. Anyone else?

  • No apps can access my photos - how to add? iphone 5s

    No apps can access the pictures in my iphone. It says I have to change it in my privacy setting. When I go to the privacy setting >>photos...nothing is there. No list of apps. How can I add apps? Please help

  • Need Database Views for these categories.

    Dear Experts, I need Database Views to get data for the following categories. <b> Historical production Historical consumption Historical inventory Historical procurement. </b> Thanks in Advance.

  • Gnome 3 ignoring my locales

    Gnome 3 (or gdm) a) stopped reading my .xprofile which is annoying as hell b) started ignoring the time-format and other stuff I set through my locales. What a cunt. More annoyingly, thunderbird uses the right date format when started through a termi

  • Java tool like TWOPI

    Hi, I need a tool to integrate open source library in my project. What I need is: I have a background image with fixed points designed that could, for example, represent the buildings, and I want to draw on this image of moving objects, as if they mo