Jump to content

Neil Pate

Members
  • Posts

    1,156
  • Joined

  • Last visited

  • Days Won

    102

Everything posted by Neil Pate

  1. @mads Awesome, it works! Thank you for your suggestion. I did not realise TLS could be done "simply", I was messing around with certificates and stuff and getting nowhere!
  2. Thanks, I did actually search but did not press enter and just bailed when the Keywords list was empty!
  3. Yes I am more than happy to pay for a commercial toolkit, but I did try this out also and it did not connect either. I will get in touch with them I think 🙂
  4. Wow, 2020 could really do with an example of how to use TLS!
  5. Thank Francois. I believe Azure does support 3.1 but I cannot recall where I saw this info. I think the problem is the missing TLS which I am now digging into. Now I am down a rabbit hole of security concepts and terminology that I have only ever had a passing interest in. TLS, X.509, primary thumbprints 🤯
  6. Thanks, I am actually already about half-way through the 2020 installation so I can check out the TLS stuff. That library you mentioned is what I am using, I did try modifying all the settings that seem sensible (for example Azure IoT hub uses port 8883) but it still does not work. Actually the connect seems to work, and the publish does not give any errors but no data appears in my hub. I am still very much a newbie in Azure IoT so there is a lot to learn for me.
  7. Hi, I am trying to send a simple message to an Azure IoT hub. I am pretty new to all this, but have followed a few tutorials and Pluralsight courses and can successfully send a message from VS Code to my hub. What I have not been able to do yet is send a message using LabVIEW. I have tried several different MQTT libraries, without any success. Has anyone done this kind of thing before and can offer guidance on which toolkit they used? I am using VSCode to generate the SAS token and using that as the password. Edit: I have been able to send some messages using simple C# code, this code works fine.
  8. The whole IDE is unacceptably sluggish. Doing any kind of block diagram create/remove space feels terrible. Everything just takes a few hundred ms to a second longer than it ought to. Tearing out tabs into new windows feels so heavy. When I start NXG now from fresh I get a total system freeze where I cannot even interact with the OS for about 30 s. It does not happen on subsequent openings but is still quite disconcerting.
  9. You guys lost me days ago, but I love reading this. Please continue to share 🙂
  10. Yes James, I had one with Jeff and one of the dev team from India last week. We had a nice candid chat. He clarified the position that NXG is not really intended for advanced users at this stage. One of the problems is that NI is now such a vast organisation and everyone is clawing their way up the corporate food chain so there is no real consistency. The issues with the software is always because of the other guy who was in the position previously (my words, not Jeffs). Rinse repeat and now we are 8 years in with a GUI that looked dated three years ago and a UX paradigm that should never have made it out of wireframe design. Sad times indeed. The juggernaut that is NXG cannot be stopped or even steered at this point it would seem. Almost every single person who has used NXG has said how ugly and drab it looks, but because this goes against NI's "data" our opinions will be ignored. I will revisit it next year...
  11. The double semicolons will result in empty array elements in those locations.
  12. Holy guacamole! When did this make it into vanilla LabVIEW? I have been using the OpenG one for so long now... it is present in 2019 and not in 2015.. I noticed its opposite number is also now in, nice 🙂
  13. Thanks, I cannot believe I did not see the Data Entry Limits as part of the slider properties! For some reason the DigDisps[] property caught my attention and I thought this was the right place to go poking around. This works (as expected!).
  14. Thanks Jeff, I have sent the calendly link (but I could not find the bit where we pick the Option 1 or Option 2, sorry! I would like to chat about how I use LabVIEW today).
  15. I am struggling with something I would have assumed is trivial. All I want to do is to be able to programatically set the range of a slider (and also its digital display. I had assumed the digital display would take the same range as the slider but apparently they are separate items.) Anyway, a simple example is shown here and does not work, the Error 1192 comes from the second property node. The first property node correctly sets the slider range. I guess I am being stupid here, can anyone suggest what is wrong with my code? Temperature Slider.vi
  16. None of the NI devs come here, this is LAVA after all. (/ducks)
  17. Everyone is in for a wild ride with NXG. For extra programming efficiency, speed and consistency the data has shown it is actually better to have two totally different context menus that appear at the same time. Even better, some have pictures, some have text. Take that brain training! Really looking forward to NXG6.0, we might have 3 different menus!
  18. It's a real shame that more of this stuff is not open to viewing. I often wonder how something is done and try to peek inside the VI. Often it is just a bunch of CLN calls which is fine, I poke around to see what other functions are exported in the DLL but that is about it., I get bored after a short while and have bills to pay so have to move onto real work. We know if screw with undocumented stuff it will break. No API is perfect, but at least let us see!
  19. The more I think about hooovahh's idea the more I like it. Maybe I am thinking about this all wrong and should just embrace the dynamic IP address issue. As long as my cRIO can talk to my cloud then it can store its own IP address somewhere in there. Is this how the IoT hubs work? Like azure IoT?
  20. Thanks everyone for the into. This sounds like the kind of thing that is easy to screw up and I cannot really afford that. I have got one chance to get my system right, it will be deployed far far away. Does anyone have any recommendations for companies that offer this kind of advice as a (paid for) consultancy? I can do all the LabVIEW development myself but I need good solid advice on choice of hardware and basically IoT related stuff like MQQT and pros and cons of the different IoT platform cloud vendors.
  21. Wow that answer is incredible, so much to digest. Thank you so much for your insight, I clearly have a huge amount to wrap my head around.
  22. Hi all, I wonder if anyone can share some advice for me. I am working on a new project that is the pretty standard cRIO + Windows PC combination. The network topology is not super complicated and I have tried to diagram it. The use case I am trying to solve is this: How can I connect to the cRIO and the Windows PC from my dev PC which is connected via the internet and a mobile phone network? Phrased another way, how do I assign static, internet facing IP addresses to the cRIO and Windows PC? In my diagram all the IP addresses are totally made up, but are just to prove a point. If the cRIO is on 192.168.1.100 and the Windows PC is 192.168.1.200. As I understand I have to somehow get a static IP address from my mobile phone vendor (say the 136.154.2.75) and then modify the port forwarding on the Mobile Router so that traffic goes to the right place. What if I had two cRIOs, how would I address them independently? Sorry, these are probably quite basic networking questions. Given the proliferation of IoT and remote monitoring devices I would assume these kinds of things are commonly solved. Does anyone have any advice or info?
  23. Neil Pate

    HP48

    I also use the Android emulator, but normally for nothing more complicated than multiplication 🙄 (tragically this is the life of a 40 year old engineer...) I still love RPN though ,even if it is just for addition and multiplication! My wife actually has the next one up, I think it is the HP49G. It has the rubber keys and is terrible! I love the solid clicky hinged keys on mine. One of the most terrifying moments of my life was when I was taking a leak before an exam in 4th year EE and I dropped my calculator which bounced off the concrete floor. I had to finish my pee, then slowly unzip the fabric case and inspect the big LCD screen which I was convinced must have been shattered. Thankfully it survived!
  24. Neil Pate

    HP48

    Anybody remember how to use one of these? About 23 years ago I was pretty handy with mine, and today I could not even figure out how to convert degrees to radians! Has there been a better RPN compatible calculator since then?
  25. @Thoric I have seen similar behaviour before. There are two scenarios I have seen. 1. It turned out that some code I had naughtily left in a diagram disable structure was "out of date". If I recall it was a class method that was broken or perhaps the class had "stale" data in its history. Resetting the class mutation history sometimes fixed this. 2. Are you sure you don't have any broken methods (like perhaps a test or prototype VI in a class somewhere that you never got around to updating) in the project? This kind of error is hard to track down as everything will run fine in LabVIEW. It might be quicker to roll back to when it last worked and then look at your next commit to see what changed.
×
×
  • Create New...

Important Information

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