How can i update an html web page from Labview?

I intend to publish the "status" of an experiment online through an web page. I mean, if my vi is running i would like to have a phrase or indicator set on at my web page. If my Vi is not running i would like this indicator set off. This page is hosted in a server and I would like to know if its possible to update the html file from labview through an ftp connection.
Thanks in advance...
MSc. Alexandre Michel Maul
Parana Federal Univeristy - Brasil

The system exec function is on the Communication palette. Its for executing system commands. On my Win2K system, the help for FTP is:
"Ftp
Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. Click ftp commands in the Related Topics list for a description of available ftp subcommands. This command is available only if the TCP/IP protocol has been installed. Ftp is a service, that, once started, creates a sub-environment in which you can use ftp commands, and from which you can return to the Windows 2000 command prompt by typing the quit subcommand. When the ftp sub-environment is running, it is indicated by the ftp command prompt.
ftp [-v] [-n] [-i] [-d] [-g]
[-s:filename] [-a] [-w:windowsize] [computer]
Parameters
-v
Suppresses display of remote server responses.
-n
Suppresses autologin upon initial connection.
-i
Turns off interactive prompting during multiple file transfers.
-d
Enables debugging, displaying all ftp commands passed between the client and server.
-g
Disables file name globbing, which permits the use of wildcard characters (* and ?) in local file and path names. (See the glob command in the online Command Reference.)
-s:filename
Specifies a text file containing ftp commands; the commands automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>).
-a
Use any local interface when binding data connection.
-w:windowsize
Overrides the default transfer buffer size of 4096.
computer
Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last paramete
r on the line."
I use tftp all of the time to transfer files in a similar manner. Test the transfer from the Windows command line and copy it into a VI. Pass the command line to system exec and wait until it's done.

Similar Messages

  • How can I delete an old web page ??

    How can I delete an old web page ?? I have created a web page some time ago and now I want to delete it but i do not know how to do it: can anyone help me ?

    Delete the web page where it is published.
    If it is published to MobileMe, then you need to log into MobileMe and go to your iDisk or mount it on your desktop and then delete it from your Web/sites folder.
    If you have published to a server, then you'll need to download Cyberduck, Filezilla or Transmit - all dedicated ftp programmes to connect with your host/server and then delete your old files from the server.
    It really is not hard.

  • How can I make photos on web page enlarge with mouse-over?

    How can I make photos on web page enlarge with mouse-over?

    There's a couple of recent topics which mention MagicZoom and JQZoom...
    https://discussions.apple.com/message/17438064#17438064
    https://discussions.apple.com/message/17440847#17440847
    A very simple method is shown here...
    https://discussions.apple.com/message/17440847#17440847

  • How can a customer edit a web page that I have made?

    How can a customer edit a web page that I have made?  The customer should edit the text or pictures by himself. Is this possible? 

    First you can search in this forum "in browser editing".
    Second you may be interested in this video:
    http://tv.adobe.com/de/watch/designtools-in-der-creative-cloud/bearbeitung-im-browser-in-a dobe-muse/

  • How can I download content of wiki pages from Office 365 online Sharepoint site using c#?

    How can I download content of wiki pages from Office 365 online Sharepoint site using c#?
    Ratnesh[MSFT]

    Hi,
    According to your post, my understanding is that you want to download content of wiki pages on SharePoint Online.
    If just for getting the text of the page, I suggest you convert page to PDF file first and then download the PDF file via a Visual Web Part as a Sandboxed solution.
    A sample about export HTML to PDF:
    http://hamang.net/2008/08/14/html-to-pdf-in-net/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Urgent....How can i redirect to my jsp page from servlet in init() method..

    How can i redirect to my jsp page from servlet in init() method..Becoz that servlet is calling while server startsup..so im writing some piece of code in init() method..after that i want to redirect to some jsp page ...is it possible?
    using RequestDispatcher..its not possible..becoz
    RequestDispatcher rd = sc.getRequestDispatcher("goto.jsp");
    rd.foward(req,res);
    Here the request and response are null objects..
    So mi question can frame as how can i get request/response in servlet's init method()..

    Hi guys
    did any one get a solution for this issue. calling a jsp in the startup of the servlet, i mean in the startup servlet. I do have a same req like i need to call a JSP which does some data reterival and calculations and i am putting the results in the cache. so in the jsp there in no output of HTML. when i use the URLConnection i am getting a error as below.
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:707)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:705)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:519)
    at com.toysrus.fns.alphablox.Startup.callJSP(Unknown Source)
    at com.toysrus.fns.alphablox.Startup.init(Unknown Source)
    at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
    so plz do let me know how to call a jsp in the start up of a servlet.
    Thanks
    Vidya

  • Why can't I print a web page from my Android 4.1 phone to my 8500a printer? e-print is working.

    Why can't I print a web page from my Samsung Android 4.1 to my Officejet Pro 8500A. eprint is working, so I can send e-mails to my e-print address, but when I try to print a web page, it says that I don't have a printer. Can someone help me with this? 
    This question was solved.
    View Solution.

    Just received an update to the Android version of HP ePrint.
    It now has the ability to print web pages!  Thanks HP!  
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How do i Hyperlink to a web page from a java application?

    How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?

    It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
    String [] cmd={path of IE+Filename.exe,"URL of your website"}
    try
    Runtime.getRuntime().exec(cmd);
    catch (Exception e)
    System.err.println(e.toString());
    }

  • How can I call a SAPME web service from MII such as PlaceFutureHold?

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    With Web service action block you can view all ME available services
    in I.E
    https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl  you could see your FutureHold service
    To do that in MII, you need Web Service action block. Have you work with MII transaction before?
    (saw your post in MII)

  • Captivate 6: Can I hyperink to a web page from an image?

    In Captivate 6, can I hyperlink to a web page from an image?

    You can fill a smart shape with the image using the Texture button, but beware: choose a shape with the same size as the image. Maybe Sreekanth is telling the same, but I didn't get his 'assign custom image to it'? And if you want to have a pause for a shape button, you have to check it in the Timing accordion.
    Another approach is to put a click box on top of the image. You can open the URL in another window using the small triangle drop down list, and be sure to uncheck Continue Project to avoid that the playhead will continue.
    Lilybiri

  • How can I export to a web page with movies?

    Hello,
    I just noticed that when I exported a folder of pictures and movies to a web page, only the pictures showed up. Is there a way I can use the export to web page feature and see my movies?
    Thanks!

    Are you using iWeb to create your web page? If so then the only options from within iPhoto for exporting are a photo page or blog page. You need to export only the photos and once in iWeb create a separate movie page and import that movie to that specific page via the Media button at the bottom.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How can i update my ipod 1st generation from IOS 4.2.1 to 5.0

    how can i update my ipod from IOS 4.2.1 to 5.0

    Update it from iTunes on a computer as described at the bottom of this article; there isn't a Software Update option in General on iOS versions prior to 5.0. It can only be updated directly to the newest iOS release supported by the device’s hardware.
    The maximum iOS version for the first generation iPod touch and original iPhone is 3.1.3.
    The maximum iOS version for the second generation iPod touch and the iPhone 3G is 4.2.1.
    The maximum iOS version for the third generation iPod touch and original iPad is 5.1.1.
    The maximum iOS version for the fourth generation iPod touch and iPhone 3GS is 6.1.6.
    If you don't know what device you have, append the last three characters of its serial number to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
    (110947)

  • How can I update software on iPhone 3g from ios 3.1.3 to ios 4?

    Recently been given an iPhone 3g. I had to restore the phone to sync to my iTunes. Now a lot of apps will not download as I need at least iOS 4 but the phone is iOS 3. iTunes tells me that this is the latest software for this model when I check for updates. Is there anyway to update to iOS 4?

    The iPhone in question, iPhone 3g is running software version ios 3.1.3, my current iTunes is running 10.6.3. How can I update the software on said iPhone to iOS 4 from 3.1.3 if iTunes informs me that the current software is up to date.
    The iPhone has pretty much been rendered useless as I can not download majority of apps. Therefore it just works as a pretty basic phone.

  • How can I update my 8g ipod touch from 4.2.1 to something higher?

    I have an 8G ipod touch with ios 4.2.1 which won't allow me to download most apps.
    I want to update it to a higher ios but when in itunes, when I click on the check for updates, it just idicates that the ios 4.2.1 version is already on the ipod. 
    How can I update the ipod?

    You appear to have a second generation iPod touch, which can't be updated further.
    (83325)

  • Controlling a web page from Labview

    Hello,
    I am trying to acquire image from an Encoder's IP address, but I'm facing some problems:
    1. Once the Ip address is loaded, the web page asks for authentication (user and password), so I don't know how I can send this information to IE through Labview.
    2. Once one has logged in, the web page shows a window with ActiveX controls in which the image from a camera is acquired and can be zoomed in and out, or saved. I need to saved the image, so I would need to send an instruction to the page as if I had clicked in the "Save" icon. I wonder if I can send some sort of instructions telling "buttonX=ON" or using the coordinates in the window to simulate a click or sth.
    I tried the "AutoIT Example.vi" and changed it to call internet explorer and then sending the URL, and I also tried the "open_browser_send_URL.vi" but as I said, I'm stuck in the authentication part.
    I would greatly appreciate any suggestions you may have to deal with this problem.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    open_browser_send_url.vi ‏25 KB

    When you attempt to log in to the web page, does it use a form on the web page, or does it pop up a separate authentication dialog?  If it's a form within the web page, you may be able to do this using Internet Explorer and LabVIEW.  The details will depend on your web page - if it uses a form submit then it should work, if it relies on Javascript then it may be more trouble.  You'll have to look at the web page source to identify the correct form elements.  I'm attaching a VI that demonstrates how I handled this in one previous project.  The VI expects that you'll pass in a reference to a WebBrowser object.
    To save the image, you may again be able to dig into the HTML source of the web page to find out what method of the ActiveX object is being called.  You can then obtain a reference to that ActiveX object, cast it to the appropriate type, and call that same method from your VI.  I've done this before for a web-based label-printing application, as shown in the attached image.  In this case the ActiveX component is called TidAx1 (which I found from looking at the source of the web page).  After obtaining a reference to the ActiveX component within the web page, the LabVIEW programmer has access to all its properties and methods.
    Mauro Vera wrote:
    I attach some links below, guidelines that can be made. Any questions please contact us.
    Sometimes it's really hard to know if you NI people (so I'm assuming, from the blue username) actually read the questions before you attempt to answer them... why would you attach links about sending email when the poster asked about reading data from a web page?
    Attachments:
    web login.vi ‏26 KB
    go to URL.vi ‏12 KB
    set html form element value.vi ‏11 KB

Maybe you are looking for

  • How to install Windows XP in Satellite Pro L300-1A9?

    Hi!, first of all, sorry if I'm asking something really obvious, but I'm quite new with this issues...also sorry for my English, I'm not native. I have a Toshiba Satellite Pro L300 1A9 with Windows Vista preinstalled but the thing is I prefer Windows

  • Sumproduct row and column?

    hello -- it seems fairly straight forward to use sumproduct for two columns or two rows of a given length. how can i do the same for a row and a column of the same length. i keep getting an error when i do that. do i need to use a different function

  • Types of promotions in is-retail

    hi all Iam new to Retail What are the types of  promotion available in SAP IS-Retail? regards satyaprasad

  • How can I cancel a newspaper app? I have deleted the app from my iPad and itunes

    How can I cancel paying weekly for a newspaper app?

  • Mail Adapters

    I am new in XI. I was trying to send the IDOC data into mail using mail adapter. I have imported the CREMAS04 idoc in IR. Made data type messege type , messege interfaces, messege mapping , and interface mapping. I gave created SC , Technical system,