Jump to content

Labvu

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by Labvu

  1. Joost,

    The first thing to determine is who is listening to an IP port and who will be sending data to it.

    If Labview is the "server" then use the "TCP listen.vi"

    Good place to start is in the function palette communication->TCP.

    When this listen vi returns with someone who is connected, receive or send bytes using the functions "TCP read.vi" and "TCP write.vi".

    For Java help I suggest to look into a TCP tutorial at the java.sun website.

    Look into how to use sockets in java (class: Socket, probably in package java.io).

    Hope this helps...

    Oskar

    Hi oskar, that was of quite a help for me too. I also want to know where does TCP-open comes into picture. what is the difference between TCP-listen and TCP-open as long as application is considered.

  2. Yes it is possible to enable the web-server in a built application. First include the two dll's "lvjpeg.dll" and "lvpng.dll" in the same directory as the run-time engine or the application. Second make an ini file of the application with the key "WebServer.Enabled=True" in the section of the application-name. For example if myapp.exe was the name of the application then the ini file would be called myapp.ini and contain the section [myapp]. Thirdly, you may include an access-list with the key "WebServer.TcpAccess="+*.dhi.dk;-*.com", and a root-path where your htm documents can stored "WebServer.RootPath=<path>" (where <path> is a normal windows path e.g. c:\myapp).

    Note: you can also use 127.0.0.1 or localhost in your access list.

    Credit: Niels Harre

    =========

    Hello Sir,

    I have tried using the same thing as you mentioned, but still it is not working. Should I have to install the application before enabling the web server?. If I want to put "webserver.enable=true" in the section of the application, should I over write the one that is existing. for eg. [myapp] should be over written by [webserver.enable=true]??? comming to the lvjpeg.dll and lvpng.dll, I included both of them in them in the install folder. I would like to know the significance of these dll's. Please help me on this.

    regards

    Sreedhar.

  3. Dear all,

    I have developed an application and made a .exe (LV - 7.1 PDS)+ installer, the OS is Win XP. I have an ARM processor with WinCE OS running on it. Will my LabVIEW application run on it. Can I install the runtime engine in first case??? :blink:

  4. HI,

    I am new to labview. I hope I will get good help from all of you.

    I am plotting a logarithemic waveform on a chart, all I want is to represent the waveform in two different colors, i.e. while the waveform is linear, it should be one color and while it reachs its saturation, it should be other color. So the plot should have a combination of two colors.

    If it is not possible in chart, kindly help me out with the same in case of graph.

    thanks a lot........ :worship:

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.