Jump to content

hooovahh

Moderators
  • Posts

    3,432
  • Joined

  • Last visited

  • Days Won

    289

Everything posted by hooovahh

  1. Why is this a problem? So I make a VIPC with all packages I want in it cause I have pro. I double click this file, pick my LabVIEW version, a prompt then comes up for licensing and I accept all and then it installs all the packages. If you don't have pro you can still go to File >> Open Package File(s), select all the packages, then click Add and Install Packages, and have the same process. It isn't a "one click" install but after the install starts installing the first package you can walk away and come back after all the rest are done. I also have a package for editing LabVIEW.ini functions, editing QuickDrop, adding Right-Click, adding Tools Menu items, adding Help documentation (found in the Help menu in LabVIEW), etc. One thing I haven't done yet but I bet you could do, is make a package that calls into the NIPM API and installs NI run-times or toolkits as needed. It really depends on the amount of effort you want to put into it but I bet you could automate a lot of the process. Still I don't find it takes all day to setup a machine so I'm not sure I'd go through the trouble. The NI Web Install is already pretty good where you select the NI products, and NI drivers to install at the start and then it installs them without having to prompt again. For me all that is then needed after this is to install the VIPC I mentioned earlier.
  2. Yeah this is neat and useful...how much of this black magic is built into LabVIEW and how much did you develop?
  3. Oh come on it was there in 2009...but I can't remember if there were functions or just shortcut support. In either case in that thread I linked, I provided a way of invoking it through the Tools menu since most of the good shortcuts have been taken.
  4. 2018 SP1 F3. Edit: I think I might be getting it, I didn't set the owner properly.
  5. Wait, also how do we copy these? I used the invoke node Move, with Duplicate set to True, but the object it creates has a 2px size not 0px.
  6. Oh I just thought of something that might help. Here is a splitter manager utility which helps with panes and splitters. It can be invoked with QuickDrop and then can do things like set the color, position, and sizing behavior of panes.
  7. Here is a small and borderless picture frame, along with smaller array. https://forums.ni.com/t5/LabVIEW/One-pixel-frame-for-picture-control/m-p/3716581#M1046089
  8. If Flarn does have a truly borderless cluster, then that means there is no edge to click on. A while ago AQ posted a cluster with only one pixel on the top, and one pixel on the left in size. With this cluster if you selected it by drawing the region as you suggested, then you still wouldn't be able to right click a border on the right or bottom because there wasn't one. Sorry I do not know a way to invoke the right click menu, without right clicking it.
  9. Okay so I don't fully know if this is what you are dealing with but I think this has to do with the State Diagram Editor. NI had a toolkit called the State Diagram Editor back in the 7.x era. It was a toolkit which had a graphical UI for making states and defining what made states go where. It had a single ExternalNode for assisting in the code which determined what state it should go to. It wasn't completely required but did make life easier for the most part. NI later saw the value in this type of editor and made a new toolkit the State Chart Module which had some similar functionality but wasn't quite the same. Well after years of complaining (from Ben primarily) NI decided to release the State Diagram Editor. I thought they replaced the ExternalNode with a VIM but now that I look at it that doesn't seem to be the case. You can find the State Diagram Editor on the Tools Network installed through VIPM. Then you can drop down a new state machine and edit it either in the image control (and the code will be updated) of you can edit the code and the image will be updated. Still there are a few things I don't like about it like type defing those enums causes problems and I think crashing.
  10. If you searched for a long time I assume you found the TSXperts demo here which shows using an Arduino in LabVIEW, on a Pi.
  11. Seriously Monnie? Get your act together. Let that be a lesson to us all not to be a Monnie. (I don't actually know a Monnie, and have never heard of this term before but I love it)
  12. Well in playing around with the control I crashed LabVIEW so I'd say this was something that shouldn't be messed with, but pretty neat and something I didn't know existed.
  13. Yeah something like that. The password replacement code I think is still posted online in PHP. I wrote the G equivalent and posted the read-only parts online. It has some pretty useful thing like being able to read information about a VI without VI Server. At one point I was able to figure out what objects are on the front panel and block diagram by looking at the raw VI file. Of course doing this means you don't get the satisfaction of knowing what the password was.
  14. I doubt there is any documentation beyond the help included with installing the OpenG packages. If you open the context help on any VI it should show a description of the VI and what it does and how to use it. This isn't always enough documentation on understanding how a thing works, but the source code is fully there too, so understanding it should be possible if the documentation provided isn't sufficient. The OpenG website itself went into disrepair and had spammers taking it over so OpenG discussions were moved here to LAVA.
  15. Yeah I used to have a list of the passwords I had reversed but I can't find it at the moment. I think there was something about Looking Glass , Jack Black, Jabber Wocky, Axes Of Eval, FP Rocks, and a few others that were random characters and harder to remember. I (probably like you) wrote code to go over the most common word lists for words of 5 characters or more, and for 1-4 I just brute forced all combinations, then after that used a program to reverse MD5s using your GPU. It was slow, painful and each new version of LabVIEW added more and removed some. I bet with the advent of new graphics cards this process could be made easier. There is a method in LabVIEW to add known passwords to a cache, and then not prompt if they have been entered so I thought it would be a neat VI to just run which would make looking at all NI VIs easier rather than writing code to replace and remove the passwords thereby changing the VI which I don't like. Maybe we could make that VI, and then password protect it?
  16. I've done this in the past by leveraging the PictureBox .NET component and VLC. Just have VLC installed which is the same bitness as LabVIEW. Drop a .NET PictureBox and then use some of the code found here, which calls into the VLC DLLs to open a stream and display it. Here is another example that I think works too.
  17. Yup State Machines. They aren't the solution to all things but do worlds to organizing your code and for readability. You can create one single BFC (large cluster) that is in a shift register with the things you want to read and write to like variables. Except you know where these variables are being read and written to, and you have state order to ensure one thing happens after another. Once your code gets so large that a state machine can't help you, you should learn about actor based software designs. Not necessarily NI's Actor Framework but actors in general. Independent parallel running loops that do dedicated tasks. This helps modularize your software so all the File IO stuff is handled in one place, and all your DAQ stuff is handled in another, and all your UI stuff is in another. Breaking up larger problems into smaller more manageable ones is something LabVIEW is good at.
  18. Most Brians I've met are pretty cool, but those shifty Bryans on the other hand I wouldn't be to sure about.
  19. I noticed some of your VIs were missing and showing a placeholder icon. I'm guessing as selections are made or scrolling happens, NI is constantly checking for things and the larger the VI the larger the delay, but also the more things it needs to check which are missing the longer the delay. Of course NI could optimize it and they likely have for most cases, but what you are seeing is probably an issue they didn't test for, or tested for but not in as extreme case as yours. This is all of course just a guess, but it is based on other IDE performance issues I've seen in the past relating to NI checking for what things need to be recompiled and what things don't. If you can send the VI to NI I'm sure they would appreciate it, and by extension the rest of us who happen to have to deal with that too.
  20. You're welcome to use whatever license you want, but for LabVIEW we see lots of people use BSD for the kind of "I don't really care, just have this and I'm not responsible, and leave any attributes I have in the source" kind of thing. Obviously that is oversimplifying it. Here is a thread on LAVA.
  21. It should say "with locked diagrams you can't fix the problem without potentially breaking licensing, violating IP, or violating ethics". Yes that site, along with the method of signing VIs is semi-known.
  22. I usually spend a minute or two on the look of my wire but just so it doesn't look like all the other ones. This tool could be handy in making sure they look unique. Does a randomize button make sense? Or does random patterns just look like garbage? The NI GOOP Development toolkit has a random button for wire appearance, and icon appearance. A lot of time I will click the random button until something is close to what I want, and then I'll adjust things a bit more. It might be a good idea to have something similar in this. Actually it might be even better if this were added to that toolkit...
  23. How much LabVIEW do you know? I'll admit that some of altenbach's code is using some techniques I wouldn't have thought of, but simply posting his VI and saying you are stuck gives me the impression you don't have much training. I'd recommend taking a bunch of the free LabVIEW training that is online, and then I'd recommend you start over with your own design. As for your specific question I'd say the solution is to have a conditional check (case structure) around the part of the code doing the swapping, and only perform the swap if the second click, is one move away from the first click. At the moment you aren't keeping track of what the first click is so you'll need to do that so the second click can be checked.
  24. Nope, at the moment the progress bar is an indicator only. It can be value only, which will use the web control made in javascript so the appearance will be slightly different, but there is no way at the moment to interact with it. If you understand JS better than me, then you could probably add the control functionality. As for the background image I've never had a need for that, but I can see that it might be useful. One option might be to just place a 2D picture control behind all other controls on the front panel, and load it with an image. It should default to Image Only mode, and if I did the Z order stuff properly it should work, but to be clear I never tried using that control.
  25. If you prefer the reverse I made some code here that modernizes a front panel and attempts to replace all controls with the modern equivalent which I prefer for front panels not typically seen by the user.
×
×
  • Create New...

Important Information

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