How can I make a graph using Xcode?

Hi,
I'd like to make a graph using Xcode 3.2.5 on an iMac 2009 with Mac OS X 10.6.7. I'm reading temperatures through the serial port (using an USB-serial cable) and I want to show how the temperature increases or decreases along the time. Can anyone help me?
Thanks.

history of this question is found here!
Message Edited by GerdW on 11-26-2007 04:09 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    Welcome to the Apple Community.
    Delete the apps purchased by your cousin and purchase your own.

  • How can I make Time Machine use the ethernet cable to Time Capsule instead of the wireless connection? Wireless is too slow; has been taking 40 hours to create an initial 142 GB backup.

    How can I make Time Machine use the ethernet cable to Time Capsule instead of the wireless connection? Wireless is too slow; has been taking 40 hours to create an initial 142 GB backup.

    Plug in ethernet .. in the computer.. turn off wireless.

  • How can i make a graph y is unmber pasing from UDP port,x is the time stamp.and in the same time this graph can display several numbers to compare.

    how can i make a graph
    y is number(the blue wire)pasing from UDP port,
    x is the time stamp.
    plus in the same time this graph can display several differenr numbers to compare.

  • How can I make an app with xcode that works like a news app? So that I can post articles on the app. Do I have to use a database or can I connect the app directly with my mac?

    How can I make an iphone app with xcode that worrks like a newspaper? So that I can post articles on the app while it is on appstore. Can I directly connect the app with my mac or do I have to connect it to a database?  Thanks

    Funny, I was thinking you'd want to use the prescribed deployment that Apple went to all the trouble to provide so you wouldn't trot down the garden path with some other implementation, only to find your app rejected with the admonition to use Newsstand after all...
    If you're all hot to ignore all that & DIY, why are you even asking...why not just go for it...

  • How can i make two ipods use the same apple id

    How can I make two ipod touchs have the same apple id

    If you haven't already set up your two iPods either make and apple I'd on one and on the setup on the other type on your apple ID by setup I mean when you first get it it asked you questions so when your done answering the questions your iPod is ready to be used

  • How can I make a graph?

    I want to give a swing application x and y parameters and it should then draw a graph for me.
    x and only be positiv and y can be both positiv and negativ.
    I only give x1, y1, x2, y2, x3, y3, etc and it should draw a graph with the given parameter.
    is this possible?`
    and is there any finished code?

    what I already have is this code but here he draws the function x?, but how can I cange it that he only draws the coordinates i give him x1, y1, x2, y2, x3, y3, etc?
    // GraphDemo.java
    import java.awt.*;
    import javax.swing.*;
    public class GraphDemo extends JFrame {
    GraphDemo()
    // super("Resize me!");
    this.setTitle("Frame Title");
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    getContentPane().add(new GraphPane());
    setSize(400,400);
    setVisible(true);
    public static void main(String[] args) {
    new GraphDemo();
    class GraphPane extends JPanel
    final int margin = 8;
    public void paintComponent(Graphics g)
    Dimension d = getSize();
    Rectangle r = new
    Rectangle(margin,margin,d.width-margin*2,d.height-margin*2);
    // background color
    g.setColor(new Color(255,255,255));
    g.fillRect(0,0,d.width,d.height);
    // grid color
    g.setColor(Color.lightGray);
    drawGrid(g,r,16,16);
    // line color
    g.setColor(Color.blue);
    drawFunction(g,r);
    private void drawGrid(Graphics g,Rectangle r,int w, int h)
    for(int y = 0;y <= h;y++) {
    int gy = ntrp(0,h,r.y,r.height,y);
    g.drawLine(r.x,gy,r.width,gy);
    for(int x = 0;x <= w;x++) {
    int gx = ntrp(0,w,r.x,r.width,x);
    g.drawLine(gx,r.y,gx,r.height);
    private void drawFunction(Graphics g,Rectangle r)
    boolean start = true;
    double epsilon = .01;
    double xa = -3.0;
    double xb = 3.0;
    int oldx = 0, oldy = 0;
    for(double x = xa;x <= xb; x += epsilon)
    // just a picturesque
    // sample function
    double y = Math.exp(-(x*x));
    int gx = ntrp(xa,xb,r.x,r.width,x);
    int gy = ntrp(0,1,r.height,r.y,y);
    if(!start) {
    g.drawLine(oldx,oldy,gx,gy);
    oldx = gx;
    oldy = gy;
    start = false;
    // interpolation routine
    private int ntrp(double xa,double xb,int ya,int yb, double x)
    return (int)((x-xa)/(xb-xa) * (yb-ya)) + ya;

  • How Can I Make my iPhone Use Current Location for Facebook App??

    It did ask me "facebook would like to use your current location." But i clicked on "dont allow" button because i did not know what it was for..now I cant use this location section thing where to post for the Facebook since I denied it..how can I enable it for Facebook??

    Go to settings, Location Services, then scroll down to the Facebook icon then click on.

  • How can I make waveform graph and/or excel file with two different dynamic DBL values?

    As the question describes, I have two dbl sources from a load cell and linear actuator (from firgelli). I want to make a load/displacement curve from the force readings from the load cell and the displacement readings from the linear actuator. The load cell outputs an analog signal that can be acquired by a DAQ and the actuator comes in with a board and VI program to control the speed and measure the displacement of the actuator to a sample rate of my choosing. Is there a way that I can make a VI where it continues to collect data and construct the graph I'm looking for?
    Solved!
    Go to Solution.

    A couple points about your application:
    1.  Synchronization.  Since you're ultimate goal is a stress/strain curve, it is vital that your force and displacement data be synchronized appropriately.  If your sampling is beyond a few times a second, this is not really possible without some form of hardware synchronization via either a trigger and/or sample clock.  Two NI DAQ boards can be synchronized this way easily, but it seems you're using 3rd party hardware for one of these processes.  Would need to know more about that board to know what options you have.  You could specify what your resolution is in distance, and how fast the article will be moving, to get an idea of how fast to acquire, and how well you'll need to synchronize the data.  Another option, since it appears each data stream will be sampled on a hardware-timed sample clock, they will be offset in time, but not skewed during the acquisition.  You may be able to identify a feature in the data set common to each and use that to remove the timing offset after the process is completed.
    2.  Display.  To display data during the acquisition process, I usually recommend at least one display that plots vs. time.  Much easier to spot irregularities with the acquisition process that way.  However, if you'd like to also plot force vs. displacement, you can use an XY Graph to plot parametrically. For Example, in your case you would use the Displacement data as the X coordinates, and the Force data as the Y coordinates.
    3.  Saving data to file.  I would recommend using the Save to Spreadsheet File.vi (File IO pallette) to save your data.  If you use a comma as the delimiter, and save the file with a *.csv extension, you will have a file that is easily read into excel.  The standard tab-delimited spreadsheet file is also fine, it will just require an extra step to read it into excel to specify to excel what the delimiter is.
    4.  Batch vs. Real-Time Recording (Data File).  If your process is short (< 30 sec) you may be better off acquiring the data, Storing it locally to the VI (Array - usually maintained in a shift register), and then writing the file with a header (acquisition parameters, test article information, data column headers) and the data all at once in batch mode to the file after the process is finished.  If, however, it is longer than that you would be better off starting a data file with a header and appending the data to the file as you go, so that if something happens during your test, you at least have data up to that point.
    Hope this Helps,
    Kurt

  • How can I make the browser use the proper filename during a forced save, using CFCONTENT/CFHEADER

    We have a client using CF8 Server for a site and I am using the CFHEADER/CFCONTENT method to force a file to save to the end-user's computer.
    The dialogue comes up as expected, but regardless of what is found in the CFHEADER for a filename, it tries to save the file as the CFM page name.
    i.e. The CFM page is signature.cfm. I am trying to make it save a TXT file to the user's computer, which it seems to be trying to do, but the instead of using "sig.txt" as the filename as outlined in the CFHEADER, it is defaulting to "signature.cfm"
    While I know that I could change the name and extension and the content in the file would be correct, the mass majority of end-users will not know that they can do that, and the client does not want it to become more complicated than necessary.
    Is there a way to make the file change to the proper name in the SAVE AS dialogue?
    Thanks in advance.
    Code so far is pretty straight forward ...
    <CFHEADER name="Content-Disposition" value="attachment; filename=sig.txt">
    <CFCONTENT type="application/unknown" file="#xf#">

    I'm guessing the type="application/unknown" is interfering. Try type="text/plain".

  • How can i make the radiobutton use screen painter?

    hey experts,
    i paint 3 radiobuttons in group1 use screen painter,
    but when i execute the screen,all of the radiobutton are black, it means radio1='x',radio2 = 'x',radio3 = 'x'.
    i only want radio1 = 'x',radio2 = ' ', radio3 = ' '.
    how to do that?
    and i can't do it in screen 1000.
    thank you.

    Hi,
    Select the three radio buttons in the screen painter,
    Edit->Grouping->Radiobutton group-> define.
    In this case all the radio buttons will be under one group and at a time only one will be active.
    Thanks,
    rajinikanth

  • How can i make a remix using songs from itunes

    I am trying to create a wedding mix using chorus' from different songs that I have in itunes. I have drug all of the songs into GB but now they all run together and sound HORRIBLE! How do I edit each track to just use a part of the song? You know, like a remix.

    Rocksann wrote:
    How do I edit each track to just use a part of the song?
    http://www.bulletsandbones.com/GB/GBFAQ.html#cutsection
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Although I have cookies saving enable when I restart the application I have to enter all log in details again. How can actually make it to use the stored cookies?

    Having the option to save cookies and all other stuff already enabled, I log on into several sites (e.g. gmail).
    When for some reason I restart the app, the website prompts me to fill in my log in details again. The strange thing is that on my desktop PC, it appears to have exactly the same settings however in that case saving or using the saved cookies actually works.
    Might that be an Ubuntu problem? I do not know. But some profile settings are being reseted any time I open the app.
    Any ideas?
    Thanks

    Try clearing your Cookies for the affected websites. <br />
    Tools > Options -> Privacy - Cookies = Show Cookies ''button'' <br />
    Enter the domain in the Search bar at the top and all the Cookies for that URL will appear. Unless you can figure out which Cookie is for "remember me", you'll need to delete them all.
    Hold the {Ctrl} key while you click on each Cookie in the small window. When that list is all highlighted, click the Remove Cookie ''button'' in the lower left. <br />
    When you are done click Close.
    If that problem persists, you might need to delete the __cookies.sqlite__ file in your Profile folder. <br />
    [http://support.mozilla.com/en-us/kb/Profiles#How_to_find_your_profile] <br />
    ''You might need to unhide your "Hidden files and folders" thru Folder Options in the Windows Control Panel''

  • I don't know the programming in Xcode ¿How can I make a App on it ?

    Hi Am new on all this, i learn very fast languages, and I already pay the $99 sow know what???? how can i make my app in Xcode Fast and Cool ?????

    Nelson Rolanso wrote:
    well look somebody have a Tuturial ??????
    No one here is going to personally take the time to teach you.  Look for instructional videos on youtube, or search google for websites or go to the library and look for books on the subject. Take some initiative. 

  • How do you make PP CS5 use more allocated physical memory???

    As you know, you can go to Preferences > Memory and change the amount of RAM reserved for other applications.
    Now, I have 8 GB of RAM installed (Windows 7), and I have set my “RAM reserved for other applications” option to 1.5 GB. That leaves 6.5 GB of memory for Adobe AE, Pr, Encore and Media Encoder.
    Here’s the problem: every time when I’m rendering or exporting in Premiere, I can see through Task Manager that Premiere uses only 1.5 or 2.0 GB of the physical memory, not the 6.5 GB that I’ve allocated. I know the rest is reserved for other applications, but none of them are running at the moment. So, how can I make PP CS5 use more of all the physical memory that’s left?

    Memory management in CS5 is clever enough to use an amount of memory that minimizes the use of the page file and maximizes buffers, However that depends on the material in the project, the effects and transitions used, the export format and the hardware in use.
    There is no sense in using large amounts of memory, when other components cause waiting before the contents of memory can be offloaded. Just as it makes no sense to use a Ferrari in traffic jams.

Maybe you are looking for

  • How do I found the character count in a document

    How do I find character count and word count in a doumen on my IMc?

  • JTable X System_Look-And-Feel Interaction

    Friends, I'm developing an application that is centered around a JTable. The column header labels are centered and have a yellow background. When I use the Metal look-and-feel, no problem. However, if I switch to the system look-and-feel, the column

  • IMac desktop with ATT Uverse wifi conundrum

    Just switched from ATT DSL to Uverse. Original DSL setup: Ethernet from SpeedStream router to AirportX. Wifi to iMac desktop, Apple TV, and 2 iphones. Used this same setup with the Uverse 2Wire Gateway. Everything worked fine. Wanted to try the ATT G

  • How to integrate Fiori and Sharepoint

    Hi Guys I'm am in the design part of a Fiori project for a customer, they requested the configuration of two Apps: 1. Standard SAP Transactional (No problem here)       - R3 username and password authentication 2. MS SharePoint App to be configured i

  • Absolute Layout and Invocation Interface

    Hi again :) I hav just another Problem. I Made a Gui and want to call it from a C prog throug the Java Invocation Interface. When I use GridbagLayout or flowlayout everything works fine. But when i use Absloute Layout nothing is shown and the Java Gu