Jump to content

Tomi Maila

Members
  • Posts

    849
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Tomi Maila

  1. I would do it with Match Regular Expression that you can find in the String menu. Make a regular expression that matches only the number there that you need to remove and then form the new file name from the before match and after match strings.

    Tomi

  2. Andrey suggested to check for input errors while to user is typing the input. I was initially against this idea as it can be very distracting for the user if an error message is displayed when user is correctly entering a value into a control. However, we can alter the value validation algorithm slightly to be used with update value while typing. We can check if the string user is typing can lead into a valid value while user is typing the value. If not, we display an error message. If the beginning of the string is valid, we should not distract the user but let her continue. However, we should not allow user to continue until the value is fully completed.

    I edited the example in accordance with these principles. The regular expression for checking partial string is constructed from the regular expression for full strings in the following way. Our full regular expression string consists of several components. A partial string user is typing is valid if it is 1) empty or matches 2) partial first part, 3) first part and partial second part, 4) first and second part and partial third part, and so on. You get the point.

    The edited example can be downloaded from the blog.

    post-4014-1225739406.gif?width=400

    QUOTE (AndyDm @ Nov 3 2008, 08:45 PM)

    Ok. I added this functionality to my modified example as well. Thanks for good feedback.

    QUOTE (AndyDm @ Nov 3 2008, 08:45 PM)

    - For "OK" button we will set Return Key for toggle action, and for Cancel - Esc.

    This can be risky as pressing Esc doesn't in general mean close and loose all my changes. I would force users to actually press cancel button to cancel.

  3. SMS Service is a very general word. Do you mean either sending SMS with a GSM modem or interfacing to an operator SMS messaging center and sending/receiving large amounts of messages. I guess the former solution is already discussed. For the latter, install for example Kannel to a unix box and interface Kannel with LabVIEW using simple HTTP requests.

    http://kannel.org

  4. QUOTE (PaulG. @ Aug 14 2008, 08:22 PM)

    And ... on a lighter note ... some physicists are concerned about the possiblity of the CERN creating, among other exotic things, a mini black hole that could escape, orbit through the earth and gradually swallow us up in a matter of days … :blink:

    Luckily all educated physicists have read their Wheeler and know that small black holes would radiate so much hawking radiation that they would 'evaporate' or explode instantly. Actually I don't think an explosion of a mini black hole would look so much different from what ever happens in a proton collision anyway.

  5. QUOTE (TobyD @ Jul 9 2008, 06:11 PM)

    Excellent video Tomi! And let me be the first to say thank you for not using youtube. The increased resolution of vimeo is nice. Did you set up a green screen to insert the expression flow background? Very cool!

    Thanks :) I was using Vimeo because of the excellent 1280x720p HD quality, as it provides ability to download videos and as some users tend to have problems accessing YouTube because of corporate "security" policies.

    About green screen, I spent a few weeks painting the ExpressionFlow background to our living room wall ;) You can imagine how lot of and how detailed work that was :)

  6. Ben,

    You may want to take a look at OpenG Active Object Template(.opg) that is part of class templates I wrote for LVOOP. See OpenG Wiki for more details. Active Object Template is a template for by-reference objects that include a single VI that starts executing when an object instance is created and stops executing when the object instance is closed. The template is meant to be used with Endevo GOOP tool but you can simply create a copy of the class from within LabVIEW as well to use it in your project. Use VIPM to install the template to <LabVIEW>resource\OpenG\openg_object\class_templates. The template requires OpenG Object package to be installed as well.

    post-4014-1215584092.png?width=400

  7. QUOTE (Ton @ Jul 7 2008, 08:41 PM)

    What program have you used to capture your screen activities, I've used Jing but found it is not real-time.

    I've used CamStudio beta together with Lagarith lossless codec. The audio sync sucks and therefore I don't use CamStudio to capture audio. I edit the videos with Sony Vegas Pro 8.

×
×
  • Create New...

Important Information

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