Jump to content

hooovahh

Moderators
  • Content Count

    3,016
  • Joined

  • Last visited

  • Days Won

    215

Everything posted by hooovahh

  1. You probably already know this, but property nodes have a larger performance hit than a local variable when just the value needs to be updated. But if you want to update it in a subVI I get why you might use property nodes. The alternative there is to use the Set Control Values by Index function. You can read the indexes of the values you want to update in an initialization step, then pass on the indexes, and values you want to update. Of course this exercise, and this topic has diminishing returns. I mean lets say I just update all UI elements, all the time, periodically. The time i
  2. I opened it in my 2018 and am missing all kinds of things, but attached is what LabVIEW came up with. In the future you might want to go to the Dark Side, because they have a subforum dedicated to this type of thing. Source 2016.zip
  3. Thanks everyone for giving suggestion and helping out other users. This is outside of my expertise and all I could give is a shrug and pass it along to Michael. It seems like this is isolated to a user, or a couple of user's setup and not a wide spread issue. If there is any real issue with LAVAG I can pass it along.
  4. I've never seen Jeremy's presentation, some neat stuff in there for sure. Since my demo (and another one here involving Notepad, Video here), I have cleaned up the VIs a bit with some basics like set Parent/Child relationship, get relationship, move and preposition, get/set menubar, resize status, and title bar, and a few other style functions. This hasn't been posted publicly but is pretty basic and pulled in from other examples on the forums. A more updated and complete Windows API could be useful.
  5. My go to site for this kind of thing was Flaticon but man this place is even better. Any idea what the licensing restrictions are? I couldn't find anything about that other than it is open source with no specifics.
  6. I don't have a solution to this but am interested in the topic. Darren also recently mentioned that this should work in 2020 for VIMs without the hacky work arounds found here.
  7. I think searching is limited to 4 characters or more. I'd also suggest Google is a better search tool than...well anything.
  8. Just an FYI Pi4 isn't officially supported by LINX yet, but several people performed some manual steps to get it working.
  9. So the Pi3 can be deployed to with Linx 3.0 as you may have found. This is an official toolkit from NI that adds the target in the project and you deploy to it like any other device, and is free. There is no front panel or UI when running on the Pi so keep that in mind. But the code can be deployed and set to run on startup so that it runs headless. There is some licensing to be aware of, specifically it can't be used on any commercial applications. NI has said that in collaboration with the LabVIEW Community Edition (free as in beer expected release in May) that the Linx toolkit is to al
  10. What is your use case that you need to turn it on and off? I suspect you already know but there is an INI key that turns it on and off but is only read on LabVIEW start.
  11. Okay I'm done guessing without actual testing in the environment. In Windows -1 on the Read From Text File, and Read From Binary File both read the whole file. I feel like there is a bug or two found in this thread.
  12. Oh yeah, just wire a -1 and you get the whole file. I always forget that.
  13. Thanks, added up through 2020. Even though it isn't actually released, lets just assume it does get released someday and that we won't need another reminder to update it until at least 2021 is out.
  14. Permissions might prevent the reading of the file. If you do a Open File maybe even set to read only then read the file you might have better luck. Also calling a system exec and reading the standard output might work as well.
  15. Neat idea editing the control itself. But that solution is only going to work if you don't mind having no control over the GIF and don't mind looping, and if you don't need to update the GIF at runtime based on an existing file. The demo I showed saved the GIF as a constant in the block diagram because it is faster, but I have some disabled diagram code that will instead read the GIF from a file. It then will play the first half of the GIF, then wait for the saving to finish (random number) then play the second half. Is there a site where simple animations like this can be used for free?
  16. I get your point of the multi menu setting isn't very quick to change. That being said I sometimes mess around with conditional outputs, and with arrays I might be concatenating, or conditionally concatenating, or indexing, or last value, or conditionally last value. And I just think cycling through all 6 possible combinations would be more annoying than a couple right clicks.
  17. You can call the non-NXG LabVIEW IDE what you'd like since NI just refers to it as "LabVIEW" but the designator I've seen most commonly used is Current Gen (CG). But maybe ODG would be better since, well some day it won't be current gen...unless NXG is always going to be coming next. Anyway I hate units too and have left them behind. I feel bad for those that do use them as it is an official real documented feature of LabVIEW, but just has too many places it doesn't work as expected. It's a feature I feel like the majority of NI and LabVIEW users have forgotten about.
  18. Over the years I've been using a portable version of Gimp for ICO file editing. In Windows 10 I've found that having 256x256, 48x48, 32,32, and 16x16 work well. I mean you can have 128x128, 96x96, and any others but it becomes a support problem having to make all those for every application.
  19. Over on reddit someone asked for suggestions on how to make a sliding UI like you might find on your phone. I thought it was a fun challenge so here is my very rough draft that could probably be turned into a QControl. And a video. At the moment you can only change the settings of booleans and of a selection like the days of the week I show. I planned on putting code for handling string and numeric value changes but probably spent too much time on this already. Android Sliding UI Demo.zip
  20. I thought this was an interesting exercise so here is my attempt. OpenG has some image tools and one of them is the ability to open a GIF, but for some reason it crapped out and died with your GIF even after resaving it to something much smaller. I did find some other GIF API over on the dark side and instead used that. Attached is a zip, extract it and run Demo Saving Button. It will show the first image. Then when you click the image it cycles through the first half of the GIF and waits for the simulated save process to complete. Once it is complete it rotates through the second half o
  21. Okay I edited the spec file to start with the following: [Package Name] Name=oglib_lvzip Version=4.2.0 Release=1 Display Name="OpenG LabVIEW ZIP Library" Then I zipped the source back up and renamed the zip to oglib_lvzip-4.2.0-1.ogp. I then installed the package and it didn't say "Upgrade" but instead said "Install". But after installing there was only one entry and the result was the upgrade was successful.
  22. Thanks, good to know. I took your 4.1.0 release (maybe it was b2?) and edited it to make a package that was considered an upgrade. I thought the changes I made were to the displayed name and version. But now that I try to do the same with the 4.2 release in this thread I can't make it work. I keep copying more stuff from the existing spec to the new one and it isn't working...I'll keep playing around and let you know if I get anything conclusive.
  23. As always, thank you very much for this continuation. Inflate/Deflate on Linux RT is important for a side project I have lately so this is awesome. I did notice that in VIPM if I open your package and already have the previous OpenG zip package installed, it doesn't do an upgrade but instead performs a new install. It appears that the internal name of the package, or versioning changed in a way that VIPM doesn't recognize it as a new version and will install it along side the last official release of OpenG which I think was 4.0. I was able to edit the OGP spec file and create a package tha
  24. The VIM Array package is a dependency, and actually included in this VIPC release. It was just easier for me as a developer than trying to remove the dependency, and easier for you guys if everything is in one file.
  25. I haven't tested everything in there on NI Linux RT but a few of them I have. The only thing that uses any thing questionable is the Circular buffer has a compression option where it zips the circular buffer before logging it to disk. I used the native LabVIEW zip API so I suspect it works on Linux RT...but I forgot to test it before posting it. Everything else is just pure G and I see no reason it wouldn't work.
×
×
  • Create New...

Important Information

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