Jump to content

bjustice

Members
  • Posts

    84
  • Joined

  • Last visited

  • Days Won

    5

bjustice last won the day on December 13 2021

bjustice had the most liked content!

About bjustice

  • Birthday 10/31/1990

Profile Information

  • Gender
    Male
  • Location
    Van Horn, Texas
  • Interests
    Rockets

LabVIEW Information

  • Version
    LabVIEW 2017
  • Since
    2012

Contact Methods

Recent Profile Visitors

1,711 profile views

bjustice's Achievements

Apprentice

Apprentice (3/14)

  • Conversation Starter Rare
  • Dedicated Rare
  • First Post Rare
  • Collaborator Rare
  • Reacting Well Rare

Recent Badges

21

Reputation

  1. For what it's worth, I've been heavily using/stress-testing that padding code for flattened strings in TDMS. On the Windows OS, I've had no issues. I'm sad to hear about the issues on the Linux RT OS. I think the saving grace is that, I rarely ever need to read a TDMS on a Linux RT. Usually it's create/write to TDMS on RT, then read on Windows
  2. I just go to see all of you guys "dance" at the Spazmatics band night
  3. @Porter @Antoine Chalons There's some background info here. A few things. Both of those libraries are branches of the Erdos Miller code. However, I communicated all of my modifications to Antoine, who then re-implemented them in his library. I have little intention of making additional changes to my branch. Conversely, I suspect that Antoine intends to continue to support his branch, if only in a limited manner. BlueTOMLSerializer is not just a TOML library. It was written as a TOML-based plugin for the BlueSerialization engine. https://www.vipm.io/package/blue_origin_lib_blueserialization/ This is a large piece of code that handles serialization and deserialization of classes quite well. The user can select an implementation of JSON, TOML, or other by choosing a different plugin library. I fully intend to modify BlueTOMLSerializer to drop all the TOML code and directly consume Antoine's library as a dependency. This, for example, is what I do for JSONtext. Unfortunately, I'm waiting on a specific feature request to be implemented in Antoine's library: https://github.com/AntoineChalons/lv-toml/issues/24 Hope this helps
  4. My goal is always to produce a user interfaces that users won't recognize as being written in LabVIEW unless you told them. 2 examples of this that I've seen online come to mind: VIPM (VI Package Manager. This received a major UI overhaul in 2020.) Scout TDMS viewer (From Signal.X)
  5. Today I learned. Thanks Logman
  6. lockup.vi I ran into a strange LabVIEW (bug?) today. (Note, I'm using LabVIEW 2020 SP1) Figured it was worth sharing, maybe you guys have insight here. I've attached a VI that demonstrates the behavior. Basically, if you click the "Do" button, then LabVIEW will completely lockup. You have to hit the abort button or task kill to escape the lockup. In the "False" case below, the event structure loop doesn't get kicked off. However, it seems like LabVIEW locks up when the Do button is pressed... perhaps indicating that LabVIEW is waiting for the event structure to fire off the event... which, of course, never happens in the False case. What's even stranger is that if you flip the disabled structure, you'll see that the code doesn't lockup if the case structure is given a constant False input. This tells me that compiler shenanigans are at play. Weird weird weird
  7. I ended up copying VIPM verbatim: Use /\ and \/ Make the active column BOLD I agree that overlaid buttons are better and feasible, but would take alot of work to get correct with things like column resizing. The VIPM solution is low effort, robust, and not thaaat bad looking.
  8. Argh, you're right, there is a limitation. It looks text properties (size, color, style, fontname) are global for each individual cell. i.e. I can't have a cell with both Segoe UI font and then also some text using Symbol font in the same cell. This means if I put Symbol arrows in a header cell, then I can't place descriptive text next to the arrow.
  9. Oh, really? Ok, I'll give this a try and report back any issues. If it doesn't work, I'll just go with your /\ idea, I didn't think of that
  10. OOooo, I think I might have a solution. The font package "Symbols" has a bunch of symbols and arrows in it: This font package ships with Win 10, which is the only OS this product needs to run on right now, so that should work
  11. In many modern non-LabVIEW UIs, tables can be sorted by clicking on the header. There is then usually a glyph to communicate this feature. Non-LabVIEW example: I'm trying to reproduce this behavior in LabVIEW, but I keep hitting roadblocks. Notably: LabVIEW doesn't allow for symbols in table headers LabVIEW ascii table doesn't have any up or down arrows. There is an up carrot ^, but not a down carrot. I'd love to know if anyone has any suggestions or workarounds.
  12. @jdpowell @LogMAN @Antoine Chalons @Aristos Queue I recommend that you guys take a peak at this code. We're not normally able to release code like this to the community, but I managed to collect approval for this particular library on grounds that it was very low level and very intertwined with other open-source community code. (literally recursively entwined with JSONtext lol.) A few notes: ___ This library leverages the new "LVClass Serializer" input to JSONtext: Soo, thanks at JDP for adding this input. Very helpful. __ Antoine, the TOML serializer here is not yet directly consuming your LV-TOML library. I would realllly love to make this happen though. In order to consume LV-TOML, we'll need to add a "LVClass Serializer" input to LV-TOML in exactly the same manner as JDP added this to JSONtext. For the moment, the TOML code in this library is a branch of the old Erdos Miller TOML library... except that I've added the code required to hook into class deserialization stuff. __ Logman, I took a look at your recently published "JSONtext Object Serialization" library https://www.vipm.io/package/pnr_lib_jsontext_object_serialization/ Very cool code! Your LabVIEW composition library has been quite useful. In fact, it's a dependency to this library! So, a big different between your library and this Blue library is that we chose not to use composition for serializing/deserializing classes. We had a few reasons for this, and it's actually described in more detail on the repo readme. However, this Blue library ships with a very nifty "BlueVariantView" package. This exports any LabVIEW data structure to a colorized tree control. (I was inspired by the LAVA VariantProbe library, so I made my own... but better.) I used your composition library within this tool to decompose maps, sets, and classes. Take a look, super cool! __ Lastly, Aristos, I'll just cryptically say that your an inspiration, and I hope this code benefits you
  13. LAVA friends, Do you like JSONtext? Do you like LV-TOML? But do you always wish that either of these libraries supported LabVIEW classes? Well, with this library, now they do! The more in-depth documentation can be found at the official source code repo: https://github.com/justiceb/BlueSerialization The VIP packages can either be downloaded here, or directly from VIPM. On a related note, if you like the code, consider checking out the following link:
×
×
  • Create New...

Important Information

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