Jump to content

crossrulz

Members
  • Posts

    546
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by crossrulz

  1. 24 minutes ago, Antoine Chalons said:

    I very much agree with the need for scripting.

    It seems some folks at NI think that it's enough if we can use c# to script... almost funny...

    It is C# for now.  There are talks for making G interfaces for scripting.  It is just not a priority last I heard.  Admittedly, it has been probably a year since I heard that discussion.

  2. On 1/10/2020 at 2:03 PM, X___ said:

    I do like units for UI. If my users want to use MHz rather than kHz, or ps rather than ns, I do not have to worry about any fancy UI gimmick. It works (it even will not let the users change the dimensionality of the unit of a control at run time, which saves me the headache to fight against mischievous or distracted typers).

    I just set the display for my controls to something like "%#pHz".  The %p sets the display mode to SI Notation, which uses the prefix.

    • Like 1
  3. So what I am gathering here is that the Assert Floating-Point Numeric Type.vim does not work with units.  Otherwise, it does look like the timestamp case for the Scaler To String.vim is the first one that would work with a numeric, even with units (just feeds into a Format Into String).

     

    I'm so glad I gave up on using units ~13 years ago...

     

    EDIT: Daren posted right when I was about to hit "Submit".

  4. 14 hours ago, Rolf Kalbermatter said:

    If you really always want to remove the last three elements the OP needs to use an Array Length node, subtract the number of elements he wants to remove from this length and wire that to the offset. In that case you can leave the size input unwired because it will default to the rest of the array.

    That's too complicated.  Just wire the 3 to the Length and leave the Index unwired.  Delete From Array will default to deleting from the end.

    • Like 1
  5. You are mixing definitions of "Hex String".  It appears you need a raw/binary/flat data string.  So replace the Number To Hexidecimal String with a Flatten Into String.  The Number To Hex String converts into an ASCII text, which you do not want.  Further, since you only want 4 hex character (ie 2 bytes), you need to add a U16 conversion bullet after the multiplication.

    499451941_SetpttoString.png.dcab702c1b0b29feb25c80e426b3872d.png

  6. 4 hours ago, 0_o said:

    Does it support scripting and OO? Could I use llb/lvlib/lvlibp/...? What are the benefits? Is the FP resizable?

    Scripting is a work in progress last I heard.  OO is now a feature and NI is working on Traits.  I think llbs are gone.  lvlib I think got transformed into something else.  I do not know of any replacement currently available for the PPLs.

    Benefits?  "Programming Optional"!

    For me, I will consider NXG when packages (ie PPL replacement) are more fleshed out.  Otherwise, I think all of the features I would need in my current position are implemented.

×
×
  • Create New...

Important Information

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