How to show 2 groups of data in 1 XY plot at different time?

Hi, all:
I have a question and hope someone can help me figure out the solution or whether or not no solution for the question. I need to collect 2 groups of data [x(n),y(n)] and [x(n),z(n)]. I will collect x-y first then x-z. I need to collect and show the x-y data first, when I am satisfied, then collect and show the x-z data. It should be in the same plot. I got an error message so far and cold not figure out the solution. I attached my code and hope someone can help me. The code is in version 8.0 and I am sure there is no virus. Thank you a lot in advance.
Attachments:
plots.vi ‏13 KB

Hello ccyang
When you look the context help of the xy-graph in the diagram, you see the supported data types. An array of xy-clusters is accepted. You may look in the attached code how you could built the array  of the two plots.
Check the example VIs included in LabVIEW (in the help menu). There are several examples on charts and graphs.
Greetings
shb
Attachments:
plots executable.vi ‏15 KB

Similar Messages

  • How to make the exchange of data between 2 while loop in real time

    hello
    I have 2 while loop
    the 1st while loop includes the data acquisition program
    the 2nd while loop includes the control program
    my question is how to make the exchange of data between 2 while loop in real time
    I tried with the local variable and direct wiring between the 2 while loop
    it does not work (there is a delay)
    Solved!
    Go to Solution.

    Bilalus,
    Queues are only good to transfer data if your application isn't deterministic. Since you are using Real Time, I am assuming that your application requires determinism. If you are using Timed Loops and you use queues to transfer data between your loops, you are losing determinism. In this case, you need to use the RT FIFO functions. 
    Warm Regards,
    William Fernandez
    Applications Engineering
    National Instruments

  • How does waveform graph downsamples the data before it is plotted

    Hi,
    I'm interested in how does waveform graph downsamples the data before it is plotted and what algorithm is used for this purpose? My goal is to plot 30 plots that have 1M samples each and I would like to downsample them before plotting onto a graph. I tried several VIs/algorithms for resampling and none of them gave the same result as seen by waveform graph (when all the samples are plotted).
    For example, if only one sample of 1M samples is 1 and all others are 0, then after downsampling to 1k samples the sample is not visible on the graph anymore. However, if I plot all 1M samples directly onto the graph, then also this 1 sample is visible (see attached example). 
    Solved!
    Go to Solution.
    Attachments:
    WFGDownsampling.vi ‏19 KB

    Hi andrej,
    LabVIEW draws plots in the way that draw every pixel affected by signal. So for example if there is zero-valued 1M samples and even one equals to 1, you will see the peak. That is the reason why you do not get the exactly same behavior comparing to interpolating. But if you set FIR as interpolation mode in Resample Waveforms (single shot).vi, result is really similar, but of course amplitude is 1000-times smaller than original one (because there is dt set to 1000). Keep also in mind that in Graph 2, there is different Y-scale and it should be considered as noise, not relevant data, I would expect 1000-times smaller amplitude as in Graph 3, it is many more times smaller.
    I would also like to say something about downsampling (decimating) the data. If you have 1M samples, you can see the peak even that there is only one value. But bigger problem is that with this graph resolution (I guess that is not more than 1000px), it is problem to find position of this peak. It means that still the zoom is needed to know where the peak is. Usually, when there is that big set of data, you are extracting different data (statistical information, peaks in FFT, etc.) not just visual data in graph.
    Mariaaa:
    I do not understand your question, can you please describe more your needs? You mentioned saving the data into a file, you can use Write to Measurement File express VI or see Write to Text File.vi in Example Finder and try to appropriately modify it.
    Best regards,
    Martin

  • How you create a group to send many txt msg at the same time?

    How you create a group to send many txt msg at the same time?

    The iPhone does not support groups for messaging. There are apps in the app store which purport to be able to do this.

  • Ms project 2010 - grouping how to show the duration between dates at the summary level

    Hi we have a ms project plan where we have used grouping to present the task breakdown in a different structure.
    This works great we get at the summary level the start and finish dates correctly but the duration gives us only the Maximum value for the durations of the tasks within the group. (is it possible to change the maximum calculation?)
    We would like to be able to determine the duration at the summary level. Of note if we use functions such as projdatediff(start,finish) this only gives the result at the detail level and does not show at the summary level - even if we check the do the
    calculation for the task and group levels 'use formula' radio button.
    is this a bug???.
    If we use a numeric calculation such as finish-start we get a figure that allows  us to repeat the calculation at the group (summary) level. but firstly we do not actualy know what the numeric value represents. i.e (Finish-Start)*10000 for
    a duration of 0.5 hours = 208.33 ,1 hr= 416.67,1.5 hrs =625, but 8 hrs is giving 10833.33 which is 24 * the 1 hour figure
    duration  finish-start  start           finish
    0.5hrs     208.33    Tue 31/01/12 Tue 31/01/12
    1d          10833.33 Tue 31/01/12 Wed 01/02/12
    8 hrs      10833.33 Tue 31/01/12 Wed 01/02/12
    0.19d     625          Wed 01/02/12 Wed 01/02/12
    1.5 hrs   625          Wed 01/02/12 Wed 01/02/12
    0.13d     416.67     Wed 01/02/12 Wed 01/02/12
    1 hr        416.67     Wed 01/02/12 Wed 01/02/12
    Anyhow looking for suggestions on how to get a calculation of the difference in two dates as units (pref days) into the group level summary.
    Many thanks Mike

      Hi John ,
    This is better ..... Now the Text1  column is the correct duration .. Is it possible just to display the Text 1 Column instead of Duration Column ? is it a right practice in using Microsoft Project or scheduling ? This is an alternate solution
    ...Do you think that there is a solution to  that problem ?
    Task Name
    Text1
    Duration
    % Complete
    Start
    Finish
    F10E ( Level 10 )
    273
    40d
    0%
    10 Apr '12
    10 May '13
    Hospital Admin
    40
    40d
    0%
    10 Apr '12
    05 Jun '12
    Hospital Move- Vacate F10E
    40
    40 d
    0%
    10 Apr '12
    05 Jun '12
    Eastern/Kelson
    238
    40d
    0%
    30 May '12
    10 May '13
    Investigate Above Ceiling Conditions
    20
    20 d
    0%
    30 May '12
    26 Jun '12
    Hoardings
    5
    5 d
    0%
    06 Jun '12
    12 Jun '12
    Demolition (All)
    20
    20 d
    0%
    20 Jun '12
    18 Jul '12
    HVAC- main duct Work, Fire dampers
    40
    40 d
    0%
    19 Jul '12
    14 Sep '12
    Layout Partitions
    5
    5 d
    0%
    19 Jul '12
    25 Jul '12
    Steel stud Framing & Hollow Metal Frames
    30
    30 d
    0%
    17 Sep '12
    29 Oct '12
    Ceiling and Bulk Head Framing
    10
    10 d
    0%
    30 Oct '12
    12 Nov '12
    Mechanical Rough-In to Ceiling
    25
    25 d
    0%
    13 Nov '12
    17 Dec '12
    Taping,Drying & Sanding
    20
    20 d
    0%
    04 Dec '12
    03 Jan '13
    Ceiling and Bulk Head Drywall
    10
    10 d
    0%
    04 Dec '12
    17 Dec '12
    Painting
    15
    15 d
    0%
    04 Jan '13
    24 Jan '13
    T-Bar and Acoustic Ceiling Tile With Devices
    11
    11 d
    0%
    22 Jan '13
    05 Feb '13
    Head Walls system
    7
    7 d
    0%
    25 Jan '13
    04 Feb '13
    P-Lam Corridor Canopy Ceiling
    15
    15 d
    0%
    25 Jan '13
    14 Feb '13
    P-Lam Corridor and Room Canopy Ceiling
    10
    10 d
    0%
    25 Jan '13
    07 Feb '13
    Steel Doors, Wood Doors, Hardware
    15
    15 d
    0%
    08 Mar '13
    28 Mar '13

  • How to show a Account member (date type) in reports??

    Hi,
    I have a Account member of date type.
    but when I am using that member in reports it is not showing me the date that I have entered in planning web form.
    I have the same member in planning web form and it is showing me proper date.
    Eg: 19/Dec/1985 is showing as 19851219 in report.
    How to display it in proper date format???
    Thanks,
    Sourabh

    I think you might be using Essbase database connection in reports where dates are stored as numbers. You probably need to use Planning database connection on your reports to make date data type show up correctly.

  • How to show timestamp along with date in LOV dropdown

    Hi,
    We have a requirement to show timestamp along with date as a display column in a LOV drop down. Type of the date column in VVO is set to timestamp. But still it is showing only date in the UI.
    But it is showing timestamp when we run it through AM. Is there any thing in to do in addition to display it in UI? Or it is not feasible? Please suggest me on this issue.
    Thanks in advance.
    Thanks,
    Santhosh

    The date format displayed in UI depends on applcore preference set for current user, try changing date format set for current user to include time along with date.

  • How to show Account Group from R/3 in CRM webclient?

    Hi,
    I'm trying to show Account Group from R/3 in CRM webclient.
    Anyone now where can I find it?
    Thanks

    Hello Rui,
    If you want to set the account group from CRM, there is a filed named ACCOUNT GROUP under the CONTEXT NODE MARKETING in the VIEW AccountDetails. Add it to your Configuration Tool and you will see it in the UI.
    Best regards,
    Maggie

  • How to show a picture both on client and server at the same time (X11?)

    Hi Guys
    I want show a picture on my client as well as on the server(in another location) at the same time, pretty much like showing something both on laptop and on a projector. Assume I have a picture sssss.jpg on the server A1, if I want to open that picture to my client, I can simply to do the following from client A2:
    xhost A1
    telnet to and login A1
    setenv DISPLAY "ipaddress of A2":0.0
    Anyone can direct me how to show picture the client that I am sitting at an also show on the server at the same time?
    Thanks

    VNC would let you do that. With a shared connection, both machines could run a VNC client to the same session.
    Darren

  • May i write data to a spreadsheet file at different times

    I'd like to write two sets of data at different times(not simutaniuosly)into the same spreadsheet file. I tried to re-open the spreadsheet file which i created when i wrote in the first set of data, to write in the second set of data. But it didn't work. I don't know what's wrong with my program. I have selected APPEND when I tried to write the second set of data in the old file.

    not nay errors appear.
    the following is a similar easy copy of the program. I don't want to post my original program because too many subroutines.
    Tanks a lot to Mikeporter
    Attachments:
    easier_copy_of_my_program.vi ‏28 KB
    gen3.txt ‏78 KB
    P4SG-1Z(MOB-FRE) ‏14 KB

  • How can i select groups of data for show in graphs

    Good morning, my problem is that I have made the connection to serial visa in  labview, but i dont know how display groups of bits  in graph, in serial signal I'm sending four sensors, the signals are in order, first is temperature with a group of 8 bits, then with 8 bits after pressure, etc, the problem is not as multiplex so to speak or determine each data to its respective graphics, I have suggested using counters or bitmask in the data but not how to do it, someone who can help me? annex vi if someone  find any errors in logic,  thank you!
    Attachments:
    NILV851ASD1_Sensors.vi ‏39 KB

    Hello Mark,
    The issue I see is that you're reading all bytes availible at your serial port.
    And than you convert them to one single decimal number which you pass on to your 5 controls ( 4 charts and 1 thermomenter like control ).
    What you need to do is read your serial output one value at a time, decode it and pass it to the appropriate control.
    I'm sending a VI that shows what I mean.
    I have assumed that once the connection is established data over the serial port will start with 8 bits of temperature, followed by 8 bits of pressure than 8 bits of humidity and 8 bits of altitude.
    And the cycle repeats.
    However you should look at any documentation describing any handshaking etc needed for your protocol to work.
    The device you're connecting to COM1 needs to know when to start and stop transmitting.
    Maciej
    Attachments:
    NILV851ASD1_Sensors.vi ‏35 KB

  • How to show purchasing group members in the item data of the shopping cart?

    Dear Experts,
    for s shopping cart in SRM 7.0 CS, i have the following business requirement:
    In the item data tab of the line item details, the drop down field for Purchasing group is there. Right to this field, there is also a link called "Show members".
    If i go on this link, than a small table opens that obviously is there to contain such additional information about the purchasers like name, telephone nummber or extension.
    Currently, this small table does not contain any of this additional information for any of the used purchasing groups.
    Can you please help me understand, how and where i can maintain this information in the sytem, so it shows in the shopping cart?
    Thank you very much for your help.

    Hi,
    thank you very much for the answer.
    Actually, the question is not how to create the organizational unit of purchasing group in the PPOMA. This is all done. I just would like to understand, whether there is somewhere a place where i can maintain the name and maybe also the phone number of the buyer himself.
    Thus, i would hope to see these details (i.e. the name and the phone number) in that small table that opens up if i click on the "Show members" link that is situated right to the purchasing group field in the "Item data" tab of the details of the line item.
    Thank you.

  • How to see target groups in Data Target in the APD

    Hi everybody.
    I am trying to make a marketing segmentation of customers in the APD (BI) and I need to send the results to a target group in CRM, my problem is that I can´t see target groups in the u201CData Target CRMu201D.
    I select the Logical System and when I select the Data Target the system shows   CRM error: Data target TARGET_GROUP_FROM_B not known.
    I know that the communication is OK, the RFC is working cause I can see Marketing Attributes (I released data target for replication and maintained attributes) but I don´t know if I need to do something similar with Target Groups of CRM or how.
    Does anyone have an idea how can I see target groups in the window of the Data Target?
    Thanks.

    Hello,
    I have seen  this problem in other systems and it was caused by a GUI bug. Can you please check that you have the latest GUI patch installed for your GUI  release.
    Best Regards,
    Des

  • How to auto login and pass data (parameter) to ApEx at the same time

    Does anybody know how to automatically login to apex (e.g. from JSP page) and pass a parameter value at the same time? I can use wwv_flow_custom_auth_std to login, I can even choose a page but I cannot pass any data (at least I do not know how). If I use f?p URL syntax I can pass data but there is no way to pass login/password information.
    Any idea? Thanks Jaros

    Jaros -
    You could copy your login page and make the new page "public". On the new page, add a process before the login process that sets the value of application item FSP_AFTER_LOGIN_URL to the report page URL (with the arguments), e.g.,   :FSP_AFTER_LOGIN_URL := 'f?p=&APP_ID.:100:&SESSION.::NO::P100_X,P100_Y:&RPT_VALUE1.,&RPT_VALUE2.';Create application-level items RPT_VALUE1 and RPT_VALUE2 in the application.
    From your external page, POST to this new "login" page, passing values for the username, password, rpt_value1, and rpt_value2 items.
    Let us know if it works.
    Scott

  • How to show embedded and not embedded font in TextField at the same time?

    Hi guys,
    I need to show embedded and not embedded font in my TextField at the same time. TextField has embedFonts = true and isHTML = true.
    Any ideas?

    Two different font won't work for me because I need to support all UTF glyphs.
    Idea with two TextFields one on top of other seems to be working. The only problem I see here - if half string is Chinese and hand Latin - then it will be quite problematic to properly position text...

Maybe you are looking for

  • Nesting slideshows?

    Hi, i have couple multistate objects/slideshows and i want them to change depending on gallery selected. But can seem to create a multistate object of all the multistates. Is there a way i can nest several multistates/slideshows to a new multistate?

  • FP9 vs. FP10 Drawing API

    Hey all, I created a program that uses the drawing API to draw a graph of some river level data downloaded from the web. Basically, it will download a TAB delimited file, parse it, and draw a graph of the past 7 days using solid rectangles. The graph

  • ALI 6.5 | CSS folders confusion| Detailed question

    Hi All, i am using ALI 6.5 portal env deployed on WL10.0. I am pretty much new to this ALI Portal. I am very much confused with the css folders and files residing under PT_HOME folder. Can anyone please explain about these folders and files. Please f

  • How can we modify alv output list

    Hi this is fazil. Please tell me any body How can we modify alv output list. Thanks & Regards Fazil [email protected]

  • Device Center in RME 4.3.1

    Hi Aftetr upgrade RME from 4.3.0 to 4.3.1 some posibilities in Device Center has disappeared . I have  got only Create Collector in Managment Tasks tab. I can't see when has inventory and archive config  been polling. Screen is in attachment.