Jump to content

Stagg54

Members
  • Posts

    130
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Stagg54

  1. I'll just stick with the self-deprecating one "yes_i_am_aware_i_am_still_an_idiot". Probably not taken.
  2. see here for how to load stuff dynamically https://www.sasworkshops.com/ppl-plugins/ That solves part of your problem. The other half is about organizing your object heirarchy. The GOF can help here. You can buy the original, but this is better. https://refactoring.guru/design-patterns/book I would envision using an interface for switch and an interface for DMM. the DMM with a switch would implement both. You would need some way to discover that or hardcode it into a config file or something. Sorry if that is a little vague, but I could envision several different ways to do it. I'd probably just sit down with LV and iterate until I found something that works. And then sit and stew and make sure I didn't miss anything. I'd still be prepared to throw away version 1 in favor of version 2 because you are sure to miss something. Good luck.
  3. I'm no Python guru, but maybe a decorator? and or maybe monkeypatching? or some combination?
  4. I'll be there. But since you are also going to GDevCon NA, we could do a LAVA BBQ there as well. Or might might I suggest a LAVA tubing event? There is a whitewater park a block from the venue.
  5. Possibly. Depends on your definition of better. They certainly had more constraints to work within and it forced them to be more efficient with things like memory usage and storage space. One could argue that makes for better code, but optimizing for those things often compromises readability. So what do you value more? and how do you define "better" software?
  6. To that I would say, someone else looking at your code is much more likely to find the holes than you are. If the holes were obvious to you, you wouldn't have put them there to begin with. We inherently understand that, that's why we do code reviews. However, often the code review is too late to really change things. What if we caught those problems while they were being written and fixed them then? What's the old saying "2 heads are better than 1"?
  7. The Joel test was good for its time, but it's 20 years old. I think it's time we reevaluate it. Number 8 is probably one of the most outdated. Remote work didn't even really exist back then. Here is a more modern take on it. https://www.sasworkshops.com/joel-3-joel-test/
  8. I have done pair programming with clients and it works quite well. Granted these were one-off sessions working to solve a very particular problem. I mostly work alone so I haven't used it in a wide spread way, but I know people that have and are successful with it. Given the fact that most corporate management is still stuck in the industrial age, it's not very widespread.
  9. Seperate projects is not that uncommon, but I second what Neil says. Innosetup works great if you are still building installers. Much nicer than the NI build-in one and the results are orders of magnitude smaller. Offers you a lot more control too. Lately I've just migrated to doing NI Packages instead of installers. They seem to work fine. Although you would still have the same problem with multiple devs working in parallel. One other often overlooked solution to the whole working in parallel problem is pair or mob programming. No need to worry branching, merging or stepping on each other's toes.
  10. Apparently it's contagious!
  11. Well NI just solved the distribution and licensing problem didn't they? No one's complaining about that any more.
  12. I think it is totally worth watching the NetFlix documentary on Boeing, much of the same sentiment.
  13. I stand corrected. If you are not going to have external, I guess you don't need a call for presentations.
  14. We only had 1 track. Maybe in the future we'll graduate to 2 or more. As far as Eric's presentation, a. we didn't have a whole lot to chose from (being our first year and generally a smaller conference due to COVID) and b. as you mentioned a prominent NI employee talking on the future of LabVIEW seemed an interesting proposition. We knew the general topic of his presentation but didn't know exactly how it was going to go. Having been there, I haven't watched the video, so I don't know how it comes off in the video, but I thought it was an alright session in person. Looking back on it with all the things that have happened since then, I can see why you might look on it with a negative light. For all the talk of listening to their customers more, they don't seem to be heeding that advice.
  15. If you don't like the presentation selection, you are welcome to submit your own ideas for this year. Deadline is April 30th so you have plenty of time. https://gdevconna.org/present/
  16. Early-bird discounted Tickets are now available! https://gdevconna.org/
  17. if they haven't put out a call for presentations yet or mentioned anything in the press or to the community by now, it ain't happening in May. The convention center probably only shows that because they probably signed a multi-year deal and just haven't officially cancelled with the convention center yet.
  18. I forget to mention it does count for 20 recertification points.
  19. If you still haven't gotten tickets to GDevCon NA, ticket sales end Oct 5 at 11:30 PM MT. https://gdevconna.org/
  20. Yes, it was still occurring w/o db browser running in parallel. It appears to happen when reading an empty view composed of other views, but I have several views composed of other views and not all of them exhibit this behavior. My work around it just to catch the error and clear, since it only seems to occur when the view is empty. to Dr Powell, I could give you the VI. It is a simple SELECT statement. The trick is the database. It's rather complicated and involved. I was unable to distill it down to a simple example.
  21. I am involved in 2 different community events coming up soon and I just wanted to get the word out. The first is an in-person conference and that is GDevCon N.A. This is following in the footsteps of the original GDevCon in Europe, except it is going to take place in Boulder CO on Oct 20,21. We have a speaker lineup with a lot of the usual suspects. You'll recognize most of them, but there are a few newcomers as well. We also have some workshops going on. You can get more information and purchase tickets at https://gdevconna.org We are also still accepting sponsorships if anyone is interested. I realize a lot of people either aren't able or are hesitant to travel to GDevCon N A. If so, you are in luck. There is virtual event coming up on Nov 15/16 and that is the GLA Summit. It sprouted up last year in response to NI cancelling the CLA Summit due to COVID. It promises some great presentations and is open to all LabVIEW and TestStand Enthusiasts. It is a fully online event that lasts for 24 hours. We are still looking for presenters. You can register or a submit a presentation at https://glasummit.org Hope to see you all at one or both of these. If you have any questions on either, post them here and I'll try to get you some answers. Sam
  22. Why does this work in the SQLite DB browser, but not in LabVIEW? And why I am getting this error, that basically should never happen? This: https://sqlite.org/rescode.html#mismatch says it should only ever happen when trying to set a rowid to something other than an integer. I'm not doing that. WTF SQL.mp4
  23. Lookup the LabVIEW Python Node for calling Python from LabVIEW. That may not meet your needs on a CRIO. Under the linux-rt the VI runs in a chroot jail and so you have to do some tricks like using SSH to call python. Google and the NI forums should have some information on that. Another option is to pass data via TCP/IP. Also there is a DAQmx driver for Python, if you want to do everything in Python. The latest CRIOs (at least some of them) support DAQmx within LabVIEW. Not sure if that support extends to Python. Hope that helps.
×
×
  • Create New...

Important Information

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