Jump to content

Neil Pate

Members
  • Posts

    1,156
  • Joined

  • Last visited

  • Days Won

    102

Everything posted by Neil Pate

  1. Yikes! That is a weird bug indeed and would have been quite hard to find. Thanks for letting us know 🙂
  2. I did use the Web VIs to make a data dashboard several years ago. Pretty simple stuff, retrieval of data from a LabVIEW implemented WebService, and a bit of data wrangling and graphing. All in all the experience was awful and I wish to never go through the pain again. Doing anything in the editor was tedious and frustrating, and the built in web server stopped working many times during development (for no reasons that I could tell). Eventually I hosted it with IIS and it worked pretty much first time and then perfectly afterwards. Definitely cannot recommend it for anything other than trivial webpages.
  3. Thanks hooovahh. Now I am even more depressed. As a LV dev that list makes for pretty sad reading in 2022.
  4. In the case of a circular buffer your "get data" method would deal with the wrap around so would return to the caller data in time order (otherwise what would be the point). This is a nice use case for a class as you don't really want to expose the implementation to the calling code. I have something like this
  5. ok ok I take it all back. Seems like a Windows thing. Copying this from Notepad++ to Notepad results in this which if I then copy back to Notepad++ I get this I guess some applications sanitise the string before sending to the windows API.
  6. I don't think so as I can copy and paste with null chars just fine using notepad to notepad++
  7. Nope. If I start with this same string in notepad or some other application it copies and pastes correctly. For example notepad to notepad++ works correctly. I classify this as a bug. The string in LabVIEW includes all the characters, it should copy them correctly. I don't think this is a limitation of the windows API
  8. Yes I know. But this is LabVIEW which does not have null terminated strings. That is what makes this strange.
  9. Nice spot. It is a perfectly valid character though.
  10. Anyone want to guess what happens if you try and copy and paste the contents of this string to some other application like Notepad? String Copy Weirdness.vi
  11. Yeah sorry I did not mean to derail things. That sounds really cool and the more VIMs we get into the community the better.
  12. Total thread derailment... Hands up who remembers the great error cluster colour change. Was it 2005?
  13. I now lump Network Streams in the same category as Network Shared Variables; generally more trouble than the benefit they offer for the various reasons captured above. I now prefer to do this kind of thing "manually" using the low level TCP/IP prims.
  14. Thank you, I did find the service request I opened. Turns out I was mistaken and it never got escalated to a CAR. Sorry @joerghampel For what it is worth, on a different PC I have not seen the same problem, so I think it might just be down to a bad install of LabVIEW. Super annoying though!
  15. Would love to, but I cannot find it in my email 😞 Do you know if my CARs are listed somewhere on my ni.com profile?
  16. @X___good luck. I had exactly this problem when joining my new company. I went around the houses over and over with NI, most of the support staff had no idea what was going on. I am not sure it was ever resolved. In the end I managed to get through to a human via email and they were able to help me with my technical question.
  17. I think an important point has been missed in this discussion. The fact that the solvent name and density make up a "collection" of information (i.e. a data type). @Mahbod Morshedi if you don't already know about them go an read up about Clusters in LabVIEW. They allow you to make custom data types where you can group together related elements. Maybe even a Set would be an interesting implementation here where you can look up the density by using the name of the product. Don't be tempted to grab into your GUI to get at your data (i.e. reading from a combo box to get the density). Rather store the data somewhere else (on a wire) and just access it as you need to.
  18. Disclaimer: this is some time ago so my memory is pretty foggy! I had some very strange crashes on bunch of cRIOs in a lab. Eventually after much trouble I diagnosed the problem as being related to setting the system time! I had a routine that tried to sync all the cRIO clocks and every now and then the call to the System Configuration VIs would hard crash a system. I never actually saw it happen with my own eyes but I have enough evidence to be able to blame it on that. I cannot recall exactly how I solved the problem in the end, I suspect I slowed down the rate at which the clocks were set. As I said, this was a long time ago though and the cRIOs were probably not running RT-linux. You mentioned you have a GPS module, so maybe just maybe this is related?
  19. After getting burned by the system with the USB cameras I switched over to GigE and never looked back. Multiple USB cameras running at full frame-rate is a recipe for disaster!
  20. Thanks! Mine has definitely wandered off.
  21. Am I losing my mind? I cannot find the VI Server property to change the visibility of the Toolbar. I know I can do this in the build spec, but I want to be able to force this off in an executable. I am being dumb, and it's obvious, right?
  22. Sorry @FixedWire, I took a look at my old code and indeed I have LabVIEW code to read a hex file, not to generate it.
  23. I have done something like this years ago. I will see if I can dust off what I have. My memory could be totally faulty though!
  24. Thanks, that is a nice project; I had not seen it. I found a C64 implementation, but this Apple II one is nicely structured.
×
×
  • Create New...

Important Information

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