Jump to content

jcarmody

Members
  • Posts

    947
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by jcarmody

  1. What do you mean?

    You can insert a single column if multiple columns have been defined. the others just get populated with blanks (unless you have defined a field as NOT NULL)

    [...]

    Can you elaborate?

    Never mind; I was doing it wrong. Thanks for the snippet.

    I don't see that polymorphic Insert VI in the palettes. What am I doing wrong?

    post-7534-032862500 1288868129_thumb.jpg

  2. [...]

    I know how to read a file and extract individual initialization parameters from it. So initializing each button from a numeric, and outputting the selected value is all I need.

    You won't be able to change the control labels at run-time, so you'll have to make the captions visible and act on them.

    post-7534-061126600 1288776868_thumb.png

  3. I imagine the count by your avatar is "posts ever" and in your profile it is "posts now" - the difference comes from posts having been deleted.

    I don't know about that. My profile says I have 505 (before this post) and my avatar says 509. Both are above the 500 posts implied in "The 500 club". I wonder what I have to do to get into the club.

  4. [...] one advantage MSAccess had over other solutions was that it had a pretty easy ui that allowed users to query data. Do the other solutions offered have good data viewers available?

    We use Access with tables linked to a MS SQL Server DB.

  5. I have a "sandbox" sequence that I use to test my products and develop new tests; it contains all of the sequences that I use for production as well as utility sequences and whatever is in development. I currently use it by skipping every step except the ones I'm working on, but I'd like to generate a list of steps at the beginning of the execution that will allow me to select which steps to run. I figure on making a boolean array and using Preconditions to decide whether or not to run a step. I've written something similar, but it depends on a static list of steps. I want something to dynamically adapt to the ever-changing sandbox sequence.

    How can I get a list of steps from a VI called at the beginning of the sequence? I've looked at the OI examples and nothing jumps out at me.

    Thanks

  6. It's been a long time since I worked with this, and I didn't have the correct hardware then so I don't have experience with it, but I remember something about some NI hardware being able do do something like this. How's that for concrete help?

    The feature of the hardware is called Digital Change Detection, and it eliminates the need to poll your input lines and this KB sounds like what I vaguely remember.

  7. It might be worth considering the schema TestStand uses. It may be a dangerous guess, but I'm guessing that they've put a fair amount of though into normalizing test data. It looks sound to me.

  8. II wouldn't charge more.

    [...]

    I'd just escalate the time-scale to account for the "learning curve" and "recoding".

    That sounds like you would charge more. Not as a penalty for foul-smelling code, but because you're being realistic in that you'd have to include the learning curve or the time to rewrite it.

    My take on the question was that Ben was asking was whether it would be ethical to charge above your standard rate to extend a particularly odoriferous project (after accounting for the things you mentioned) simply because the work involved is so distasteful?

    • Like 1
  9. As far as the problem in your original VI, you're using Shift Registers with the Match Regular Expression node incorrectly. You can't use the Offset After Match if you're only going to search what was found before and after the previous match. Savvy?

    post-7534-097691200 1287151082_thumb.png

    For the record, /<(.*?)>/ is considered a fairly "bad" regular expression. You should work with something more like /<[^>]+>/. A cookie to whoever can explain why that's better ;)

    Yours will not miss nested tags line break characters. If the tag spans multiple lines the "bad" regular expression will fail.

×
×
  • Create New...

Important Information

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