Jump to content

Neil Pate

Members
  • Posts

    1,194
  • Joined

  • Last visited

  • Days Won

    112

Everything posted by Neil Pate

  1. Can you post your code?
  2. 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.
  3. 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!
  4. 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.
  5. 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.
  6. 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 🙂
  7. Thanks for sharing @David Boyd How did you do this?
  8. 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.
  9. 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.
  10. So according to the link it seems it does work as long as you have 2021 installed, right?
  11. @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).
  12. A bit more news on this https://www.reuters.com/markets/deals/emerson-electric-nears-deal-national-instruments-sources-2023-04-12/
  13. Sure, this is the link https://discord.gg/sSMm42aYvW
  14. Yup, that is it. Urgh....
  15. Neil, and his current team, and all the previous teams he has coached. My problem is with the lack of choice.
  16. Thanks @hooovahh. And I hate it. Changes to the editor experience should be opt-in. I cannot imagine the outrage if Visual Studio Code changed some editor setting and then did not make it configurable. To quote Poppy from Trolls ("I mean, how hard can that be"). You will know it if you have kids under 10.
  17. The forced font size change for clusters (and other thing) meant it was an immediate uninstall for me.
  18. Making a cluster a class is not going to help at all unless you also take some time to restructure your data.
  19. Weird, sorry about that. Does this work? https://discord.gg/KaXKg5Jw
  20. For now I would prefer to keep the link expiring. Here is the new one https://discord.gg/ZghDZsxZ
  21. I think you need to share some code of what you are trying to do, as this still does not really make sense to me. When you say "experimental setup" I think you mean some kind of configuration controls on the FP of a VI, but I do not see how that related to some graphs and charts unless you look at the code also.
  22. Sorry I do not follow the you. The block diagram is the code, it is not represented by a cluster that you can wire in to your json writing code.
  23. @Elbek Keskinoglu are you trying to get a textual representation of a data structure or the block diagram itself? LabVIEW does actually have a way to save a VI as some kind of XML file or something, but its a bit hidden away and I don't actually know how to make this work. Others in the forum probably will though. See here if you are curious.
  24. Thanks, this is gold! I did actually brwose to that (via ftp.ni.com which now redirects) but I did not find the `support` directory.
  25. Thank you anyway for your attempt @dadreamer, I do appreciate the effort.
×
×
  • Create New...

Important Information

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