Jump to content

Jim Kring

JKI Team
  • Content Count

    1,617
  • Joined

  • Last visited

  • Days Won

    33

Jim Kring last won the day on February 18

Jim Kring had the most liked content!

Community Reputation

56 Excellent

5 Followers

About Jim Kring

Recent Profile Visitors

26,166 profile views
  1. Hi @maristu. We have a fix for this issue in the VIPM 2020 Beta. Thanks again for reporting it. If you'd like to help test, please sign up for the beta.
  2. That's great that this LUT approach with in-line execution mode will work for you. Yes, it should be a lot less maintenance in the future. I'm glad it's looking like a good path forward. Thanks for letting us know how it goes. I've learned a bit from this discussion, too.
  3. Yes, I’m pretty sure that if you use an array constant for your sparse values and you use a constant enum to index into that array, then labVIEW will constant fold the array indexing and look up. if you do this in a subVI, to use that look up in several locations, then you’ll probably need to set this up VI execution mode to in-line into the caller, in order for the constant folding to work I’m the calling VI. That being said, if the enum integer values are used as the indices into your look up array, then the operation should be lightning fast.
  4. @Voklaif We dug into it and it turns out to be a LabVIEW bug. The solution is for the user (you) put a To Variant function before the call to Flatten to JSON String, since the bug seems to be inside the coercion dot (and the To Variant function doesn't seem to have that problem). Note: here's the bug (and fix) reduced to a very simple example (example VI also attached for anyone who wants to play with it)... Coerce to Variant Fail (LV2019).vi
  5. This looks like a bug. (Note: I've filed a bug report in our issue tracker here: https://github.com/JKISoftware/JKI-JSON-Serialization/issues/34) I see the same thing as you. The "bridge_data" is missing, here, when it's the only element in the cluster. However, if I add another element next to the variant (so it's not the only element in the cluster) then I see "bridge_data" in the JSON string. JSON Test ignoring single variant in a cluster.vi.zip
  6. I've seen similar problems when VIPM gets an error checking the network for the package repository feed. If we solve the first issue, the second problem will go away.
  7. A.) Is it a "System" package that you're looking at? B.) Or, did you set the Target to System and then are you looking at a LabVIEW package?
  8. One more idea... Is the clock (date/time) set correctly on that computer? If not, that can cause HTTPS connections to fail, since the certificates can't be verified correctly.
  9. The hover effect does not show when the VI is in Edit Mode. It should work OK when the VI is running or when it's in Run Mode (tip: use <Ctrl+M> to toggle between Edit and Run mode).
  10. Shoot. That setting was my secret weapon. Now, I'm not sure what it could be... If you're interested, you might try VIPM 2020 Beta and see if that fixes things. It's pretty stable at this point and we're actively fixing issues.
  11. Thanks for posting to the idea exchange and letting me know more about your packaging use case. > Side question: Any idea why Chrome freezes will VIPM is processing a (very) large package? I'm not sure, but Chrome can use a LOT of memory with lots of tabs open. It could also be related to disk usage. I'm not sure. 🤷‍♂️ > over 1200 defined messages. Since LabVIEW does not support sparse enums Hmmm... Maybe you could create your own non-sparse enum that you pass into your VIs and then use a conversion VI with a look-up table to convert these non-sparse enum values to the sparse integer values used by your low-level library. This is discussed a little bit here on lava.
  12. One thought I have is that you might try the Options >> Network >> Configure Proxy to Access the Internet setting. Try testing VIPM with either "Use System Proxy Settings (Windows Only)" or "No Proxy (Direct Connection)" -- that can sometimes make a difference. PS - Your options page might look a little different, since I'm using VIPM 2020 beta. 😉
×
×
  • Create New...

Important Information

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