Graph x-axis data which is not time

Hello,
How do I make a grpah in labview in which the X-Axis is my collected data and not time?
Thanks,
Gil Maor

Gil_Maor wrote:
How do I make a graph in labview in which the X-Axis is my collected data and not time?
Simply change the axis label to whatever you want.
(If the x-values are equally spaced, you can cantinue using a waveform graph. Set the offset and multipler according to the linear relation between x value and array index. If they are not spaced evenly, use an xy graph.)
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to read data which is not on interface of user-exit

    Hi experts,
    the data which I need is not on interface of user-exit. I can do export table to memory id and than in user-exit import that. Does this work always?
    I have seen that sometimes is possible to see data with
    (include-name)table-name. Can I always use this?
    In detail: in transaction ME51N is new tabstrip created with customer fields.I have to know the purchase order for the selected item which is filled on another tabstrip.
    Can anyone help me?
    Thanks.
    Best regards,
    Danijela

    Hi Danijela,
    To answer your question about the "(module)object" approach:
    Have you been in a user exit function and the data you need wasn't passed on to you? You can easily grab the data from the memory stack using this little trick. Let's say that you need some IDoc information that was created from the function IDOC_INPUT_DELVRY... You can get it directly from the call stack like this.
    The code was written in R/3 4.6C but should work in any SAP version.
    DATA: i_EDIDC like EDIDC,
          i_EDIDD like EDIDD occurs 0 with header line.
    CONSTANTS:
          c_EDIDD(21)  value '(SAPLV55K)IDOC_DATA[]',
          c_EDIDC(21)  value '(SAPLV55K)IDOC_CONTRL',
          c_E1ADRM1(7)      value 'E1ADRM1'
          c_SHPCON(6)  value 'SHPCON'.
    Field-symbols: <FC>, <FD> .
    clear: i_EDIDC, i_EDIDD.
    refresh: i_EDIDD.
    * Get the Control Record from memory
    assign (c_EDIDC) to <FC>.
    if SY-SUBRC = 0.
      i_EDIDC = <FC>.
      IF i_EDIDC-MESTYP = c_SHPCON.
    *   None of the partner information can be passed directly from
    *   the IDOC function, so we'll get it from memory.
    *   Get IDOC data records from memory
        assign (c_EDIDD) to <FD>.
        i_EDIDD[] = <FD>.
    *   Now you have the entire IDOC available to you without making
    *   a DB select.
        read table i_EDIDD with key SEGNAM   = c_E1ADRM1.
    *   Load new value HERE...
      ENDIF.
    ENDIF.
    I found this a long time ago on the web and used it successfully multiple times in the past.
    Hope this helps,
    Guenther

  • Fetching data which are not common

    Hi Gurus,
              I got an strange requirement it is to fetch data from 2 internal table from the same field name but the values should not be same.can any one tell me some logic for this? eg: fetch matnr from mara and mard into an internal table but the final result in the internal table should be values which are not common in both the tables.
    Ragards,
    Ravi

    how can mara and mard will differe in entries. if there is a entry in MARD there should be an entry in MARA since it is master table. so in this case you can do some thing like this.
    first get the data from both the tables..
    loop at it_mara.
    read table it_mard.
    if sy-subrc ne 0.
    "find the material which is not there in MARD and only in MARA
    "append the matnr to another table
    endif.
    endloop.
    may be you have taken a wrong example to describe.

  • Find the Next available date which is not necessarily the Maximum Date

    Morning folks!
    I am trying to find the next scheduled appointment date (Including any day after today) for a patient which may not be the maximum date for that person. I am trying to do this in Oracle Forms. My Query is working in SQL*Plus but is not working in Forms.
    FUNCTION get_next_sched_date(P_PATIENT_ID in varchar2) RETURN DATE IS
      v_next_scheduled_date   patient_visit.target_date%TYPE;
    BEGIN
      select next_target_date into v_next_scheduled_date
      from   ( select v.*, max(target_date) over (partition by patient_id) max_target_date,
                           lead(target_date) over (partition by patient_id order by target_date) next_target_date
               from   patient_visit v)
      where  patient_id = P_PATIENT_ID
      and    next_target_date >= SYSDATE
      and    max_target_date > next_target_date;
      return( v_next_scheduled_date );
    EXCEPTION
       when NO_DATA_FOUND then
         return(NULL);
    When I compile this in Oracle Forms, it gives me an Error.Encountered the symbol "(" when expecting one of the following: ,from.
    I also noticed that Oracle Forms is not liking keywords such as LAG and LEAD. I am working on Oracle Forms 9i.
    Any idea what I am doing wrong here? Thanks for listening to my Monday harping. :-)
    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionEdited by: Roxyrollers on Aug 27, 2012 8:43 AM
    Edited by: Roxyrollers on Aug 27, 2012 8:46 AM

    Thanks.
    For now, I have another simpler solution. I was just curious if the first way would have worked.
    select MIN(target_date) into v_next_scheduled_date from patient_visit v1
    where  patient_id = P_PATIENT_ID
    and    target_date >= SYSDATE
    and    target_date <= (select MAX(target_date) from patient_visit v2
                           where  v2.patient_id = v1.patient_id);Edited by: Roxyrollers on Aug 27, 2012 9:16 AM

  • ADF UIX page displays data which is not in database

    Using JDeveloper 10.1.2, I created an ADF UIX browse page. It worked correctly, showing all 200 rows that were in the database table. I then used JDev SQLWorksheet to delete 190 rows, so 10 rows remain. Now when I test the browse page, it still shows all 200 rows rather than the 10 rows which are in the table. I exited and restarted the application but the problem persists. Help.

    Did you perform commit command from SQLWorksheet?
    If not, perform it!

  • Issue with Date Format in line Graph X-AXIS

    Hi all,
    I have a line graph, with data in x-axis and integer values in y-axis.
    I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
    How to change this format.
    Regards,
    Krishna Prasad

    Hi,
    Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
    select * from test
               where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
    cheers
    VT
    Edited by: VT on Oct 26, 2010 4:16 PM

  • ECC Master data does not time dependent

    Hi,
    I have a question . In ECC i have Functional Locational master data object which is not time dependent. Client need time dependent report in BW but they are not able to set time dependent in ECC. is there any solution in BW to convert normail object to time dependent Object.
    Note: getting delta though funtion module.
    Please help me....
    Thanks
    Edited by: Pria Gupta on Dec 18, 2011 5:31 PM

    any comments any suggestion please
    Edited by: Pria Gupta on Dec 19, 2011 3:45 PM

  • SSAS Date Dimension attribute not displaying all members when browsed singly

    I have an SSAS Cube database that holds data from 2009 to 2013 (5 years)
    There is a Date Dimension in the database which holds a "Calender Period" Hierarchy with the attributes CalenderYear >> Quarter >> MonthYear >> Day .
    I am connecting to the cube via Microsot EXCEL
    Whenever i try to browse this hierarchy alone in the spread sheet, the first attribute as per the hierarchy shown above i.e. Calender Year does not display all the members, that is confusing the users to assume that the cube is not processed with the latest
    data, which is not the case. However as soon as i try to browse any measure with this dimension, the data automatically shows for the latest dates of 2013 as per the expectations.
    The perspective that is selected while connecting to the Cube in this case is the one that is by default the one including all the Cube Objects.
    Whenever i try to browse the same cube for the same Dimension Hierarchy but in a separate user perspective i get the latest three Calender Years i.e. 2011,2012 and 2013 but not the complete years 2009 to 2013.
    When i was browsing this earlier by the original base perspective (which has all the cube objects visible) the Calender Years displayed were 2009,2010,2011&2012 but not 2013 which should be there.
    I checked the base view in the DB that is used to create this Dimension, that is fetching the complete data for 2009 to 2013.
    I have also verified that this issue is still there if i try to browse the cube from the SSMS.
    Can anyone help me to get all the years from 2009 to 2013 (the years for which my cube has data) become visible as soon as i drop it alone into the Spreadsheet?
    Thanks 
    Suvrat

    Thanks for your response Muthukumaran.
    I did not know about this default measure property of the SSAS cube, it would be nice if you could also tell me how to check which is the default measure for a cube.
    I understand your point that if a particular measure group does not have data for a year then that particular year will be skipped as per the default excel settings, which when disabled allowed all the years to be displayed, but in that case every time the
    users connect to the cube via excel, they will have to configure this property.
    I would like to share the way i resolved this issue:
    I went ahead and simply did a Process Full for the Date dimension. The years started to display by default as per the expectations. Now after observing this change, as per my understanding I believe this issue was due to the CACHE of the cube not being updated
    for the date dimension. As after each incremental load of the DWH we processed the cube & while processing the cube the dimensions were set for a Process Update and the Measure Groups were set for a Process Full. This caused this issue, and we could resolve
    this once the Date Dimension was processed full.
    Thanks
    Suvrat Rai

  • Repaint region of scrollpane which is not visible.

    i ve a chart in a scrollpane. when i m chaging the content of the graph explicitly, the region which is not visible is not getting repainted. any suggestions on how to about this.
    Thanks

    If its not visible how do you know its not getting
    repainted?
    i ve a number of graphs(jfreecharts) in the scrollpane. I m zooming them synchronously, some of them r hence not visible.But unlessl i scroll down once to see all the graphs and then zoom, i get exceptions as the graph has not been drawn. The same applies when i make some other explicit changes without having the graph in view.
    This is done on purpose for better response time. Why
    waste CPU painting something that isn't visible.I need to paint somwthing which is invisible this time..
    Thanks

  • Display the date witch is not exist in my table

    Dear Sir
    I want to get the date which is not exist in this field C_DATE, when I compare between tow date, that is I let user enter from_date and to_date ,to get the date which is not exist in the CHEMICAL_CONSUMPTION table ,
    And my table structure as the flowing:
    SQL> DESC CHEMICAL_CONSUMPTION
    Name Null? Type
    C_DATE DATE
    C_JOB_NO NUMBER(8)
    C_BLOCK_TYPE VARCHAR2(10)
    C_COLOR_TYPE VARCHAR2(10)
    C_RUN_TIME NUMBER(6,2)
    C_OPER_CODE VARCHAR2(10)
    REMARKS VARCHAR2(450)
    C_YEAR NUMBER(4)
    C_DAY_REMARKS VARCHAR2(2000)
    ORDER_CODE NUMBER(12)
    RRQ_DOC_CODE NUMBER(12)
    Can I compare this table with the dual table to display the date witch is not in CHEMICAL_CONSUMPTION .
    Waiting for your valuable answer with example
    Best regards
    Jamil Alshaibani

    something like
    SELECT *
      FROM CHEMICAL_CONSUMPTION
    WHERE C_DATE BETWEEN (:BLOCK.FROMDATE AND :BLOCK.TODATE)
        OR C_DATE IS NULL;Just a guess.

  • HT201299 Is there an App which switches on Cellular data at a Particular time of day and switches off as well? if not someone should make an app

    Is there an App which switches on Cellular data at a Particular time of day and switches off as well? if not someone should make an app for that

    No, there are no apps that can do that, as no app would have access to the necessary API's to perform such a task.

  • I would like to format cells with time only.  when I enter a time of day the current date is still in the cell which is not necessarily so

    I would like to format cells with time only.  when I enter a time of day the current date is still in the cell which is not necessarily so.  THere are  no options for just  date .

    christine275 wrote:
    ... (this is a time worked by date and not always entered on the date worked)--
    "Time" in Numbers is always "Time of Day", and is always part of a Date and Time value. "Amount of Time" is a Duration value, which may be displayed in a similar format to "Time of Day," but is a different type of value.
    If you are entering the number of hours and minutes worked, format the column as Duration, set the units and the format in which you want to have the value appear.
    The Date column will still contain a Date and Time value (Jan 1, 2011 00:00:00 in the cell shown in the example), but the "Time Worked" cells will contain only a Duration value.
    Incidently, the Date in A2 was entered as "jan 1" (without the quotes). Numbers automatically adds the current year and the default time value, then displays the result in the closest format to what you've entered, or in the Date and Time format you have chosen.
    The Duration value in B2 was entered as 3:15 (as displayed). Note that in the entry bar the duration is displayed as 3h 15m, probably to distinguish it from a similarly formatted (Date and) Time value.
    Regards,
    Barry

  • Graphs:  columns are not reaching the correct axis data.

    I am so frustrated with Illustrator's graphs and charts!
    I've watched the Lynda.com videos and created several graphs.  But in particular is not working correctly.  I've entered the data correctly but the column are not reaching correct Value Axis.  For example: one value is 11%, instead of the column reaching just above the 10% tick mark it is below it.  This is happening for all the data in the chart. 
    I have created a column design with the %00 code to display the values above the columns and it seems to be including the height of the text in the column height.
    Any suggestions to fix this?
    HELP! 

    Have you already read this: http://help.adobe.com/en_US/illustrator/cs/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html#WS714a382cdf7d304e7e07d0100196cbc5f-61a3a
    "Create a sliding column design"
    The text will be part of the design no matter where the invisible rectangle is located.

  • Plotting Data on a fixed time axis from left to right

    I am plotting data on a Historical Trend graph from the DSC palette. I receive the data from a plc throughout the course of a production shift. I would like to have the start time of the shift (07:00) on the far left of the x-axis and the end time of the shift on the far right (15:30). I would like to plot the data from left to right as the shift progresses. Is this possible? How do I format?
    Many thanks for any input,
    Stuart Wilson

    Hi Stuart,
    All you need to do is place down a waveform chart and then modify the properties slightly in order to achieve this. If you right click and make sure autoscaling is turned off on the x-axis first of all, then go into the properties page and change the x-axis formatting to absolute time then you will be able to plot data with the actual time according to your system clock.
    The only problem you have now is that there probably isn't enough room on the chart to plot data for the entire time between 09:00 and 15:30 depending on how often you want to sample. The default number of data points to keep in the chart is 1024. Therefore if you try and change the max and min values to 09:00 and 15:30 then it won't allow you to set that up as it doesn't think you have enough room there. Right click on the chart again and go down to Chart History Length. Increase this number to a large enough number and then you will be able to set the start time to 09:00 and the end time to 15:30 and as long as autoscaling is turned off this will not change.
    Hope this helps, please find the attached example which will plot random numbers to a chart once a minute and the chart will plot data between these times.
    Best regards,
    Peter H.
    Applications Engineer.
    NIUK.
    Attachments:
    Large Chart.vi ‏16 KB

  • Why am I being charged data usage during the times my phone is not being used?

    I got a notice on my phone that my number has used all of its allowed data usage for the month.  I looked at my current usage and seen that I was being charged for data usage during the times that I am not using my phone.  I figured it up and it adds up to be more than the amount that you say I am over.  Explain please.

    Ok, what all should I turn off on my 5s and I should get any additional fees waived.  I just got this new phone about a week before Thanksgiving and never got a notice till it was full.  I have never went over before.  I also have never been told that I could be charged data even if I am not using my phone and I should make these changes to prevent this.
    Also, the phone was 2 days late getting to me.  So in addition to any additional fees that I may occur from the overage I should get a credit for the delay in my phone being sent.  Oh, and it probably would have been longer had I not called to see where it was at, which the guy that helped me put in the order and was to follow up the next day with a phone call to let me know what the status was and never did.

Maybe you are looking for