Jump to content

Stagg54

Members
  • Posts

    111
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Stagg54

  1. 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.
  2. 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
  3. 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
  4. 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.
  5. Project Euler is good. So is Advent of Code. You can also check out any of the code katas. There's a ton out there. Also there is a book called "Automate The Boring Stuff With Python." It is in Python, but the projects are very practical. They could almost all easily be translated into LabVIEW.
  6. Any list we put together is probably still going to have false positives. All we can really hope for is to flag things for further review. It could point out some problems. For instance, a math library that is using TCP/IP is probably an instant red flag. Also any list if we make it public, will just result in a cat and mouse game, because people who are determined will find ways around it. All we are really doing is just making it harder and picking off the low hanging fruit. That is all cyber security in general is doing. A determined and skilled attacker with sufficient resources will always find a way in. Another thing we do need to add as you mentioned is some sort of publisher verification.
  7. So we had a discussion during Virtual Coffee about malicious packages and vetting. How do we verify that code is not malicious? What might flag something as malicious? We can use VI analyzer to check for certain things such as: PW protected VIs Removed BDs Call Library Node .NET nodes Network nodes (TCP, UDP, etc) File I/O nodes Shell commands Run on open Subvis with no icon or hidden under other objects What should we add to that list? Also we need to be careful with the fact that people can use #vian_ignore to ignore specific tests, so maybe we need to add some randomness to naming tests to avoid that. We will also need A system for revoking or removing packages A way of notifying users if a malicious package is found. Flagging packages that depend on malicious packages Any thoughts from the community about security and package management/distribution?
  8. unfortunately I had inherited a giant project. The main VI had a 17 frame deep stacked sequence structure. Frame 17 was the main logic but it needed 16 frames to initialize all the global variables in the correct order. It was written in LabVIEW 5 and upgraded to 6.1 with no SCC. It was my introduction to all things LabVIEW. It was a fun project.
  9. also why did they take the bite out of the upper left corner of the N? It looks weird. Maybe just to help differentiate from the garbage company?
  10. It could use a dose of any kinda color over that boring dull gray.
  11. You must have missed out on the joy of insane objects. https://labviewwiki.org/wiki/Insane_Objects
  12. For all the complaints I have about NXG, that decision I do agree with.
  13. One Word: Scripting Until we have scripting how do they expect anyone to be productive. It's like going back to the dark ages.
  14. We are still looking for more presentations. If you have something please submit it thanks.
  15. As a package creator I would like to be able to see how many people have downloaded my package.
  16. As a package consumer I would like to be able to subscribe to packages so that I get notified when a new version is available.
  17. As a company that uses LabVIEW and has it's own existing internal repository for reuse code, I would like a way for my developers to discover packages in G Central and in our private reuse repository, all from a single portal.
  18. As a community member and package consumer I want to support your efforts.
  19. As some of you may know, we have in the past had an annual CLD Conference in Denver, sponsored by NI. This year it got cancelled and we have been discussing alternatives. After seeing the success of GDevCon, I'm considering bringing something similar to Denver in the next year or so. I'm trying to gauge interest and start some planning. If you could take the time to fill out a short survey, I would greatly appreciate it. https://goo.gl/forms/miafw207AeRAvUxZ2 Sam
  20. Posting your scripting code, so we can exactly what you are trying to do would be helpful. What you are trying to do should be possible. Not sure if there are some limitations way back in 2012. One thing to check would be: Do you save the class before trying to add it to your project? Edited to add: Since the connection between a member vi and a library is a 2 way connection, make sure you save both. I belive a Save All This Library.vi should handle that (it's in the hidden gems pallette if you have it installed, if not its buried somewhere in vi lib).
  21. oh and if your tools need to know what directory things are checked out into, you can always add it to the tools menu. Make them invoke it with the project open and then can pull the items you need out of the project or just use the current project path and compute everything relative to that.
  22. If you do this for external dependencies and everything internal to the project uses a relative path, then your coworkers should be able to check it out to whatever directory they want and not have any issues.
×
×
  • Create New...

Important Information

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