Jump to content

Wouter

Members
  • Posts

    129
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Wouter

  1. Looks good JG. I think we have left one discussion... what kind of icon should the VI have? One that is fits between property nodes or the one we have now?

    And I would change the label of "Error Code Matches" to "Error supressed?", I find the first terminology pretty vague namely.

  2. This OpenG Review is closed. See Summary Post here. Please start a new thread to discuss new changes to this VI.

    VI Name:

    Supress error

    Total VIs:

    2

    Description:

    This VI has a integer (array), error code, as input and when the error code matches the error code on the error wire it supresses the error.

    Note:

    -

    Blockdiagram:

    Scalar:

    gallery_17774_56_10750.png

    Array:

    gallery_17774_56_8070.png

    Code:

    Supress Error.zip

    What are you thoughts on this VI?

    • Would you like to see such a function in OpenG?
    • Can you optimize the code?
    • In which package should it be included?
    • Should it be rejected?

  3. Should this VI be called "to Character Array" or "String to Character Array"?

    If there is any interest in making the VI polymorphic, to accept other input data types, then "to Character Array" is preferable (I think). However, if it will only work on strings, it seems that it might make sense to make the name specific and go with "String to Character Array".

    That said, are there any other input data types that we might want to support? I don't want to over-engineer this, but it's a question worth asking.

    Maybe we want to be able to split numbers as well?

    Like; input a integer 33747283; output a integer array [3,3,7,4,7,2,8,3].

    But if this is very usefull I don't know. I never needed this in practice.

  4. Hmmm knew about the node but did not think of using it like that. But I'm sure that my version is faster. The rotation is O(n) while my function is O(1), proberbly it will not make that big difference but still. Further I like mine more because it is just 1 line, in a manner of speaking that the wire changes position :P (moves up)

  5. True I was wondering about that topic as well... because I have a bunch of VI's for all kind of stuff, for example to calculate the Levenshtein distance or Jaro–Winkler distance but I can imagine that not every will need those VI's or want them on the pallet, but other people, like myself, may want them on the pallet...

  6. VI Name:

    IsOdd

    Total VIs:

    7

    Description:

    Checks if a number is odd (true) or even (false)

    Note:

    -

    Blockdiagram:

    gallery_17774_56_5856.png

    Code:

    Numeric IsOdd.zip

    What are you thoughts on this VI?

    • Would you like to see such a function in OpenG?
    • Can you optimize the code?
    • In which package should it be included?
    • Should it be rejected?

  7. VI Name:

    Temperature conversion

    Total VIs:

    31

    Description:

    This VI converts a temperature to one of the existing temperature scalings. One could use the convert unit VI from the pallet. But firstly expression nodes prevent VI's from being inlined also it does not support all temperature scalings.

    Note:

    Blockdiagram:

    -

    Code:

    Conversion temperature.zip

    What are you thoughts on this VI?

    • Would you like to see such a function in OpenG?
    • Can you optimize the code?
    • In which package should it be included?
    • Should it be rejected?

  8. VI Name:

    String shuffle

    Total VIs:

    1

    Description:

    This VI shuffles a string.

    Note:

    -

    Blockdiagram:

    gallery_17774_56_3325.png

    Code:

    StrShuffle.zip

    What are you thoughts on this VI?

    • Would you like to see such a function in OpenG?
    • Can you optimize the code?
    • In which package should it be included?
    • Should it be rejected?

  9. VI Name:

    String IsEmpty

    Total VIs:

    2

    Description:

    These VIs check if a string is empty and are alternatives to the existing one. I often find myself checking if 2 strings or more are empty to have a fast exit out of one of my string functions.

    Note:

    -

    Blockdiagram:

    sml_gallery_17774_56_8337.png

    sml_gallery_17774_56_9106.png

    Code:

    StrIsEmpty.zip

    What are you thoughts on this VI?

    • Would you like to see such a function in OpenG?
    • Can you optimize the code?
    • In which package should it be included?
    • Should it be rejected?

×
×
  • Create New...

Important Information

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