Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,181
  • Joined

  • Last visited

  • Days Won

    95

Everything posted by Michael Aivaliotis

  1. Yes, empty string is invalid JSON, but so could be malformed text, which is more serious than an empty string which could imply reading a non-existent JSON item. How should I handle reading JSON files where data elements are missing? I like having the default data input so if an item is missing, it returns the default, of course. But now I have to write special code for every node. What is the best practice when using this toolkit for this use-case? I guess I could create custom wrappers. But I wanted to avoid the extra work for something that's common. Am I using it wrong?
  2. is it possible to improve the error handling for empty strings? Perhaps have a special error code I can filter on if an empty string is detected?
  3. I dunno what happened! Who did this?!... Just kidding. It was me (i'm the Admin, BTW). Ya a new-fangled gamification ranking system is in place and I haven't had the time to re-configure the defaults. That photo with those all those medals made me LOL. 😀
  4. The LabVIEW 2021 video is available as a recording already. https://connect.ni.com/media/What's New in LabVIEW 2021/1_rdnutigi Super, minor "features". Grasping at straws here.
  5. What did you guys think of the new features announced for LabVIEW 2021 at NIConnect today?
  6. I wanted to get some input from the group on how others have implemented "undo" in their LabVIEW applications. Of course this will vary depending on what the application does. However, i wonder if there are any design patterns out there that I could model after.
  7. I use a third-party MSI builder and not the built-in NI installer builder. I want to include the latest MSI LabVIEW runtime installer. I looked through: C:\ProgramData\National Instruments\MDF\ProductCache but couldn't definitely determine the correct files to use. I used the NI installer builder as a guide to determine the dependancies. I know the LabVIEW runtime is also available as an nipkg file. is that the better way to go? If someone can suggest any other solution that would help, I appreciate it.
  8. No, they always pull in your NI account profile. It's not a big deal though.
  9. It seems they might have outsourced the organizing of this to a third party. You have to create a brand new account to register.
  10. I googled Ni Connect and got this: https://ni-connect.net What am I missing?
  11. Yes, this user has already been banned. It seems to be an isolated incident of messages sent through the forums personal message system. If you have notifications on for PMs it will email the message to you.
  12. I'm investigating a project that requires LabVIEW communication with a Beckhoff controller. If there's someone that has time to work with me on this project and has the experience please send me a Personal Message. - Thank You.
  13. Members. I am investigating a recent report from some that they're receiving spam emails from this server. If you have received this type of email, please forward the entire email to support@lavag.org Thanks.
  14. I agree. I can't see this as anything other than a complete PR disaster for them. I don't have any confidence they know what they're doing. It's gonna take a couple years for the dust to settle.
  15. So this was posted on the NI forums: https://forums.ni.com/t5/LabVIEW/Our-Commitment-to-LabVIEW-as-we-Expand-our-Software-Portfolio/td-p/4101878?profile.language=en
  16. I use Parallels. Have been using it for years. They have a one-time price point and also a subscription model. It's the best in my opinion. I use it for professional work. If you are a hobbyist or don't want to spend money, then go for Virtual Box. I've heard some people use it just fine. It's free so you can just try it.
  17. Running LabVIEW 2019f3 I found a potential bug and need your help to determine if it's real or not. Quick search didn't come up anyone reporting it. I have 3 classes. Class1 contains Class2. Class2 contains Class3. Now, if I try to drop Class1 into the private data of Class3, LabVIEW will report an error and prevent this action. Mainly because you will have recursion, which is not allowed. This is all fine and expected. Even if Class1 is inside a cluster or a DVR or any other "wrapper", LabVIEW detects this as recursion and reports an error (broken VI). However, I am able to "break" this check if I put Class1 as the data of a Map. It seems like LabVIEW cannot detect the recursion, in this case. I don't think this is intended behavior. Even though the VI does not break. I notice some bad behavior. Application builder hangs or terminates halfway through. Also the app takes forever to startup and run in source code (probably due to compiler churn?). I did not try to do this intentionally. It was on accident, and was curious why it even worked. After I noticed the application build issues, i backtracked to the latest changes and guessed this was the issue. I haven't changed my code yet, but thought I'd post here first. If this is normal behavior then I should look elsewhere for my build issues. Edit: So I played around a bit more with this. I don't need to be elaborate and use 3 Classes. You can just drop a Class inside the Map data and then drop the Map inside the Class itself and LabVIEW will not complain. This even works with Sets.
  18. I flipped a switch. Let me know if anything changes.
×
×
  • Create New...

Important Information

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