Jump to content

Sparky

Members
  • Content Count

    5
  • Joined

  • Last visited

    Never

Community Reputation

0

About Sparky

  • Rank
    LAVA groupie
  1. I would like to be able to update a picture control in the main application VI from a sub vi. I need to reference the picture control and send the reference to the VI. I am not sure how to do this. I have been reading on refnum's and refnum controls, but cannot seem to see how to do this. Can anyone help? Thanks
  2. I was able to customize the regular listbox control to get the large wide scroll bars for my touch screen. This does all I wanted to do. See screenshot attached. Now the operator can do everything without a keyboard (from touch screen). The problem is that after I save the VI, and then run it again, the listbox scrollbars have reverted to original size (see the other screenshot). I tried saving it as a control, typedef, and strict typedef, and checked automatic from typedef in the properties of the control, but nothing prevented it from reverting back to the narrow scrollbars. Does anyone have
  3. QUOTE(orko @ Sep 6 2007, 02:13 PM) Could have a decimal point as the first char. if the operator enters .985 for example instead of 0.985. I don't think I can guarantee that the operator will not just enter the decimal point first. I guess I could force a zero as the first char if the operator just entered a decimal point. I would prefer to allow him/her to do it either way though. Thanks for all the good comments. Sparky QUOTE(wevanarsdale @ Sep 6 2007, 01:51 PM) Sparky: I'd use the Fract/Exp String to Number function to convert a string or array of strings. This conversion is no
  4. QUOTE(Justin Goeres @ Sep 6 2007, 12:57 PM) I have not used the 'regular expressions' VI. It looks like that might do the trick. Thanks you very much! Sparky
  5. Does anyone know of a string VI that checks a string to see if it is a valid decimal number before sending the string to a convert VI? The string could have one of 4 possibilities for the first character (+, -, Number, Decimal Pt.), and can then have either numbers or a decimal pt. after. It must not have more than one decimal Pt., or Plus/Minus sign. Just thought I would check before I start doing my own. I am using LV 8.2. It would be nice if the string to number conversions had some error output. Thanks, Sparky
×
×
  • Create New...

Important Information

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