Jump to content

Neil Pate

Members
  • Posts

    1,156
  • Joined

  • Last visited

  • Days Won

    102

Everything posted by Neil Pate

  1. 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)
  2. @hooovahh this is literally perfect ๐Ÿ™‚ (I see my rusty memory got the roles mixed up).
  3. 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
  4. 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.
  5. 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.
  6. 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.
  7. 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?
  8. I think there were 182. Everything was video recorded and after editing will be posted on YouTube. Expect something in about six weeks.
  9. ok, and what have you tried so far? What would your rough python code for this look like?
  10. @Samuel Molina most people here would absolutely love to help newcomers to the language, but few will actually do your homework for you. What have you tried so far? What are you trying to accomplish? I took a look at your VI but it does not really give any insight into what you are trying to do.
  11. WOW... I have not thought about Tucows in a veeeery long time. Good times ๐Ÿ™‚
  12. @ShaunR and @dadreamer (and @Rolf Kalbermatter) how do you know so much about low level Windows stuff? Please never leave our commuity, you are not replaceable!
  13. Can you post your code?
  14. Yup, I was going to use those (no-ip if I recall correctly) but then we needed to introduce a PC and so my problem kinda went away.
  15. OK, this is what I remember. Hardware was something like this: cRIO Ethernet switch Industrial modem (Teltonika something... you put a SIM in and connect the ethernet to the switch) Security I just had to kinda figure out. I think I got it working in the end, check out this thread: The big question mark for me was how I was going to manage the cRIO remotely as my LTE connection could not guarantee a fixed IP address, so I had no simple way to connect to the cRIO after it had been deployed in the field. Finally we decided that we would actually need a PC anyway for something else, and the cRIO would be connected to that. The plan was to remote desktop into the PC and then connect to the cRIO that way, or get the dynamic IP address of the cRIO. Or maybe the idea was to the cRIO to broadcast somewhere its IP address. The project was put on ice and never deployed to the field, so I was not able to test these assumptions. People do get stuff like this to work, so I am sure somebody had a solution for these problems. Hope this helps!
  16. Sure, I will try and remember and type up something tomorrow. Before you get your hopes too high, I got things working ok with Azure IoT hub and Power BI, but it was never productionised.
  17. In the top picture your S11/S12 is an array, which gets auto-indexed in the for loop (the little square thing at the border) which essentially iterates over the elements which allows you to read the items individually. In the bottom picture your S12/S12 is part of a cluster (think struct in other languages). You cannot iterate over this like you do in the for loop.
  18. Thanks, I did not know about this. I am not sure I will ever use it, but I like to know such a feature exists (or not). Reading that thread, I am not 100% in agreement with the comments that moving to class solves everything. Not everything needs to be a class, sometimes a plain old cluster is really ok. Even for biggish clusters. Anyway, completely separate discussion ๐Ÿ™‚
  19. Thanks for sharing @David Boyd How did you do this?
  20. I exclusively use the bundle/unbundle, unless I am not able to for example if accessing a field in a parent class. Accessors should be, in my opinion, only for when you want to get access to the data from outside the class, and even then you should really think about if this is strictly necessary. Often you can get rid of accessors by having a better designed API (methods). Lots of sets/gets is a code smell to me.
  21. Urgh, that is not good. That Express VI is one of the few I use every now and then to quickly get some DAQmx code up and running.
  22. So according to the link it seems it does work as long as you have 2021 installed, right?
  23. @Mahbod Morshediif you are new to software development then forget about things like OOP and HALs. Just start small and slowly add features. Pick a single framework (DQMH is probably a good place to start) and go slowly. OOP is not the only way to write software, and in fact I would say it generally promises far more than it delivers. The implementation in LabVIEW also comes with its share of "interesting pain points". My advice would be stick to well understood imperative concepts (i.e. just code it as you think, forget about trying to force things into an OO model).
  24. A bit more news on this https://www.reuters.com/markets/deals/emerson-electric-nears-deal-national-instruments-sources-2023-04-12/
  25. Sure, this is the link https://discord.gg/sSMm42aYvW
×
×
  • Create New...

Important Information

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