Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Ton Plomp

  1. Hello Callahan,

    I wouldn't use your own server for serious public hosting. There are free (or almost free) hosting options for SVN available.

    But if you insist, you need a few things, an domain address that points to your computer's IP-address. Most likely your computer is not directly connected to the internet, but via a router, so you need to set up the firewall or NAT of the router to point port 80 to your internal computer IP address.

    If your computer is at work you'll need to consult IT for the exact configurations.

    Ton

  2. LabVIEW has an SMTP email client, that allows you to send an email.

    If you want that email to contain HTML contents, you just have to put that into the message of the email.

    For the actual content of the HTML message I would look at some email's you want to mimic.

    Note however that sending email has got quite tricky the most recent years. All large online email-systems (yahoo, google/gmail, microsoft/hotmail/live.com) allmost force you to go through a known email server. It is one of the effects where the normal people suffer from the bad exceptions (spam).

    Ton

  3. It's definitly possible to resize the window of a VI:

    <!-- copy and paste. Modify height and width if desired. --> <object id="scPlayer" width="630" height="547" type="application/x-shockwave-flash" data="http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/jingswfplayer.swf" > <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/jingswfplayer.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="flashVars" value="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/FirstFrame.jpg&containerwidth=630&containerheight=547&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/ResizeFP.swf&blurover=false" /> <param name="allowFullScreen" value="true" /> <param name="scale" value="showall" /> <param name="allowScriptAccess" value="always" /> <param name="base" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/" /> Unable to display content. Adobe Flash is required.</object>

    Good luck,

    Ton

  4. I'm currently using NI Source distribution builder together with VIPM to create a LVTN version of the Code Capture Tool.

    One of our (mine and Yair) targets is to be independent on other tools like OpenG (however when using VIPM that is very unlikely).

    So I made a source distro with LabVIEW, and included any stuff in user.lib (OpenG) and excluded vi.lib.

    Just for fun I embedded vi.lib, and the support folder went from 500 kb (OpenG) to 2.8 MB (including all the config files for instance).

    Ton

  5. I was just building a tool and wanted to include OpenG as sub-vis of the tool.

    And that is possible, I can uncheck the 'exclude files from user.lib' to achieve that.

    However if we move OpenG to vi.lib we cannot use the 'exclude files from vi.lib'. Since that would include a lot of internal vi.lib stuff...

    So in a blink of a second I changed from 'YES' to 'NO'

  6. On Stackoverflow someone posted a question on how to recover a VI's password

    To my surprise there was a thorough answer containing two methods:

    1. Look up the stored MD5 hash in a VI file
      I can understand this, and am not really concerned, this might be a valid method if you know a password is from a given list (choosing a password from a dictionary is dumb anyway).
    2. Modify the LabVIEW executable binary to ignore the password checking.
      I have not tried this on LabVIEW 2011, but if this works it basically means that passwords are just a sign that says 'Do not trespass'

    Can anyone verify the LabVIEW edit function in 2011.

    On a more general discussion, does this troubles you anyway?

    Ton

    • Like 1
  7. So you mean that the FP-update is the real killer?

    That would be very strange. Notice that I took a file of 5.5 Megabytes resulting in an array of 5.5 Million Elements, since a single string char is 5 bytes, the total array would be 27.5 Megabytes, with the resulting string being 11 Megabytes.

    I had the same results in 2010 though.

    It might be that the size of the input file is important.

    Ton

  8. You have one case structure, that has two cases 'write' and 'read'.

    Both case-names are in red because they don't match the selector data-type (an unconnected selector defaults to boolean allowing 'False' and 'True').

    If you want to use a string as selector you need to add a 'default' case (or make one of the two cases default).

    You could also add a Boolean as selector, making it a read or write boolean.

    Ton

    PS if you are in the error dialog (ctrl-L), you can double click on the error and you'll get send to the error.

×
×
  • Create New...

Important Information

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