Streaming data to HTML page

Hi,
      I never worked much on the creating HTML pages. what I would like to do is to display the data as it is collected on the assembly on to a HTML screen so that different people in the organisation can see whats going on the assembly line. I would appreciate if any one can provide a simple example, which I will my modify for my needs. Please also let me know if there is any other alternate solution for this.
Thanks,
Mudda.

HTML does not support a streaming concept - it is a request/response sort of thing. However, you can get it to refresh periodically.
You might want to consider using the remote front panel feature in LabVIEW. This allows you to host your VI's front panel in a browser so that other people can watch it. This does allow for live data streaming. The only catch is that the LV runtime will be installed on their machines, but the program itself continues to run on the server machine. If you are using LV 7, check out chapter 18 of the user's guide - there are several ways decribed there.
Brian Tyler
http://detritus.blogs.com/lycangeek

Similar Messages

  • Streaming data on a page or popup window.

    I am creating a web application that will be spying on another application. I establish a socket connection between my web application and this other remote system. I send over a spy request from the web application and this other system starts sending over it's console data over the socket connection.
    Is there a blog or a tutorial that will show how to create a page that will display the streaming data in real time as it happens? Any help would be greatly appreciated. Ideally I would like this to happen in a popup window, but will take whatever help anyone will give me.
    Thanks in advance

    Hi There,
    Im not aware of one at this time, I guess AJAX is the right way to go, but
    Creator will be EOLed soon, Netbeans is the latest version of Creator. Pls post your question on NB mailing lists at http://www.netbeans.org/community/lists/top.html for better response.
    Thanks
    K

  • Passing form data from html page to JSP page

    Hi,
    I have a simple HTML page with a form on it that sends the information to a JSP page that stores the form data in a JSP session. I created a simple form that asks for the user's name, sends it to the JSP page, stores that in a session, then sends it to another JSP page which displays the name. This worked fine.
    However, I added another input box to my form that asks for the user's age to do the same steps as outlined above. This does not work, and I'm not sure why. Here's the code from my HTML page:
    <form method=post action="savename.jsp">
    What's your name?
    <input type=text name=username size=20 />
    <p />
    What's your age?
    <input type=text name=age size=20 />
    <p />
    <input type=submit />Here's the code from my JSP page, savename.jsp (later on in the JSP page it links to another page, but that is not relevant):
    <%
    String name = request.getParameter("username");
    String age = request.getParamater("age");
    session.setAttribute("theName", name);
    session.setAttribute("theAge", age);
    %>Finally, here is the error message from Tomcat 6.0.9:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 3 in the jsp file: /savename.jsp
    The method getParamater(String) is undefined for the type HttpServletRequest
    1: <%
    2: String name = request.getParameter("username");
    3: String age = request.getParamater("age");
    4: session.setAttribute("theName", name);
    5: session.setAttribute("theAge", age);
    6: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)I do not understand the error, as it works fine when I simply try to retrieve "theName", but breaks when I try to retrieve both.
    What is it I am missing here?
    Thanks,
    Dan

    Ummm.... you misspelled "parameter" the second time
    you tried to use it.......
    That is incredibly embarrassing. Sorry if I made anyone think it was something more serious. Holy mackerel, I think it's time for me to read over my code much more carefully before posting about a problem.
    Thanks for the help DrClap.

  • Parse table data from HTML page

    Hello. I have a program that creates an HTML page with several tables to present some data. What I would like to do is extract the data row by row from one of the tables, and parse the data I'm interested in from each row. Can anyone suggest how I should approach this problem?

    Andrew,<br /><br />1. If you want to append these data to the existent one, you've to read the XMP of the file.<br /><br />2. You've to add or modify the Dublin Core Description field <dc:description><br /><br />For example:<br /><rdf:Description rdf:about='uuid:d659be9a-21d7-11d9-9b6a-c1fd593acb83'<br />  xmlns:dc='http://purl.org/dc/elements/1.1/'><br /> <dc:format>image/jpeg</dc:format><br /> <dc:description><br />  <rdf:Alt><br />   <rdf:li xml:lang='x-default'>Image Caption</rdf:li><br />  </rdf:Alt><br /> </dc:description><br /></rdf:Description><br /><br />3. You've to replace the app1 block on the JPG with the new XMP<br /><br />Regards,<br /><br />Juan Pablo

  • Reading data in HTML page from a  Java Stand alone application

    hey,
    i ve read bout how to read html pages using the URL and how to parse them using HTMLeditorkit and stuff.. but i want to read the values tht are updated in the HTML page dynamically and then use them in my java application ... is tht possible .. then i also want to check the click here links and the working of them ...
    please reply ...

    well .. i did tht too ..
    public void handleStartTag(HTML.Tag tag,
       MutableAttributeSet attributes, int position) {
              try{
                   //if (tag==HTML.Tag.A)
                   System.out.println("tagged");
                   this.writeAttributes(attributes);
                   if(tag==HTML.Tag.INPUT)
                   System.out.println("input found");
              catch(IOException ex){
                   System.err.println(ex);
         }the <A> tag thing is working but it is not recognizing the <input> tag ....
    ne ideas why this is not working ...

  • Failing to send and retrieve data from HTML page to BPEL

    once i have the html form ready, which 'onSubmit' calls the BPEL process, i am unable to send the data to the process and thereafter i m unable to retrieve the data send by the html form... Want to know how can i use the HTML form to send data and then retrieve data back from the BPEL process
    Rohit Jain

    There is an example showing this, it can be found under /samples/tutorials/102.InvokingProcesses/jsp/invokeCreditRatingService.html
    hth clemens

  • Creating XMP data from HTML page

    I have a very large number of images that are linked from websites in the form:
    <a href="images/filename.jpg">Image caption.</a>
    I would like to be able to use a script to batch process my files that will collect the text between the
    <a ....> and
    </a> tags, then insert that text into the jpg specified in the hyperlink as an XMP description.
    Suggestions?

    Andrew,<br /><br />1. If you want to append these data to the existent one, you've to read the XMP of the file.<br /><br />2. You've to add or modify the Dublin Core Description field <dc:description><br /><br />For example:<br /><rdf:Description rdf:about='uuid:d659be9a-21d7-11d9-9b6a-c1fd593acb83'<br />  xmlns:dc='http://purl.org/dc/elements/1.1/'><br /> <dc:format>image/jpeg</dc:format><br /> <dc:description><br />  <rdf:Alt><br />   <rdf:li xml:lang='x-default'>Image Caption</rdf:li><br />  </rdf:Alt><br /> </dc:description><br /></rdf:Description><br /><br />3. You've to replace the app1 block on the JPG with the new XMP<br /><br />Regards,<br /><br />Juan Pablo

  • I struck up with uploading flash data into HTML

    Hi all,
    I am new to flash. I know animation and a litle bit of
    ActionScript 3.0, got struck in this way:
    Presently, I am working with flash CS3 and ActionScript 3.0.
    Suppose, I have a button,check-box and a combo-box
    components within a flash application. Now, when I click on the
    image being selected from combobox, a small dot appears depending
    upon the pixel position being clicked.
    Now, How to pass these pixel values to a HTML through an URL
    from the flash, so that we can store the pixel values in the
    database. Here, pixel values are stored in flash inside a
    "flash.geom.Point" class' object.
    Please help me... Thannx in advance....
    Srihari.Ch

    You can use "ExternalInterface" class to pass this data to
    javascript (if you want to pass this data to html page). If you
    want to send this info to a server, you can use "URLLoader"
    class.

  • Can I use data from Servlet in my static html page?

    First of all, I can NOT use jsp because of web server's restriction.
    I have a servlet which will give me some image links in html file via doGET and doPOST method. I also need the sizes of the images and compress the images if too large.
    My question is how I can pass the image sizes to the html page and how I can use them in html files.
    Please advise me some solutions to this problem.

    Yeah, you have 2 choices:
    1) Change your web server to one that allows JSP.
    2) Re-build the JSP system from scratch so that the one you make will work in your server. This would involve changing your so called static HTML to have markings (like <% %> tags) where you should insert the values you need to insert. You would then have a servlet that reads the 'static' HTML, parses our the insertion tags, and inserts the values. It would then stream the results back to the user.
    Of course, your HTML is not really static, it is dynamic because the values you are inserting are capable of changing.
    If you don't want to upgrade the server to one that supports JSPs (if yours really doesn't), the have fun making your own system.

  • How to Pass the data from the class to the BSP application(ie. .html page)

    hi
    i had created one .html page. This page is getting opened after clicking on one of the buttton of the toolbar(say Bank Data).
    Now the problem is , to show the data of the bank which user had entered in the PCUI application on the .html page.
    Please help me to solve the problem

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • HTML Page rendering using Meta-Data

    New to Java and J2EE..
    I am trying to understand a way that I can generate a HTML page using the Meta-data. I dont want to design/write JSP..
    I would like to define the HTML page properties in a database table, and at run-time I would like to generate the HTML page using the information stored in the table..
    Appreciate if someone can point me to the right direction...
    -RamKi

    Hi,
    nearly one month I asked, really, nobody has an answer or a hint on that topic?
    Thanks for any information you could provide.
    Daniel

  • When I save a pages document as a pdf and then try to email the document, it loads as an application octet-stream dat file instead of a pdf. What's happening?

    When I save a Pages document as a pdf and then try to email the document, it loads as an application octet-stream dat file instead of a pdf and recipients can't open it. Some load correctly, but about half don't load as a pdf. What's happening?

    Hi mjmonck-
    Which email provider are you using? There are different solutions possible for different providers. Yahoo is having trouble with attachments, outside of any Firefox issue. I've seen a Google user fix this by manually adding the mail URL to their ad block program- which mistakenly perceived the webmail page as an advertisement.
    Hope this helps.

  • Splitting data table data into 2 columns on html page

    I am working with an app that has to list a LOT of data as links... For example... it pulls approx. 5,000 records from the database, and each must be shown as a link on the html page at the user level...
    To cut the amount of scrolling in half, we would like to truncate the list in half such that a column on the left side contains the half of the data while the other side contains the other half...
    The halving could be done either as a 1st half/2nd half thing, or as an interation putting every other record on the right and left respectively...
    Thus far I have not found a way to do it...
    Any suggestions?
    Thanks,
    -Garrett

    Yeah, I have considered cutting the list in half in the backing beans, which would allow me to accomplish what I am trying to do, but I'd rather pull the collection from a single method and find a way to do it with JSF if that is possible...
    appreciate the input...
    -Garrett

  • Displaying changing data in DW4 HTML pages

    Hi - I'm hoping someone can offer a way to do this more efficiently in DW4 than how I did it for the client.
    I originally did this in Flash but since I'm the only person who knows Flash here, and because I would not be the person updating the data on a daily basis, I moved it to DW4 as HTML files.
    They wanted a map with pushpins of the US and other countries.  See image below:
    When you click on a pushpin, the state or country appears displaying names.  Then you click on a name and it displays data about that person on the right.  See below:
    It's basically a drill-down concept, starting with usa.html, clicking on a state, which displays northcarolina.html, clicking on a name, which displays personname.html. 
    As you can imagine, if you have 50 names, you're going to have 50 HTML pages to keep track of.  And if 20 of those names are displayed on each page like the one above, if Ron quits and is replaced by someone named Mike Smith, you have to go to the NC page and all 20 individual pages to change the names.
    I would love to be able to do this same concept but with one central spreadsheet or some other document that holds all of the names and data for each.  Then, when something needs to be updated, just do it in this central document and the HTML display automatically updates.
    Any idea how this can be done with DW4 and some other type of data file?  Thanks. 

    When you say "DW4" do you really mean "DW4" (vintage 1999) or "DW CS4" (vintage 2009)?
    The best way to do this would be to use server scripting with a database.  But if you really mean DW4, then you would have to manually create all of that scripting.

  • I can't get today's date to show on my html pages with Javascript codes.

    I use javascript 1.2 codes to show up today's date on my HTML pages but it did not execute.
    Here is my code:
    <script language="Javascript">
    <!--
    document.write(displayDate());
    // -->
    </script>
    Please help! If you know how to get it to execute.
    Thank you.

    I don not know what displayDate() means
    But I am display current date and time with the code...
    <script language="Javascript">
    <!--
         document.write((new Date).toLocaleString());
    // -->
    </script>

Maybe you are looking for

  • PO number prints only if it is at header level not for item level

    Hi All, I am not able to print the PO number in my order acknowledgement and COA printout when I enter the PO number in the sales order at item level of only. It prints fine when it is at the header level. Please assist. Thank you, Shanu Jain

  • FRM-47023 No Such parameter named G_QUERY_FIND exists in form APXINWKB

    Hi, I am getting this error "FRM-47023 No Such parameter named G_QUERY_FIND exists in form APXINWKB" when I am opening Invoice Form. I tried a fix from Doc # 159023.1 but it didn't worked. Any suggestions? Regards, Neeraj.

  • My 2011 17in macbook pro is running slow with no hints as to why?

    Earlier this week I was playing a game on my windows partition and noticed it was incredibly slow so I went to the osx partition and it was slow there as well. By slow I mean when I type it takes awhile for the text to show up or changing from progra

  • Is it ok to download free fonts?

    My client wants me to use a specific font that I don't have - he wont pay for it as it's available free. The font is Effloresce I'm worried about downloading any free stuff - can anyone recommend a safe site I could get it from? I'll be looking at a

  • FCP to Color - SmoothCam not transferring

    A quick one, SmoothCam adjusted videos in FCP 6.0.3 are not sending to Color 1.0.2. Color is linking to the original footage, not the smoothcam footage, so I cannot color correct and render in Color. Any way to fix this? Himy