Display data in pop-up graph window

I am trying to display data continuously in a pop up chart. When I press a button the chart should pop up and show all the previous values as well as those being continuously generated. If possible I want to do this without using local or global variables. This question was asked before too at http://forums.ni.com/ni/board/message?board.id=170&message.id=315949&query.id=9049787#M315949    but I was unable to understand the proposed solution. I am a civil engineer, meaning it will be difficult for me to understand advanced concepts and at times even simple concepts related to computer programming.  I have attached two VIs just to illustrate what I am trying to do.
Thanks
Solved!
Go to Solution.
Attachments:
Popupgraph_main.vi ‏19 KB
Popupgraph_subvi.vi ‏18 KB

Sorry, those uploaded VIs were just for a demonstration of my problem.
As for the Untitled06, when I was trying them in my computer I had named it "Untitled06" but when uploading to this
forum I changed the name. Forgot about the invoke node.
What I was asking is, if it was possible to
acquire data using one VI and show any temporary graph/chart in a
separate subvi. I did it like attached. Seems like it will work for me.
smercurio_fc  Thanks regarding the t0. I changed that in this version. Shipped LV examples haven't been a lot of help to me. Most of the time I cannot relate them to what I want to do. I generally prefer to use this forum. 
Any other (obviously better) solutions? then please do let me know. The only requirement is that chart should appear in a separate VI, it is just a temporary chart and I do not want it to take up space in my main VI front panel.
Thanks
Attachments:
Popupgraph_mainv02.vi ‏24 KB
Popupgraph_subviv02.vi ‏18 KB

Similar Messages

  • Data points disappearing on graph windows...

    Hi
    During the acquisition of a large amount of data from a DAQ-board (PXI-6229), I visualize these points on a graph.
    Sometimes, the whole graph window is cleaned then data begin again to be displayed.
    Why ? Is it due to a problem with a window buffer  (I use a history graph with a big history buffer) ?
    Thanks

    Hi
    Thanks for your suggestions.
    I tried using SGL instead of DBL numbers, but the same troubles occur.
    I tried too using the express vi "sample compression" to reduce the
    number of points by a factor 10... but I get the same troubles.
    Here attached is a copy of the screen. There is about 6 s of
    measurement displayed (the history buffers are still empty), and the 3
    chart screens cleaned some seconds later.
    Sometimes more than one minute is displayed, so that the history buffer
    begins to be filled. So the troubles do not depend on the history
    buffers since they are empty when the trouble occurs.
    It is difficult to post the code since it is a big diagram with a lot of functions and connections.
    What I'm doing :
    I acquire about  30 channels from 3 DAQ boards, in binary mode
    (I16). I always plot these data on 3 distinct chart screens (see
    attached file) after a renormalization to obtain floating numbers in
    volt from 2 bytes numbers.
    Is there some buffers involved in this renormalization and display ? How to control these buffers ?
    Regards
    Denys
    Attachments:
    Document2.doc ‏71 KB

  • Error in displaying date time value in Thai Windows OS browser.

    Hi,
    I have a problem displaying date time in the browser which is installed with Thai Windows OS. The time portion (the subset of datetime) does seemed to show correctly. Initially i am suspecting the virtual machine problem but i tried on bith java and microsoft vm, the result seemed the same. I tried to look in the source of the page and the character is just the same as the incorrect character displayed in the browser. The html source is -->
    <tr class="TableData">
         <td width="76">14/01/04 12:17:06 H-@5H"</td>
    the time is displaying incorrectly. I am not sure its due to any setting in the BEA weblogic server. FYI i am now using WLS6.1(SP2) version. Hope and appreaciate a prompt reply. Thanks a zillion in advance.
    Regards,
    Sunny

    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=noclassdeffounderrorIWDAbstractTableColumn&adv=false&sortby=cm_rnd_rankvalue
    java.lang.NoClassDefFoundError
    Error while binding node attribute to a  UI  element (table)
    Problem with NWDS 7
    class def error?

  • Displaying data in a temporary popup window

    Hello
    I have defined two vectors in a JDialog window and I have a button "View" on it.
    Once "View" is clicked I want to show a popup window which shows the values of vectors in it.
    I want to keep the data in the previous window i.e.JDialog as it is, when the popup is closed.
    Is it possible ? Please give me a suggestion.
    Thanks

    Welcome to the Sun forums.
    >
    I have defined two vectors in a JDialog window and I have a button "View" on it.
    Once "View" is clicked I want to show a popup window which shows the values of vectors in it.
    I want to keep the data in the previous window i.e.JDialog as it is, when the popup is closed.
    Is it possible ? >Sure. When the View button is activated, show the values in a JOptionPane*.
    But then, I do not know why you would expect the data or state of the JDialog to change in the first place.
    * Besides a JOptionPane, you might investigate tool tips, or a JWindow/JFrame, though none of those will 'block' input to the JDialog in the same way as a JOptionPane (or a second modal JDialog) would.
    Edited by: AndrewThompson64 on Apr 10, 2009 3:39 PM
    Edited by: AndrewThompson64 on Apr 10, 2009 3:40 PM

  • How to change font size and window size for a pop-up Message Window?

    Hello,
    I am trying to display a very important message to alert our tester or any user when there is an emergency and they have to stop the test they are doing. I really desire to use larger message window/fonts to do this.
    I have tried Display Message To User and converted it to SubVI, but no luck yet. I thought SubVI might work. But when it's displayed, the original Pop-up Message Window sat right on the SubVI panel. When I then clicked OK to close the Message Window, it closed the SubVI panel as well.
    Are Text Indicator and its Visible Node the only way to make this happen? If yes, could someone teach me how to pause the program execution like Display Message To User when the program is waiting for user to click OK to continue?
    Thanks So Much!
    Shun

    Hello,
    Why don't you create your own vi and customize it.
    See the attached example made for you
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    Main4.vi ‏7 KB
    messagebox.vi ‏15 KB

  • New to Graphics, trying to display array output in a single window

    I am trying to figure out how to use the GUI components of JAVA.
    What I am trying to do is take my packaged array output and list it in a single window. All that ever prints is last array data set. The last keeps overwritting the previous. How do I keep the previous data shown while listing the next in the array?
    Below are my three classes. The Frame Class is the class containing the display method. It is called near the bottom of the Product Class.
    Product.java
    // Inventory Program Part 4
    /* This program will store multiple entries
    for office supplies, give the inventory value,
    sort the data by Product Name,
    and output the results using a GUI */
    import javax.swing.text.JTextComponent;
    import javax.swing.JLabel;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.JOptionPane; //Uses class JOptionPane
    import java.util.Scanner; //Uses class Scanner
    import java.util.Arrays; //Uses class Arrays
    public class Product
         private String productBrand[]; // Declares the array
         public void setProductBrand( String brand[] ) // Declare setProductBrand method
              productBrand = brand; // stores the productbrand
         } // End setProductBrand method
         public String getProductBrand( int counter )  // Declares getProductBrand method
              return productBrand[ counter ]; // Returns data using counter to define the element
         } // End method getProductBrand
         public double restockingFee( double value ) // Declares restocking Fee method
              double fee = 0; // Declares variable fee
              fee = value * 0.05; // Calculates the sum of values
              return fee;  // Returns the restocking fee
         } // End method restockingFee     
         public String inventoryValue( double value[] , int number, String name[] ) // Declares inventoryValue method
              OfficeSupplies myOfficeSupplies = new OfficeSupplies();  //Creates OfficeSupplies Object
              Product myProduct = new Product();
              double total = 0; // Declares variable total
              for ( int counter = 0; counter < number ; counter++ )
                   total += ( value[ counter ] + myProduct.restockingFee( value[ counter ] ) ); // Calculates the sum of values
                        return String.format( "%s$%.2f", "Total Inventory Value: " , total );  // Returns the total value
         } // End method inventoryValue
         // main method begins execution
         public static void main( String args[] )
              Scanner input = new Scanner( System.in ); //Creates Scanner object to input from command window
              Product myProduct = new Product(); //Creates Product object
              OfficeSupplies myOfficeSupplies = new OfficeSupplies();  //Creates OfficeSupplies Object          
              //Prompt for maxNumber using JOptionPane
              String stringMaxNumber =
                   JOptionPane.showInputDialog( "Enter the number of products you wish to enter" );
              int maxNumber = Integer.parseInt( stringMaxNumber );     
              String prodName[] = new String[ maxNumber ]; // Declares prodName array
              int numberUnits[] = new int[ maxNumber ]; // Declares maxNumber array          
              float unitPrice[] = new float[ maxNumber ]; // Declares unitPrice array
              double value[] = new double[ maxNumber ]; // Declares value array
              String brand[] = new String [ maxNumber ]; // Declares brand array
              String stringNumberUnits[] = new String [ maxNumber]; // Declares array
              String stringUnitPrice[] = new String [ maxNumber ]; // Declares array
              int productNumber[] = new int[ maxNumber ]; // Declares array
              for ( int counter = 0; counter < maxNumber; counter++ ) // For loop for the number of products to enter
                   productNumber[ counter ] = counter;
                   myOfficeSupplies.setProductNumber( productNumber ); // Sends the Product name to method setProductNumber                         
                   //Prompt for product name using JOptionPane
                   prodName[ counter ] =
                        JOptionPane.showInputDialog( "Enter the Product Name" );
                   myOfficeSupplies.setProductName( prodName ); // Sends the Product name to method setProductName
                   //Prompt for brand name using JOptionPane
                   brand[ counter ] =
                        JOptionPane.showInputDialog( "Enter the Brand name of the Product" );
                   myProduct.setProductBrand( brand ); // Sends the Brand name to method setProductBrand
                   //Prompt for number of units using JOptionPane
                   stringNumberUnits[ counter ] =
                        JOptionPane.showInputDialog( "Enter the Number of Units" );
                   numberUnits[ counter ] = Integer.parseInt( stringNumberUnits[ counter ] );
                   myOfficeSupplies.setNumberUnits( numberUnits ); // Sends the Number Units to the method setNumberUnits
                   //Prompt for unit price using JOptionPane
                   stringUnitPrice[ counter ] =
                        JOptionPane.showInputDialog( "Enter the Unit Price" );
                   unitPrice[ counter ] = Float.parseFloat( stringUnitPrice[ counter ]);
                   myOfficeSupplies.setUnitPrice( unitPrice ); // Sends the Unit Price to the method setUnitPrice
                   value[ counter ] = numberUnits[ counter ] * unitPrice[ counter ]; // Calculates value for each item
                   myOfficeSupplies.setProductValue( value ); // Sends the product value to the method setProductValue
              Arrays.sort( prodName, String.CASE_INSENSITIVE_ORDER ); // Calls method sort from Class Arrays
                   Frame myFrame = new Frame();
                   myFrame.displayData( myProduct, myOfficeSupplies, maxNumber );
              // Outputs Total Inventory Value using a message dialog box
              JOptionPane.showMessageDialog( null, myProduct.inventoryValue( value, maxNumber, prodName ),
                   "Total Inventory Value", JOptionPane.PLAIN_MESSAGE );
         } // End method main
    } // end class ProductOfficeSupplies.java ----> This is the data container
    // Inventory Program Part 4
    /* Stores the array values */
    public class OfficeSupplies // Declaration for class Payroll
         private int productNumber[];
         public void setProductNumber( int number[] ) // Declare setProductNumber method
              productNumber = number; // stores the product number
         } // End setProductNumber method
         public int getProductNumber( int counter )  // Declares getProductNumber method
              return productNumber[ counter ];
         } // End method getProductNumber
         private String productName[];
         public void setProductName( String name[] ) // Declare setProductName method
              productName = name; // stores the Product name
         } // End setProductName method
         public String getProductName( int counter )  // Declares getProductName method
              return productName[ counter ];
         } // End method getProductName
         private int numberUnits[];
         public void setNumberUnits( int units[] ) // Declare setNumberUnits method
              numberUnits = units; // stores the number of units
         } // End setNumberUnits method
         public int getNumberUnits( int counter )  // Declares getNumberUnits method
              return numberUnits[ counter ];
         } // End method getNumberUnits
         private float unitPrice[];
         public void setUnitPrice( float price[] ) // Declare setUnitPrice method
              unitPrice = price; // stores the unit price
         } // End setUnitPrice method
         public float getUnitPrice( int counter )  // Declares getUnitPrice method
              return unitPrice [ counter ];
         } // End method getUnitPrice
         private double productValue[];
         public void setProductValue( double value[] ) // Declare setProductValue method
              productValue = value; // stores the product value
         } // End setProductValue method
         public double getProductValue( int counter )  // Declares getProductValue method
              return productValue[ counter ];
         } // End method getProductValue
    } // end class OfficeSuppliesFrame.java ------> Contains the display method
    import java.awt.Color;
    import javax.swing.text.JTextComponent;
    import javax.swing.JLabel;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.JOptionPane; //Uses class JOptionPane
    public class Frame extends JFrame
         public Frame() //Method declaration
              super( "Products" );
         } // end frame constructor
         public void displayData( Product myProduct, OfficeSupplies myOfficeSupplies, int maxNumber )
              //Here I attempted to use an array to output all of the array data in a single window
    //          JTextArea myTextArea[] = new JTextArea[ maxNumber ]; // Declares myTextArea array to display output
              JTextArea myTextArea = new JTextArea(); // textarea to display output
              // For loop to display data array in a single Window
              for ( int counter = 0; counter < maxNumber; counter++ )  // Loop for displaying each product
    //               myTextArea[ counter ].setText( packageData( myProduct, myOfficeSupplies, counter ) + "\n" );
    //                add( myTextArea[ counter ] ); // add textarea to JFrame
                   myTextArea.setText( packageData( myProduct, myOfficeSupplies, counter ) + "\n" );
                   add( myTextArea ); // add textarea to JFrame
              } // End For Loop
              setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              setSize( 450, maxNumber*400 ); // set frame size
              setVisible( true ); // display frame
         public String packageData( Product myProduct, OfficeSupplies myOfficeSupplies, int counter ) // Method for formatting output
              return String.format( "%s: %d\n%s: %s\n%s: %s\n%s: %s\n%s: $%.2f\n%s: $%.2f\n%s: $%.2f\n%s: $%.2f",
              "Product Number", myOfficeSupplies.getProductNumber( counter ),
              "Product Name", myOfficeSupplies.getProductName( counter ),
              "Product Brand",myProduct.getProductBrand( counter ),
              "Number of Units in stock", myOfficeSupplies.getNumberUnits( counter ),
              "Price per Unit", myOfficeSupplies.getUnitPrice( counter ),
              "Total Value of Item in Stock is", myOfficeSupplies.getProductValue( counter ),
              "Restock charge this product is", myProduct.restockingFee( myOfficeSupplies.getProductValue( counter ) ),
              "Total Value of Inventory plus restocking fee", myOfficeSupplies.getProductValue( counter )+
                   myProduct.restockingFee( myOfficeSupplies.getProductValue( counter ) ) );
         } // end method packageData
    }

    Lets pretend that your assignment was to manage a list of employees of a store, and that each employee is identified by their name, position, and hourly wage. If you created a program along the lines of your current product program, I picture you creating three separate ArrayLists (or arrays), one for each variable, something like this:
    import java.util.ArrayList;
    public class MyEmployees1
        private ArrayList<String> names = new ArrayList<String>();
        private ArrayList<String> positions = new ArrayList<String>();
        private ArrayList<Double> hourlyWages = new ArrayList<Double>();
        public void add(String name, String position, double wage)
            names.add(name);
            positions.add( position);
            hourlyWages.add(wage);
        public void removed()
            // TODO: I am nervous about trying to manage this!
        //.......... more
    }This program tries to manage three separate parallel arrays (arraylists actually). They are parallel because the 3rd item in the names list corresponds to the 3rd item in the positions list and also the hourlywages list. If I wanted to delete data, I'd have to be very careful to delete the correct item in all three lists. If I tried to sort one list, I'd have to sort the other two in exactly the same way. It is extremely easy to mess this sort of program up.
    Now lets look at a different approach. Say we created a MyEmployee class that contains the employee's name, position, and wage, along with the appropriate constructors, getters, setters, toString method, etc... something like so:
    import java.text.NumberFormat;
    public class MyEmployee
        private String name;
        private String position;
        private double hourlyWage;
        public MyEmployee(String name, String position, double hourlyWage)
            this.name = name;
            this.position = position;
            this.hourlyWage = hourlyWage;
        public String getName()
            return name;
        public String getPosition()
            return position;
        public double getHourlyWage()
            return hourlyWage;
        public String toString()
            // don't worry about these methods here.  They're just to make the output look nice
            NumberFormat currency = NumberFormat.getCurrencyInstance();
            return String.format("Name: %-15s    Position: %-15s    Wage: %s",
                    name, position, currency.format(hourlyWage));
    }Now I can create a MyEmployees2 class that holds a single list of MyEmployee objects, like so:
    import java.util.ArrayList;
    public class MyEmployees2
        private ArrayList<MyEmployee> employeeList = new ArrayList<MyEmployee>();
        public boolean add(MyEmployee employee)
            return employeeList.add(employee);
        public boolean remove(MyEmployee employee)
            return employeeList.remove(employee);
        public void display()
            for (MyEmployee employee : employeeList)
                System.out.println(employee);
        public static void main(String[] args)
            MyEmployees2 empl2 = new MyEmployees2();
            empl2.add(new MyEmployee("John Smith", "Salesman", 20));
            empl2.add(new MyEmployee("Jane Smyth", "Salesman", 25));
            empl2.add(new MyEmployee("Fred Flinstone", "Janitor", 15));
            empl2.add(new MyEmployee("Barney Rubble", "Supervisor", 35));
            empl2.add(new MyEmployee("Mr. Spacely", "The Big Boss", 45));
            empl2.display();
    }Now if I want to add an Employee, I only add to one list. Same if I want to remove, only one list, and of course, the same for sorting. It is much safer and easier to do things this way. Make sense?

  • Processing data from a bar graph

    Hi,
    I use JDeveloper 11.1.1.6.0
    My VO contains 6 attributes. Two of them are displayed in a bar graph. I have created ClickListener bean, where I'm able to get X,Y values from selected bar (using methods getValue and getGroupAttributes from DataComponentHandle class).
    Is it somehow possible to get also values from the rest 4 attributes, which are not displayed in the graph? I need to process these values programatically in my backing bean.
    One way is to make a db query from my backing bean. Is there any other possible solution, without db access, just using data from ClickEvent?
    Thanks a lot for ideas.
    Daniel

    I have solved this task in folowing way:
    I have add ADF read only form to my page (which I need anyway). The form displays data selected in the graph (using another VO, which is linked to graph VO). Command button calls my managed bean, which handles the data via the bindings executables (view iterators).

  • Display Data on waveform chart or XY graph over a long period of time

    Display Data on waveform chart or XY graph over a long period of time
    Can anyone help?
    I am acquiring data from an Ni DAQ card with the following parameters - sample rate = 12800, number of samples = 4096. I want to extract order information so as to track changes in the amplitudes of certain frequency harmonics. So I use the sound and vibration toolkit to extract this information as shown in the attached Vi.  I will like to plot the resulting amplitudes against real-time starting at the time the Vi was run.  I really want the display to show these changes over long periods (eg. days, months and even years).
    Problem.
    I have tried to plot the Y component of the resulting magnitude for a given order on a waveform chart. My choice of the waveform chart is because I also want to display  alarm limits (using the mask and limit vi) (I can't have these lines displayed on an XY graph plot).  I tried adjusting the scale offset using the property node and setting the offset to current time. However, the display on the X-axis can only show a span of  2 minutes as will be seen when you run the attached vi. I want the time display on the x-axis to be over a period of  days, months  and even years.  Is there a way to set the maximum scale on the x-axis to be say a year or so in future.
    I really want the display to be like the one in in the second attachment.
    Attached is a sample VI created using an Ni USB 9234 DAQ card. Any card will do but I am only getting the signal from one channel for this example
    I will appreciate any help that can be given to me.
    Thanks
    Attachments:
    Real-Time Graph Display.vi ‏170 KB
    Sampe screen1.doc ‏37 KB

    Long term testing can be tricky- and we'l get into that later.  Lets start with the basics that you have wrong.
    The vi as you have constructed it has only one memory element, the chart history length (default is 1024.)
    You can change the number of points the Chart will remember by Right-clicking the chart an select Chart History Length from the menu.
    But for a long term test - and one where you want to REMEMBER the first value you need a memeory element that is independant of the application.  Your PC WILL loose power or need to be rebooted eventually.  Heck it might even need to be replaced! you really need to store your data in a file. Preferablly in a file that is backed-up on a regular basis so you don't lose every point of data if the PC dies.  It realy hurts when you have to restart a 2yr test because you've lost the 18months of data you collected.
    For an application like this I would seperate my "collection" and "Evaluation" operations. 
    Have one vi that takes the reading and writes it to a file at a configurable rate  You may want 1reading  per minute for seveal days then 1 per hour for a few weeks- then maybe only once or twice a week for the next couple of years since you are looking for LONG TERM stability.  having too much data to evaluate can take a lot of digging to find the few things that interest you (but always take more that you think you need)
    Have another utility that COPIES the files, reads them and displays the data you are interested in that day.  The data you want to look at won't change over time HOWEVER, you WILL want to analize it in different ways depending on what the data trends look like.  Having seperate routines for collection and display allows you to update the display style and analisys without even stopping the collection vi (much less editing the vi)
    Jeff

  • Create button to clear/reset graph's displayed data

    Hello,
    I'm new here and working with labview. I've searched the forum but didn't found a answer that could help me (or at least I think thank)
    I'm working on a project to acquire process an ECG signal with a DAQ. In the front panel, I'm trying to display 2 graphs, one showing part of the data in real time and the other showing all the data acquired until that momment. I wanted to add a button to this second graph that, when the user wanted, cleared the data shown in the graph but immediatly continued to show the data.
    (trying to make myself clearer)
    "show all data acquired --> press button X --> cleans graph display --> show all data acquired"
    if anyone could help I would be very thankfull!
    Thank you very much,
    FM
    Solved!
    Go to Solution.

    Hi FM,
    when you use a chart you have to clear it's history (using a property node).
    When you use a graph instead you have to clear the array that builds the plot(s)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Walkthrough: Displaying Data from Oracle database in a Windows application.

    This article is intended to illustrate one of the most common business scenarios such as displaying data from Oracle database on a form in a Windows application using DataSet objects and .NET Framework Data Provider for Oracle.
    You can read more at http://www.c-sharpcorner.com/UploadFile/john_charles/WalkthroughDisplayingDataOracleWindowsapplication05242007142059PM/WalkthroughDisplayingDataOracleWindowsapplication.aspx
    Enjoy my article.

    hi,
    this is the code :
    public class TableBean {
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    public List getperInfoAll() {
    int i = 0;
    try
    con = DriverManager.getConnection("url","root","root");
    ps = con.createStatement();
    rs = ps.executeQuery("select * from user");
    while(rs.next()){
    System.out.println(rs.getString(1));
    perInfoAll.add(i,new perInfo(rs.getString(1),rs.getString(2),rs.getString(3)));
    i++;
    catch (Exception e)
    System.out.println("Error Data : " + e.getMessage());
    return perInfoAll;
    public class perInfo {
    String uname;
    String firstName;
    String lastName;
    public perInfo(String firstName,String lastName,String uname) {
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    public String getUname() {
    return uname;
    public String getFirstName() {
    return firstName;
    public String getLastName() {
    return lastName;
    ADF table code:
    <af:table value="#{tableBean.perInfoAll}" var="row"
    binding="#{backing_Display.table1}" id="table1">
    <af:column sortable="false" headerText=""
    align="start">
    <af:outputText value="#{row.firstName"/>//---> Jdeveloper 11g doesn't allow me to use this.. it says firstName is an unknown property..
    </af:column>
    </af:table>
    Please tell me is this the way to do it.. or is it a must to use the DataCollection from the data controls panel...
    Thanks...

  • Smartform: Loop to display data in window :

    Dear experts,
    I m facing a strange problem. its reagrding smartform.
    i hv passed a internal table to smart form (having one header record only).
    I want to display data into a window not a table.
    but its displaying nothing. and if i use loop as we use to display data into table,
    then its displaying data.
    According to my knowledge abt smartform, we do not put internal table into loop if datais to be displayed into window.
    if i insert a break-point into form and check internal table, data is there.
    Can anyone helpin this.
    Thanks in advance
    Regards

    Hi Maverick
    Please check if the following links give you some valid info:
    http://www.erpgenie.com/sap-technical/abap/introduction-to-sap-smartforms
    and
    http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm
    Regards
    Chen

  • Displaying data in different tabs

    Hi all
    In a webI report I want to display data in different tabs for different prompt values.
    For ex: In the prompt window if enter one value for plant say ABC... data should display in a single tab
    If I enter two values say ABC, DEF... data should display for two plants in two different tabs. one tab for ABC and another tab DEF.
    Any inputs please and is this possible in webI?

    Hi there. No, it isn't.
    The underlying query is shared among all tabs (which are, annoyingly, technically called 'reports').
    Since any prompts are defined in the query, they too are shared among all tabs.
    Input controls, 'standard report filters', and 'simple report filters' are specific to individual tabs, and cannot affect other tabs, but won't 'pop up'.
    You may want to look into hyperlinking between reports (read up on OpenDocument if you're not familiar with it) to allow users to move from one Webi report (technically called a 'document') to another.
    This will allow you to have different prompts for different reports.

  • 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

  • Display Data in Marathi Language

    I have used jquery to print data in html report, data display in marathi laguage in .aspx page , but when pessing print button it will be display in english laguage, so how what i do display data in marathi laguage,
    The data is like,
    <link href="js/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
        <script src="js/jquery-1.10.2.js" type="text/javascript"></script>
        <script src="js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
        <script type="text/javascript">
            function PrintDivContent(divId) {
                var printContent = document.getElementById(divId);
                var WinPrint = window.open('', '', 'left=0,top=0,toolbar=0,sta­tus=0');
                WinPrint.document.write(printContent.innerHTML);
                WinPrint.document.close();
                WinPrint.focus();
                WinPrint.print();
            $(document).ready(function () {
                $("body").keyup(function (e) {
                    var nkeycode = null;
                    nkeycode = e.keyCode;
                    if (nkeycode == 115) {
                        $("#btnprint").click();
                $("#btnprint").click(function () {
                    PrintDivContent('divtoprint');
        </script>
    <div id=>
    //data
    </div>
      <table>
            <tr>
                <td>
                    <input type="button" id="btnprint" value="Print (F4)"  />
                </td>
            </tr>
        </table>

    Please post questions related to web development in the ASP.NET forums (http://forums.asp.net ).

  • How do I write a vi that will save graph data and text data (related to the graph) so the next time I want to view the graph data the text data is included in the read vi?

    I am new at writing vi's and hope you may be able to help. I would like to create a vi that will graph measurements taken from a daq device. I would like to include text data that a user can choose from (example: machine number, test circuit, load cell type) that will stay with the graph so when the graph is viewed at a later time the text data (explaining parts of the graph) will display with the graph data. I have included a vi I am using to capture and display a force value. Any help would be greatly appreicated.
    Attachments:
    force.vi ‏500 KB

    What you want is a DATALOG file:
    When you save a file, use the BUNDLE function to bundle your machine number, test circuit, whatever (include a few spare fields), plus your graph data. Get the graph data from the source, or use a local variable of the graph itself.
    Wire the bundle output to the DATALOG TYPE of a NEW FILE function. (I presume you'll use a FILE DIALOG set to SAVE FILE to choose a file path).
    Write the same bundle output to the DATA input of a WRITE FILE function.
    Use a CLOSE FILE function to (ahem) close the file.
    When you want to read a file, use a FILE DIALOG set to EXISTING FILE (or some other means) to specify what file to read. Wire the same cluster type to the DATALOG TYPE of the FILE DIALOG, so that it will only
    offer files of the correct type.
    When you have a file path chosen, wire the bundle to the DATALOG TYPE input of a FILE OPEN operation.
    Use a FILE READ to read a single cluster - the output of FILE READ will be a cluster of the right type.
    Use a CLOSE FILE function to....
    Out of the FILE READ function, you can UNBUNDLE BY NAME the data and send to the graph and the other fields, or, if you're clever, you can use a cluster on the screen, and not unbundle it. That's harder though, since you probably want the text fields to be controls (inputs) and the graph to be an indicator (output).
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

Maybe you are looking for

  • FUTURE VERSIONS Legal Entity / Cross Operating Unit Direction

    Hello, I am aware that the Multi-Org Team is in the process of redesigning MO to allow a lot more Cross-Operating Unit (built into Legal Entity?) functionality over the next 18 months to allow users to work in a responsibility but across Operating Un

  • Portal runtime error in Theme editor:Urgent

    Hi All, I am getting the following error when i am logging as a j2ee_admin user in Theme Editor and also when i click on theme transport it is not displaying any contents. Portal Runtime Error An exception occurred while processing a request for : iV

  • Osx lion on macbook Pro

    I want to move my home folder to an external drive, I have read some posts, went into the user account, i am there as admin, for the life of me I cant find the advanced table to direct the home folder to the external folder, where I have a copy of my

  • IMAC Flash Player Quit Unexpectedly

    Previously working fine and a couple days ago I get the message that Flash player quit unexpectedly

  • See my iphone on a tv

    Is there any way to view my Iphone on a TV or Via a projector. I have a cable it will only play videos