Home > Default > How can i update an html web page from Labview?

How can i update an html web page from Labview?

October 11Hits:0
Advertisement
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

Answers

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.

Read other 10 answers

Tags:

Related Articles

  • How can i update an html web page from Labview?October 11

    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

  • I Can't Update my Personal Web PagesNovember 30

    I can't update my Personal Web Pages any more. I am a longtime Comcast customer and my PWP was grandfather to be still around. My webpages still work but I can't update it anymove. My navigation- publish.comcast.net   redirects me to     https://publ

  • I want to make a web page using labview.November 30

    I want to make a web page using labview. I have the internet tool kit. Where do I start. Till now all I have used labview is for industrial I/O and mmi. I have used various TCP UDP comms for network purposes, but I haven't ever done anything with Web

  • Controlling a web page from LabviewNovember 30

    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

  • How can I add a Last Update to a web page with a web app.October 11

    I would like to know how to update a webpage whenever a web app item has been added or updated last. I have the tag {tag_lastupdatedate}  but it only works is only for the web app list or details page. I want to be able to add the date and time as to

  • Need to update content on web page in real time...November 30

    Hi all, I am using jsp with struts to display some information in a web page. Let's imagine i am displaying a list of stocks and its price in a web page. I want to upload the price of the stock as they are changing. I like to do it in a smart way: it

  • How to make a Web Page with Labview?October 11

    I have a Project: CONTROL A CAMERA OVER INTERNET (with Labview) i try to make a Web Page but it s very difficult for me.I have Labview 8.6 and Internet Toolkit. Why can i make a simple Web page? Why can i control the camera over Internet? Thanks...Th

  • Updating older .Mac web pages?November 30

    Can iWeb update previous .Mac pages created with iPhoto (pre-iLife 06)?Your old Homepage pages still exist and has a Web presence. Use iWeb to make new pages and "link" to your older Homepage to include them in your iWeb Site.Read other 4 answer

  • Latest JAVA update breaks numerous web page services - how do I uninstall?November 30

    Since applying the most recent JAVA update, Java server pages that use dropdown menus that worked in the past no longer stay dropped down. On the click down action, the menu appears briefly then disappears so it is now impossible to use these critica

  • Firefox does not show web page graphics or icons, mostly blanks or boxes with type.November 30

    With one of the recent updates, Firefox shows web pages without the clickable graphics, such as this page (Ask a New Question) where above the details box, there are only two vertical lines. I know there should be something in those spaces, cause whe

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.684 s.