How to plot graph from data in.txt format

Hi there,
I want to ploat graph from taking data from txt file, i was using origin and out put of it also attached, The output of Labveiw came something different, i want to compare both, how can i ploat this text file in to the labview?
In txt file:- fist column is showing time and second column showing appropriat data at that time.
thanking you in advance
dipen
Attachments:
graph.zip ‏539 KB

Hi raj,
no I didn't meant to use Excel at all.
Attached you find the solution made in LabView7.1. (I hope the conversion is right as I don't want to change my regional settings...)
To get the columns is rather easy as your text file uses tabs as separators.
Changed attachment: now the last 2 rows are deleted as they contain wrong values!
Message Edited by GerdW on 01-24-2008 04:28 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
Graph.vi ‏57 KB

Similar Messages

  • Can anyone let me know how can i get the ouput from BW in .txt format.

    Can anyone let me know how can i get the ouput from BW in .txt format. See we can get output as Excel(i.e BEX) and manually convert it into txt format. I need a direct or automated way to do the same.no human intervention.
    mail me at [email protected] or post answer in sdn.

    Please do not multiple post across forums..
    how can i save the data in BEX reports in .txt format automatically
    This helps in keeping track of answers and avoids the issue of repeated answers across forums...
    Please close one of the threads as answered and provide the link that you want to follow
    Arun

  • How to write the oracle data as XML format. (.XML file)

    create or replace procedure pro(p_number )
    is
    cursor c1 is select *from emp where empno=p_number;
    v_file utl_file.file_type;
    begin
    v_file := utl_file.fopen('dirc','filename.txt','w');
    for i in c1 loop
    utl_file.put_line(v_file,i.ename || i.empno ||i.job);
    end loop;
    closef(v_file);
    end;
    Now my client want instead of .txt file he need .xml files
    File should contains xml tags. can any one help regarding this.. with one example.
    How to write the oracle data as XML format. (.XML file)

    hi,
    hope this example will do something....
    SQL> select employee_id, first_name, last_name, phone_number
    2 from employees where rownum < 6
    EMPLOYEE_ID FIRST_NAME LAST_NAME PHONE_NUMBER
    100 Steven King 515.123.4567
    101 Neena Kochhar 515.123.4568
    102 Lex De Haan 515.123.4569
    103 Alexander Hunold 590.423.4567
    104 Bruce Ernst 590.423.4568
    SQL> select dbms_xmlgen.getxml('select employee_id, first_name,
    2 last_name, phone_number from employees where rownum < 6') xml
    3 from dual;
    *<?xml version="1.0"?>*
    *<ROWSET>*
    *<ROW>*
    *<EMPLOYEE_ID>100</EMPLOYEE_ID>*
    *<FIRST_NAME>Steven</FIRST_NAME>*
    *<LAST_NAME>King</LAST_NAME>*
    *<PHONE_NUMBER>515.123.4567</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>101</EMPLOYEE_ID>*
    *<FIRST_NAME>Neena</FIRST_NAME>*
    *<LAST_NAME>Kochhar</LAST_NAME>*
    *<PHONE_NUMBER>515.123.4568</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>102</EMPLOYEE_ID>*
    *<FIRST_NAME>Lex</FIRST_NAME>*
    *<LAST_NAME>De Haan</LAST_NAME>*
    *<PHONE_NUMBER>515.123.4569</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>103</EMPLOYEE_ID>*
    *<FIRST_NAME>Alexander</FIRST_NAME>*
    *<LAST_NAME>Hunold</LAST_NAME>*
    *<PHONE_NUMBER>590.423.4567</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>104</EMPLOYEE_ID>*
    *<FIRST_NAME>Bruce</FIRST_NAME>*
    *<LAST_NAME>Ernst</LAST_NAME>*
    *<PHONE_NUMBER>590.423.4568</PHONE_NUMBER>*
    *</ROW>*
    *</ROWSET>*
    ask if you want more assistance.
    thanks.

  • How to convert internal table data to PDF format

    HI,
         I have an internal table data having one field with 255 chars. length.I want to send that intenal table data as attachemnt with external mail. i am thinking of converting that data into PDF format and use the FM to send the mail. How to convert internal table data to PDF format.
    Kishore

    In which format is your data in the internal table currently. Is it returned by a smartform/script or its just data fetched from some database table into an internal table. Since its obvious that the data should appear in the PDF with some Layout, you should be using smartform to format the data properly. See the Link
    Smartform to PDF to EMAIL
    This shows convertion of smartform to pdf and send it through email
    Regards,
    Abhishek

  • How to download the Dynamic data into PPT format

    Hi Friends,
    I have one doubt on WDJ. How to download the Dynamic data into PPT format. For Example Some Dynamic data is available in to View in that One Download Link or button available. Click on Download link or button download that data into PPT Format
    Is it possible for WDJ. If possible please tell me.
    Or
    How to create Business Graphics in Web Dynpro Applications depening up on Excel Data and finally we can download the  Business Graphics  into powerpoint presentation.
    Thank you,
    Regards
    Vijay Kalluri
    Edited by: KalluriVijay on Mar 11, 2011 6:34 AM

    Hi Govindu,
    1. I have one doubt on WDJ. Click on either Submit Buttion or LinkToURL UI we can download the file that file having ppt formate(Text.PPT).
    I am using NWDS Version: 7.0.09 and Java Version: JDK 1.6
    2. is it possible to download the business Graphics in to the PPT by using Java DynPro
    Regards
    VijayK

  • 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

  • How can i record from radio to mp3 format?

    How can i record from radio to mp3 format?
    because i want to record a radio program, and save it, how can i do it?

    If you can, the instructions will be in the user manual - iPod Manuals

  • How to plot graph in ALV?

    Hi,
    Any expert there know how to code in ALV in order for it to plot graph?

    the following classes may help u
    CL_GFS_GRAPH
    CL_GFS_GRAPH_EDGE
    CL_GFS_GRAPH_VERTEX
    CL_GFS_JOIN_GRAPH
    CL_GFS_JOIN_GRAPH_EDGE
    CL_GFS_JOIN_GRAPH_VERTEX
    example
    data:
    lr_def_rt   TYPE REF TO cl_gfs_viewdef_rt,
    lr_root     TYPE REF TO cl_gfs_usage_tree_node,
          lr_pre_it   TYPE REF TO if_gfs_iterator,
          lr_node     TYPE REF TO cl_gfs_usage_tree_node,
          lr_def      TYPE REF TO cl_gfs_viewdef,
          l_defname   TYPE sfsg_definition_name,
    lr_vertex   TYPE REF TO cl_gfs_graph_vertex,
    lr_gvert    TYPE REF TO cl_gfs_join_graph_vertex,
    lr_edge     TYPE REF TO cl_gfs_join_graph_edge.
    CREATE OBJECT lr_def_rt.
    lr_root ?= lr_def_rt->mr_tree->get_root( ).
    lr_pre_it = lr_root->preorder_iterator( ).
    WHILE lr_pre_it->has_next( ) EQ abap_true.
      lr_node ?= lr_pre_it->next( ).
      lr_def ?= lr_node->get_viewdef( ).
      l_defname = lr_def->get_name( ).
      l_dist = lr_node->m_level * 5.
      WRITE: AT l_dist icon_planning_table AS ICON.
      WRITE: l_defname.
      WRITE: AT 50 'AS', lr_node->m_alias.
      NEW-LINE.
      l_dist = l_dist + 5.
      LOOP AT lr_node->mr_join_graph->mt_vertex_list INTO lr_vertex.
        lr_gvert ?= lr_vertex.
        IF lr_gvert->m_source_view = l_defname.
          lr_tabdesc ?= lr_vertex->mr_data.
          WRITE: AT l_dist icon_database_table AS ICON.
          WRITE: lr_tabdesc->m_table_descr-table_name.
          WRITE: AT 50 'AS', lr_tabdesc->m_table_descr-t_alias.
          IF lr_gvert EQ lr_def_rt->mr_anchor_vertex.
            WRITE: AT 70 '[X]'.
          ENDIF.
          NEW-LINE.
        ENDIF.
      ENDLOOP.
    ENDWHILE.
    lr_def_rt->get_paths(
      IMPORTING
        rt_paths = lt_path
    LOOP AT lt_path INTO ls_path.
      SKIP.
      ULINE (113).
      NEW-LINE.
      WRITE: '|' NO-GAP, ls_path-path_name NO-GAP.
      WRITE: '|' NO-GAP, AT 7 '|' NO-GAP, (10) 'Join Name'  COLOR COL_HEADING NO-GAP, '|' NO-GAP,"#EC NOTEXT
             (20) 'Left Table'  COLOR COL_HEADING NO-GAP,'|' NO-GAP,"#EC NOTEXT
             (20) 'Left Attr.'  COLOR COL_HEADING NO-GAP,'|' NO-GAP,"#EC NOTEXT
             (20) 'Right Table'  COLOR COL_HEADING NO-GAP,'|' NO-GAP,"#EC NOTEXT
             (20) 'Right Attr.'  COLOR COL_HEADING NO-GAP,'|' NO-GAP,"#EC NOTEXT
             (10)  'TYPE' COLOR COL_HEADING NO-GAP, '|' NO-GAP.
      ULINE (113).
      NEW-LINE.
      LOOP AT ls_path-edges INTO lr_edge.
        lr_join_d ?= lr_edge->mr_data.
        SORT lr_join_d->mt_join_descrs BY j_no.
        LOOP AT lr_join_d->mt_join_descrs INTO ls_join.
          WRITE: '|' NO-GAP, AT 7 '|' NO-GAP, ls_join-join_name NO-GAP,sy-vline NO-GAP,
           (20) ls_join-left_table_name NO-GAP,sy-vline NO-GAP,
           (20) ls_join-left_table_attr NO-GAP,sy-vline NO-GAP,
           (20) ls_join-right_table_name NO-GAP,sy-vline NO-GAP,
           (20) ls_join-right_table_attr NO-GAP,sy-vline NO-GAP,
           (2)  ls_join-join_type NO-GAP.
          IF ls_join-join_type EQ 'L'.
            WRITE: icon_ps_relationship AS ICON NO-GAP.
          ELSE.
            WRITE: icon_cut_relation AS ICON NO-GAP.
          ENDIF.
          WRITE: AT 113 '|' NO-GAP.
          NEW-LINE.
        ENDLOOP.
        ULINE (113).
        NEW-LINE.
      ENDLOOP.
    ENDLOOP.
    Message was edited by: Hymavathi Oruganti

  • How to create Exe From Data files

    my requirement is very much similar to registration of file extension.
    lets say if you have a file with extension .xyz then you can decide which program should invoke .xyz but instead of any other extension i need that extension of my file should be .exe
    and when user double clicks on this exe files the file should get opened with my own program, but if the file is true .exe (i.e. Created by some other program) then it should not get invoked by my program...
    i dont know how to do this but i know this is possible
    e.g. Flash can create an exe files from their .swf files which when opened run using flash player (but it doesnt get fooled by any .exe file. also flash exe files have different icons)
    similarly winzip can create self extracting exe files from .zip files
    can anybody help me out
    the files i am trying to create will have numeric data in spreadsheet format and when launched the player will show the data in animated format.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

    i think i will briefly describe the things; what exactly i want to acheive
    my client will have one application which will acquire data and log them into files. but he want to distibute these files to other people who will not have the application developed by me.
    he wants that file should show the reports in specific way. but to see those reports end user should not be required to install any specific application.
    i know that this thing is possible. as per msdn developer can include any data (text, graphics, audio, video etc.) inside exe in the form of resource file. (and there are programs are avaiable on internet which allow to extract, edit, add resource files inside exe)
    what i dont know right now is how i can access the resource file inside exe
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • How to get valid from date in KONH Table

    Hi ,
          I am sending COND_A idoc for MRP. Now when I create a record using VK11,the valid from date is fine.
    But while changing the same using VK12 changed date does not reflect in KONH Table (when the new valid from date is greater the the previous one) .I understand the SAP Logic behind this from previous threads .
    But my issue is this :
    Suppose I have a Material X created with Valid from = 10.01.2011 & valid to = 31.12.9999
    Now I change this Valid from = 28.01.2011 & valid to = 31.01.2011.
    Now how can I send the data for 28.01.2011 in my I-doc , as KONH still has 10.01.2011 as valid from date.

    even if you send the data for 28.01.2011, it should pick up the condition record because the start date for condition record is in past? why do you think it is a problem? now if your concern is that if your input date is 27.01.2011 and it should not pick this condition (that is a different matter altogether)...

  • How to Calculate Duration from Date Columns

    Hello,
    I would like to calculate duration from date columns. Using the following query
    SELECT DISTINCT
    EVENT_ID,
    To_Char(RU.START_TIME, 'HH24:MI') START_TIME,
    To_Char(RU.END_TIME, 'HH24:MI') END_TIME
    FROM ROOM_USAGE RU
    What I need is to subtract START_TIME from END_TIME and result should be in minutes.
    Many Thanks,

    But, i think you need to calculate the number of days if the days are not same -
    satyaki>
    satyaki>
    satyaki>
    satyaki>with ru
    2 as
    3 (
    4 select '05-JAN-2007 15:10:20' start_time, '07-JAN-2007 19:20:20' end_time from dual
    5 union all
    6 select '08-JAN-2007 05:10:20' start_time, '07-JAN-2007 07:07:20' end_time from dual
    7 )
    8 select ru.start_time, ru.end_time, SUBSTR(numtodsinterval(to_date(RU.END_TIME,'DD-MON-YYYY HH24:MI:SS')-to_date(RU.START_TIME,'DD-MON-YYYY HH24:MI:SS'), 'DAY'), 12, 8) duration
    9 from ru;
    START_TIME END_TIME DURATION
    05-JAN-2007 15:10:20 07-JAN-2007 19:20:20 04:09:59
    08-JAN-2007 05:10:20 07-JAN-2007 07:07:20 22:03:00
    satyaki>
    Or, Am i missing anything?
    Regards.
    Satyaki De.
    is it possible to to add the duration? making the total hours to 26:12 (twentysix hours and twelve minutes)

  • How to send the jsp page to .txt format

    Hi All
    Please suggest me how to create a .txt file using the desformat. My requirement is file should be saved as txt format and it will be sended by mail to be user pager. He can see the txt file through his pager. I tried several techniques but it not working.
    I am using the following URL:
    http://123.223 /reports/rwservlet? report=Admission.jsp&destype=file&desname=c:/demo/Admission.txt&userid=am/ampazz@tempdb
    The above URL is correct or any changes required.
    Pls suggest me…
    Thanking all
    Regards
    Srinivas

    Some of the points might help you in thinking towards right direction, you might already know this but doesn't look like you are following in your code anyway.
    1. The JSP that you are emailing is uncompiled source file. It need JVM environment to be able to run on.
    2. The JSP is a view technology so try to separate the view logic from the business.
    3. Try to put entire business logic in a Bean and use that in your JSP to start off with.
    You may need to write the HttpServletResponse#content on to the Writer and then persist it on the filesystem. and then send that persisted file as an attachment.
    Have a look at http://java.sun.com/j2se/1.5.0/docs/api/java/io/Writer.html
    It provide different type of writer implementations.
    HttpServletResponse#getWriter() provides PrintWriter instance.
    Does it make sense?

  • How to know whether entered date is SAPdate format or User dateformat.

    Hi all,
    I am uploading data from SAP to internal table  ,
    here I need to do below logic ,
    If user entered SAP dateformat in excel , no  need to convert after uploading.
    elseIf user entered user default need to convert to SAP date format.
    If user entered in other foramt.
    need to give error.
    so , how to know whether entered data is in SAP format or not.
    Regards,
    vinesh

    Try this logic
    IF call fm DATE_CHECK_PLAUSIBILITY = true
       "date etered in SAP internal format
    ELSE if call fm CONVERT_DATE_TO_INTERNAL = true
       "date entered in user format
    else.
      "incorrect format
    endif.
    Regards
    Marcin

  • How do you vary the Date/Time stamp format in File Adapters

    In the receiver channel of the File Adapter where you specify the 'File Name Scheme', you do have the option of specifying a 'File Construction Mode' of 'Add Time Stamp'.  How can you specify a different Date/Time stamp format ( eg MM/DD/YY vs YYYYMMDD vs MMDDYY, etc. ) without changing the Date/Time stamp for the entire SAP system?  Also, can you control where the Date/Time stamp appears in the filename?

    Hi,
    There are many threads discussing the same issue. Go thro the following:
    Dynamic file name (Date) in Receiver File Adapter
    Receiver File Adapter - TimeStamp
    Bhavesh's reply in above thread:
    You can use Adapter Specific Identifiers and then change the file name in the mapping. Append the tiem stamp in the format that you want and so on.
    Just use this code in an UDF,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    String newfilename=SourceFileName+dateformat;
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards,
    P.Venkat

  • How to download the report data in xml format

    Hi All,
    how to download the report data (sql/interactive) in xml format...
    Thanks,
    Vinoth

    You will want to do something like this:
    http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    except customize it for xml.
    hth,
    John

Maybe you are looking for

  • How to specify a policy file in a WS client (AXIS2)

    I am trying to access a dot net web service and i want to make use of the policy file they gave me. i read that AXIS2 supports WS-Policy in the client side but i still can not figure out how to tell the client to use the file. I searched thouroghly f

  • Filter based group - viewing contents

    Hi, I'm trying to figure out how to see if a filter defined group on a Sun One 5.2 Directory server is getting the objects required. The filter group was defined by someone else. I've got several LDAP search tools available to me, but can't get resul

  • .Whether any FI document will be created during PO?If pl mention entry also

    .Whether any FI document will be created during PO?If pl mention entry also

  • Method & area in Task list

    Dear sir,                  Please suggest that How to Mention the Method,Tolerance and Functional Area in the TASK LIST. eg. I has an Operation that;                               CHECK THE MOTOR MEGGER VALUE.                               CHECK THE

  • Why cant I sign in with my apple id

    I cannot sign into Icloud with my apple id. It says I need an icloud id. what to do.