Jump to content

Neil Pate

Members
  • Posts

    1,011
  • Joined

  • Last visited

  • Days Won

    84

Everything posted by Neil Pate

  1. 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.
  2. 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?
  3. 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!
  4. Thanks! Mine has definitely wandered off.
  5. 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?
  6. 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.
  7. 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!
  8. Thanks, that is a nice project; I had not seen it. I found a C64 implementation, but this Apple II one is nicely structured.
  9. Got it, thanks. This is a bit annoying, but I can use the technique @ShaunR suggested with the mask. I am busy making some kind of weird C64 with a real 6502 but ROM and RAM (and I guess VIC-II) faked in LabVIEW, so the speed is going to be terrible!
  10. I cannot really see the pattern though. These have the anti-aliasing But this doesn't and surely has similar groups of pixels
  11. Further experimentation shows me this weird effect happens as soon as you go above 1 for the ZoomFactor. Even sticking with integer values for ZoomFactor causes it to happen as soon as ZoomFactor is > 1
  12. That looks like a pretty broken anti-aliasing algorithm then! You are right, I have the ZoomFactor cranked up to 25, but this really should not cause any kind of anti-aliasing. Anyway, I don't want the picture control to do AA, this just seems strange to me. Dropping the ZoomFactor down to 1 and then taking a screenshot (and then zooming in) shows it is actually working fine, so at some point the ZoomFactor must be screwing it up. Interesting...
  13. I am playing around with the character ROM from a Commodore 64. Extracting the contents and converting to bit arrays Say I have this bit patten, and I convert it to a U8 [][], like this Then I can display it on a Picture Control, no problems Like this So far so good... Now does anyone know why this particular pattern (and a few others) don't work correctly? As you can see in the picture I am getting some light pink leaking through (almost like some kind of anti-aliasing). It does not happen for any of the alphabetic chars, but does for a few others. Any ideas?
  14. Yeah... But now pretend it's 1963. This is clever.
  15. Today I Learned... you can convert from upper case to lower case like this! Clever design hidden in plain sight. See for yourself
  16. Also I think the Mean VI coerces the inputs to DBL. This is not always desirable. Maybe time for a native VIM?
  17. Toggl is free. They do have a paid for tier which I tried for several years, but the free tier is perfectly usable for simple things.
  18. @Lipko have you tried toggl? I used it for many years when I was a freelance to track my time. It was ok, but half the time I forgot to start and stop the timer. I suspect having something monitoring your files is also going to be pretty inaccurate.
  19. We need a NAS for Rolf and ShaunR and a few others around here. I am pretty sure we cannot replace them!
  20. Not entirely related, but I got in big trouble in my first real engineering job. The company was moving premises and we all helped pack up. I had a cupboard next to my desk filled with all these weird old cables which I happily threw out as I did not recognise any of them and just assumed they were junk. Turns out we needed them to support some old telecomms equipment from the days when everyone seemed to have their own custom cables! Cannot recall how the story ended, I think somebody did some dumpster diving and managed to find the bag! I kept my job 🙂
  21. Synology is great, I love it for my home NAS. But.... I have a strong suspicion we are all having a sensible conversation in response to a spam original post. 😂
  22. I can say without any doubt that online clothing stuff is good quality or not.
  23. This is how I include the RTE as part of an installer. Note: outside of the scope of the installer I manually unpack the relevant NI distributed RTE
  24. I would definitely not use a Swap Values here as it just makes the code confusing. Of the three I think the top is the most natural (but there is something about the inner dequeue which does not sit well with me).
  25. I just include the whole runtime and don't bother trying to cherry pick the perfect dependencies. I did try this once upon a time but could never figure out the right dependencies.
×
×
  • Create New...

Important Information

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