Jump to content

Neil Pate

Members
  • Posts

    1,172
  • Joined

  • Last visited

  • Days Won

    106

Everything posted by Neil Pate

  1. Sorry I did not really offer any suggestions, I am not sure how to flush an ini file (never needed to). I normally close the file immediatley after modifying the contents.
  2. I am a litle surprised LabVIEW lets you wire this together, as the reference coming out of the Open Config Data is not actually a file reference it is a queue reference. So when you try and Flush you are passing in a Queue reference not a normal File reference, so this will not work.
  3. A few years ago I have managed to get RT installed on a regular PC. It seemed to work ok and did some simple tests using the network card, but never used it for anything serious/production, more just to see what was involved. I believe that doing this might be in violation of some licensing agreement.
  4. ah ok, that explains things. No there is no LAVA discord.
  5. I only know of one general LabVIEW discord server. I am not sure what the top one in your picture is! That link works fine for me (in an incognito session)
  6. You are writing text into the spreadsheet, maybe that is why your formulas are broken. Have you tried writing numbers instead?
  7. @Zyl that link should not expire, does it not work for you? (https://discord.gg/sSMm42aYvW)
  8. Hi Dasha, we have a special channel for user groups over on the Discord. Would you be able to post it there also? Here is an invite to the Discord if you are not already a member: https://discord.gg/sSMm42aYvW
  9. I am pretty sure Rolf knows it is not any kind of criticism.
  10. @Rolf Kalbermatter I know you did not mean this, but I love it!
  11. Sure I know this pattern well, just prefer to have a single "mailbox" type event inside my actors for messages into the actor. I don't want to deal with the drama and scripting just to be able to have different typed events. My layer above the variant is all typed, so I don't really have an issue with converting variants to their real types. But of course everyone must do whatever pleases them most. I have way that works for me, my team, and the kinds of things that we build, so have no need to make it more complicated.
  12. While I appreciate dynamic languages and the flexibility they offer I think this is pretty bold blanket statement and is totally context sensative. Would you want to write a driver for your GPU with a language that does not offer strict typing?
  13. I am not against your idea of adding a bit of love to the events implementation.
  14. Not for me though, my low level messaging uses events and that is just waaaaay to much drama to have separate events for every message. I wrap it up a layer with typedefs though, just the data is transported in a variant.
  15. yup, exactly how I do it too. For me the notifier has a variant data type so (unfortunately) needs to be cast back to real data when the return value comes
  16. I can completely believe that C++ graph. It is probably not marching to oblivion, but is surely marching to some low constant value. Very few greenfield applications are started in C++ (apart from some computer games using Unreal I suppose)
  17. @hooovahh this is literally perfect 🙂 (I see my rusty memory got the roles mixed up).
  18. There is a public (but not official NI) fix for this, but I have not tested it personally. https://github.com/illuminated-g/lv-2022-apply-icons
  19. Unfortunately this is a known issue with recent versions of LabVIEW and will only be patched in 2024 I think. I will try and dig up more infomation.
  20. This sounds like the perfect candiate for that meme of Orange County Choppers where the dad and the son are yelling at each other: Son: JUST RELEASE IT ALREADY Dad: ITS NOT PERFECT Son: NOBODY WILL GET TO SEE IT OTHERWISE Dad: I DONT CARE My 1 cents into the issue. The whole spirit of modern software dev is just to hang your dirty laundry out to dry for anyone to inspect. I think this is a change for the good. @ShaunR I think you have very little chance of finding someone to maintain (I presume) some very old code , in a state they have never seen, likely with heaps of strings attached, in a super niche area of interest.
  21. Take a look here: https://github.com/VITechnologies/RemoteLabVIEWInterface It works great! It uses JSON to pack up stuff from python and send over ZeroMQ.
  22. I am definitely not an expert on this kind of stuff, but I think you would first "create" a datastructure big enough to hold your image in LabVIEW. The type does not actually matter as long as it is big enough (1 byte * width * height) and then pass that into your DLL call as the first input parameter, followed obviously by the width and height. After the DLL call the data should now have been copied into that datastructure (i.e. the wire itself will have the image on it). I get easily confused with pointers to pointers, so might have this completely wrong. Sorry I have not explained this very well. Can you attach your DLL?
  23. I think there were 182. Everything was video recorded and after editing will be posted on YouTube. Expect something in about six weeks.
  24. ok, and what have you tried so far? What would your rough python code for this look like?
×
×
  • Create New...

Important Information

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