Create voltage over time

Is it possible to generate an output voltage on a DAQ 6009 A0? I have an excel data sheet that I have put into a 2D array. The voltage is not constant over time. I am having difficulty with the timing of the signal. I have been able to plot the signal on a graph. It is the same as the original data from excel. I have the two streams of data. Voltage and time. But after seperating the two signals how can I generate the graph?
Solved!
Go to Solution.
Attachments:
1177a.JPG ‏52 KB

OOPS
Attachments:
read_excel_values.llb ‏183 KB
Rising.vi ‏27 KB
Voltage.xls ‏70 KB

Similar Messages

  • How can I create a ramp function, that continuously increases the voltage over time?

    I do not have the option of upgrading to a full version or version 7, so I do not have the ramp vi. How can I increase the voltage over time, because I don't think that ramp vi even has a time element.

    The ramp.vi can easily be duplicated with a few wire strokes, see e.g. attached diagram image.
    (Of course, in your case you don't even need the ramp output, just update the voltage in a timed fashion as shown. Just add your own trimmings).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ramp.gif ‏4 KB

  • I have realised over time I have created multiple accounts. I have bought music on my iphone and am not able to locate the account that I made most of my purchases on. I have bank statements on the purchases but don't know how to contact someone to help.

    I have realised over time I have created multiple accounts. I have bought music on my Iphone and am not able to locate the account that I made most of my purchases on. I have bank statements on the purchases but don't know  how to contact someone in Itune to help me.  PLEASE

    I don't have the app adn no expereince with it, but it appears basec on teh app description you may need it installed on your MAC as well to download the files.
    You might find help on the vendors website: http://www.nfinityinc.com/index.html

  • SSRS Report for Incidents/Work Items Created or Closed over time

    I'm curious if anyone has developed a custom report based off the DWDataMart that displays the count for creation of incidents or other work items over time or work items that are closed over time.

    Hi Jon,
    There is a blog, which talks about in detail regarding SCSM reporting,
    http://scug.be/scsm/2012/04/10/working-with-scsm-reporting/
    However related to your queries please refer to this,
    http://blogs.technet.com/b/servicemanager/archive/2010/04/23/how-to-create-a-custom-report-and-display-it-in-the-console.aspx
    Thanks,
    Mohammad.
    -Zakir, Let us know if the answer/post helps you :)

  • How do I create graph showing savings over time?

    Hey there, I'm trying to create a graph showing savings over time. I only have data for random months (they aren't spread apart evenly) So this chart isn't showing an accurate slope of savings over time. I tried entering months in between the months I have recorded and just leaving the savings amount blank but that deletes the curved slope on the graph. Is there a way and can show only these 7 recorded numbers but have them spread out on the graph to reflect the accurate time?
    Thanks,
    Caleb

    The only way I can see of "stretching" the x-axis into a regular timeline would be to add extra rows for some of the intervening dates and then averaging the both the dates and the amounts from the row above and the row below:
    You can then hide the rows that contain the averaged amounts.
    When you create the chart you'll need to tick the "Hidden data" button under Chart Options:
    After you've created the chart, you can edit the dates on the x-axis to remove any unwanted labels.
    Hope this helps.
    H

  • TS2776 I'd like to merge the three different itunes accounts I have created over time ... is this possible?

    I'd like to merge the three different itunes accounts I have created over time ... is this possible?

    Unfortunately it is not possible to merge multiple Apple ID's and their content into one ID. Apple has no provisions for this.

  • Create events over multiple time zones

    Hello again,
    How do I create events over multiple time zones? For instance, a plane leaves on GMT time zone and lands on GMT+5.
    If iCal doesn't allow this, what is your suggested approach in this case?
    Thanks in advance!

    You're right, iCal doesn't allow this.
    I just add the abbreviation for the timezone at the end of the title. For example: "AA Flight 407 - CDT", keeping in mind that the block of time for that event showing in iCal is always in that time zone.
    It's not ideal, but it works for me.

  • Graph power over time

    Hi,
    I am new to Signal Express.  I am using it with the USB-6289 to measure system power on my DUT.  I have a target sense resistor on the board that I have sense lines connected to and thse lines are connected to analog 1 and analog 2 on the 6289.  The goal is to measure the voltage drop across the resistor and use it to calculate the power and graph it in real time with Signal Express.
    I created a task for voltages ai0 and ai1 for the voltage drop across the resistor.
    Tried to run the project but I am not seeing any kind of output on the screen.  
    I verified the 6289 is being detected and calibrated with NIMAX.  Also created a task with NIMAX.  However, I am not sure how to specify power over time.  How do I specify power over time in Signal Express if I have sense lines connected to a resistor on a board?
    Thanks, Joe

    Hi Joe,
    Are you able to run and see the voltage in MAX when you create the task? How do you have your voltage input set up in SignalExpress?
    Here is a link that might be helpful for setting and collecting data in SignalExpress: http://www.ni.com/white-paper/5903/en/
    As far as calculating the power over time, you can create a customer scale. Here is: http://digital.ni.com/public.nsf/allkb/31A3EF18B6141E2C862579DE0077ABA7
    Thanks!
    Stephanie S.
    Application Engineer
    National Instruments

  • Amount of key presses a user makes over time - BPM

    Hi,
    Im working on a small program that needs to get the amount of keypresses a user makes over time.
    Basically its for calcuating the BPM a user is inputting. So a uers taps a beat for 5 seconds and the amount of tap is saved and multiplied by 12 to get the Users BPM.
    So far i have this:
    package Version1;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.util.Timer;
    import java.util.TimerTask;
    import javax.swing.*;
    public class muTap extends JFrame implements KeyListener, ActionListener {
        JTextArea display;
         * main - the main method
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    theGUI();
         * muTap constructor
        public muTap(String name) {
            super(name);
         * theGUI - creates the gui for muTap
        public static void theGUI() {
            muTap frame = new muTap("muTap");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Set up the content pane.
            frame.addComponents();
            //Display the window.
            frame.pack();
            frame.setVisible(true);
         * adComponents - adds gui components to muTap
        public void addComponents() {
            JButton button = new JButton("Start");
            button.addActionListener(this);
            display = new JTextArea();
            display.setEditable(false);
            display.addKeyListener(this);
            JScrollPane scrollPane = new JScrollPane(display);
            scrollPane.setPreferredSize(new Dimension(375, 125));
            getContentPane().add(scrollPane, BorderLayout.PAGE_START);
            getContentPane().add(button, BorderLayout.PAGE_END);
        public void keyTyped(KeyEvent e) {
            //Do Nothing
        /** Handle the key pressed event from the text field. */
        public void keyPressed(KeyEvent e) {
            //TODO call the getBPMfromKboard() method
            taps++;
            System.out.println("Tap: " + taps);
        /** Handle the key released event from the text field. */
        public void keyReleased(KeyEvent e) {
            //Do Nothing
        /** Handle the button click. */
        public void actionPerformed(ActionEvent e) {
            //Do Nothing
            //initialCountdown(3, "Start Tapping Fool");
            countDown(3);
         * countDown - a simple countdown timer for use when getting users input.
         * @param time amount of time to count down from
         * @return      true when timer ends.
        public static int taps;
        public void countDown(final int time) {
            taps = 0;
            final Timer timer = new Timer();
            timer.scheduleAtFixedRate(new TimerTask()
                int i = time;
                public void run()  {
                    i--;
                    String s = Integer.parseInt(i); // error because of this i.
                    display.setText(s);
                    if (i < 0) {
                        timer.cancel();
                        if(time == 3)
                            display.setText("Start Tapping");
                            countDown(5);
                        else if(time == 5)
                            display.setText("Number of taps: " + taps);
                            //System.out.print("Number of taps" +taps);
            }, 0, 1000);
    }But i get errors when i try running it:
    "Exception in thread "Timer-1" java.lang.RuntimeException: Uncompilable source code"
    It doesnt seem to like me parsing int to string here:
    String s = Integer.parseInt(i); Any ideas? or if youve got suggestions on another way to do it it'd be much appreiated.
    Thanks!

    Korvanica wrote:
    It doesnt seem to like me parsing int to string here:
    String s = Integer.parseInt(i);
    Yikes, you've got that bit of code backward, there partner.
    You use Integer.parseInt to parse a String into an int, not the other way around.
    If you want to change an int to a String, do
    String s = String.valueOf(i)or you can use the various formatters out there.

  • Charting Over Time

    I'd like to create a form that a person might submit several times over the course of a year.  It doesn't appear there is an option in the summary report to create a chart over time (like a line chart tracking the values of an answer over several dates).
    I realize I could export to Excel and create a chart, but my goal would be able to have a summary report for people who don't know how to create charts in Excel.
    We use different forms for our Veterinary Practice.  We'd like to create a form for clients who have pets in declining health or have a particular issue we are tracking.  The client would go to the form, enter their last name and pets name (we can filter the reports easily that way), and then enter numeric rating values for things like "mobility" or "appetite."  Over the course of days, weeks, or months, it would be great to see a chart that displays the change in values over time to notice downward or upward trends in health.
    I know there are probably other ways to do this outside of FormsCentral, but I'm trying to keep things simple (especially for non-technical folks who may need to retrieve data).
    Any other suggestions outside of FormsCentral would also be welcomed, but I'm wondering (from staff) if there are any plans to expand some of the summary reporting/charting capabilities?
    Thanks,
    Ryan

    Currently the reporting ability you seek are not supported in Formscentral. As you have noted your best option is to do this work in something like Excel.
    Andrew

  • Plotting amplitude of one spectral peak over time

    Hi,
        I am trying to create a VI where the DAQ continually aquires, plots and saves a waveform in millisecond timeframe (which is already done in this instance), then takes that waveform, finds a specific peak (most likely the first one), and plots the amplitude of that peak over time (30+ minutes, one point every scan that is obtained). Essentially, I have a very fast detector attached to a Gas Chromatograph, and I want to select a single ion and monitor the amplitude of that ion. I can plot the waveforms over time and do this in post processing, but what I would like to do is have the "slow" plot continuously update and display as it moves through time. Attached is the VI this will go into, using IMS Software V1.3.vi,  the subsection is the "GC Mode" it seems like I should be using the "peak detect.vi.", but I am unfamiliar with how this works, and so I do not know how to show a continuously updating graph or pull the amplitudes out and plot them. Thank you for your help,
    <>< Eric
    Solved!
    Go to Solution.
    Attachments:
    IMS Software v1.llb ‏612 KB

    Eric-WSU wrote:
    i get an amplitude over time plot, but it does not appear until after all of the iterations have stopped
    I have not looked at your VI (because I am in a previous version of LabVIEW), but this is probably because your graph is outside of the loop.
    Here is how you can get a graph of the peaks (all of the peaks, per iteration):
    Or if you only wanted a certain peak (and how that peak changes over many iterations):
    Message Edited by Cory K on 01-21-2009 05:51 PM
    Cory K
    Attachments:
    simple.PNG ‏3 KB
    pick peak.PNG ‏7 KB

  • Chart Top 10 Items over Time

    I'm attempting to create a chart that displays the top 10 of an item over time.  The problem I'm having is that if I create a chart that is on change of the item first (with top 10) and time second, it gives me the top 10 items for each time slot.  If I do on change of time first and item (with top 10) second it gives me the top 10 over the whole period but the time sorting gets all hosed up because it's grouping and sorting by item prior to time.  I've tried all variations of swapping series groups, changing sorting order and sorting and nothing has worked.  I can't find much guidance on this in my book either.  Any help would be greatly appreciated.

    -- Do the Group Sort expert or whatever you are using to get the values you would need for chart, might have to use multiple formulas for X, Y and Z axes...
    --Join each axis value  and make an array, use a Shared Array Variable and assign these values to variable
    --Split this Array in your sub-report and make chart on the values you received from main report.
    -- This will be much simpler and best way to approach creating chart(s)

  • Simple Line Chart - Values over time

    A simple line chart displaying a set of values over time would seem to be a very easy report to design. I'll be darned if I can see how to design it. Can anyone shed some light?
    I have provided links to a report and a spreadsheet which is the report datasource. My actual report will use SQL Server as its datasource. I am providing ths excel based example for the sake of protability.You will need to set the datasource location after saving the files to your hard drive.
    I can get the lines to draw properly, what I cannot figure out is how to specify the datetime values for the x axis. The column I would like to use on the x-axis is called DerivedLoggingTime.
    I'd also like to get control of the logarithmic algorithm used to formulate the y-axis values. I am not always happy with the values that the log algorithm comes up with.
    Any help is greatly appreciated.
    [Link to report|http://www.usol.com/~joe/linechart.rpt]
    [Link to spreadsheet|http://www.usol.com/~joe/AnalysisResults.xls]
    Another discovery while working on this report - our database will be SQL 2008 and  we are making use of the datetime2 datatype. CR appears to be treating this datatype as text. So when working with the SQL based datasource, I had to cast datetime2 columns as datetime in order for CR to see the columns as datetime instead of text. This is fine in this instance because the granularity of the datetime values for this particular report does not require datetime2, but that will not always be the case. CR will need to recognize the new datatype.
    Edited by: Joe Sytniak on Jul 17, 2008 5:37 PM

    Hi Joe,
    The Date Axis Line Chart of the Numeric Axis Type Chart, can be used to display data on a regular interval of days, Months and Years. The information displayed can unfortunately not be more granular that days.
    This type of chart is generally used when the data is recorded on irregular intervals in the database, and to make sense of the information stored it needs to be displayed at regular intervals.
    Since the data stored in your data source seems to be stored every 4 minutes, it will not be necessary to use this type of chart. I will suggest to use the regular line chart instead.
    To create a line chart using your date time field and value:
    1. Select "Chart" under the menu "Insert"
    2. Insert the chart on your report in the desired section.
        ( Group Header # 3 in your case. )
    3. In the "Chart Expert" window, under the tab "Type",
        change the chart type to a line chart by selecting "Line" in
        the "Chart Type" list.
    4. Under the tab "Data", add the database field that contains the Date Time information under the "On change of" list.
    (In your case, add the "DerivedLoggingTime" database field)
    5. To display the data for each minute, select the database fields you just added under the "On Change of" list, and
    click on the button "Order". In the "Chart Sort Order" window,
    select "For each minutes" in the "Section will be printed" drop down list, then click "OK"
    6. Add the field you want to display the value in the "Show Value List", then click "OK"
    Now it will display a line chart as desired, but since there is a lots of data point on your chart, the x axis date time labels will overlap each other. To avoid  this situation, I will suggest to skip labels.
    To format a chart to skip labels:
    1. In the "Preview" tab of the report, select one of the x axis label, and right click on it. In the contextual menu, select "Group (X) Axis Options..."
    2. In the "Group (X) Axis Settings" window, under the tab "Layout", check the option "Skip Group Labels" and set the value to 15 for example.
    Now, it will display the date time label at every 15 data point.
    As for your question on how get control of the logarithmic algorithm used to formulate the y-axis values, we unfortunately do not have much control over it other than:
    - Entering static values, or
    - Checking or Unchecking the option "Use Logarithmic scales"
    The above options are available on the y axis. To change those options:
    1. In the "Preview" tab of the report, select one of the y axis label, and right click on it. In the contextual menu, select "Group (Y) Axis Options..."
    2. In the "Group (Y) Axis Settings" window, under the tab "Scales", you will see the following options:
    - Minimum Values
    - Maximum Values
    - Use Logarithmic scales
    I will suggest to check the option "Use Logarithmic scales"
    Finally, as for the issue you discovered where SQL Server 2008 data type DateTime2 is converted to a string in Crystal Reports 2008, it is important to note that SQL Server 2008 hasn't been released yet, therefore it has not been tested in Crystal Reports 2008. Once SQL Server 2008 is released, I will suggest to test it again using the ODBC driver provided with this new version. 
    At this point I am assuming that this is happening because it is a new data type and an unknown data type get converted to string.

  • Memory of jdbc app grows over time (timesten backend db)

    Hi everyone,
    I have a memory problem with my application(timesten backend db). I don't know how to resolve it and need your help.
    When I call stored procedures with CallableStatement, the resident memory of application grows over time (up to 6GB).
    I closed statement after executing.
    Below is my code and the stored procedure.
    public boolean check(String sub)
    CallableStatement cs = null;
    int result = 0;
    try
    cs = conn.prepareCall("begin pr_check_sub(:1,:2); end;");
    cs.setQueryTimeout(30);
    cs.setString(2, sub);
    cs.registerOutParameter(1, java.sql.Types.INTEGER);
    cs.execute();
    result = cs.getInt(1);
    cs.clearParameters();
    System.out.println(msisdn + "----" + result);
    catch (SQLException ex)
    ex.printStackTrace();
    catch (Exception ex)
    ex.printStackTrace();
    finally
    try
    if (cs != null)
    cs.close();
    catch (SQLException ex)
    ex.printStackTrace();
    return (result == 1 ? true : false);
    create or replace PROCEDURE pr_check_sub
    (RESULT OUT NUMBER,SUBNUMBER IN VARCHAR2)
    IS
    BEGIN
    BEGIN
    RESULT:=0;
    SELECT COUNT(*) INTO RESULT FROM tbl_test
    WHERE sub=SUBNUMBER;
    IF(RESULT >= 1) THEN
    RESULT:=1;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RESULT:=0;
    END;
    END;
    Thank you!
    Edited by: user5175632 on Oct 25, 2011 3:35 AM

    This might be due to this bug raised for JDBC Client/Server connection
    Bug 12969330 : MEMORY LEAK IN JDBC CS FOR CALLABLE/PREP STATEMENT W/ NUMPARM % 4 != 0
    There is a leak in JDBC driver which seems to affect only C/S; it does not seem to affect direct or batch. ** This bug has been there since 11.2.1.6.0.
    Here are few conditions which are needed for this bug to occur:
    1. Application must be using a Client/server connection
    2. Applications repeatedly does the following:
    1. Create a PreparedStatement or CallableStatement
    2. set or register IN, OUT or IN OUT parameters
    3. Number of parameters is not an integral multiple of 4. It is the total number of parameters which matter; parameter type does not matter. JDBC driver leaks memory if the number of parameters in a PreparedStatement/CallableStatement are not an integral multiple of 4.
    3. On a close 1-3 parameters can be leaked.
    If your application deals with above scenario then there is a possible chance of the bug being hit. An example of a scenario :-
    The below PreparedStatement has 1 parameter (so it's not an integral multiple of 4):
    preparedStatement = connection.prepareStatement("SELECT col1 FROM Tab1 WHERE col2 = ? "); <===== Possible memory leak here
    To workaround the bug, you can add 3 dummy parameters -- SELECT col1 FROM Tab1WHERE col2 = ? and 1=? and 1=? and 1=? and set parameters 2,3 and 4 to 1.
    preparedStatement = connection.prepareStatement("SELECT col1 FROM Tab1WHERE col2 = ? and 1=? and 1=? and 1=? ");
    I've seen this bug a couple of times now. I don't think there is a release yet which includes a fix.

  • Increase and decrease a numerical text layer over time

    I need to create a text layer with a numerical value that will range from 0% to 100% over time using key frames. I need the value to change over time, increasing or decreasing the percentage based on key frames. Any ideas? Thank you!

    Add a Slider Control effect to the text layer, which you use to keyframe the percentage, then use this expression on the text layer's Source Text property:
    effect("Slider Control")("Slider").value.toFixed(0) + "%";
    The value in toFixed(0) controls the number of decimal places.

Maybe you are looking for

  • Business Area Substitution not working after Upgrade

    Hello Guys, We upgraded our system from Version 3.1 to 4.7. In this client bus area is mandatory field for every line item in any accounting documents.. For this we have necessary validations and substitutions. For MIRO there is a susbtitution for ta

  • Email Bursting

    Dear All, We are generating bank statement pdf output based on RTF Template, and send to customer through email bursting option. Can we validate the pdf output that the pdf having data or not? Because some time pdf has delivered to customer without d

  • Assign PO Smartform in NACE error-Processing routine does not exist

    I have created a Z-Smartform and Z-driverProgram and assigned both in NACE:    Medium-           Program-                      Form-                                 PDF/Smartform-   Type Print output-     ZSFPOREPORT-                          -ZSFPOR

  • ??command line for texting to phone number??

    Hi there are few commands on https://support.skype.com/en/faq/FA171/can-i-run-skype-for-windows-desktop-from-the-command-line but i am looking command for texting to phone number?

  • Change font in Document

    Hi there. I have a rtf file in which I am inserting string using Java: FileInputStream fis= new FileInputStream(exampleFile); RTFEditorKit rtf = new RTFEditorKit(); Document doc = rtf.createDefaultDocument(); rtf.read(fis, doc, 0); doc.insertString(5