Jump to content

vugie

Members
  • Posts

    393
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by vugie

  1. Jim, you saved me at least 2 hours today Thank you.
  2. It is possible to lower this lag down to 10 ms (if memory serves) by writing passwords directly to password cache (there are privete methods for this).
  3. I would change the title of this topic to "2 executables, 2 computers, 1 call to rule them all"
  4. I didn't save it, but it's pretty simple: Get subset of data starting with many zeros (it is black line) - I had to remove one or two starting zeros to get straight image. Now for 1024 times (32*32) scan for 3 integers and join them with "RGB to Color.vi". You'll get 1024 long U32 array. Reshape it to 32x32 and draw as unflatten pixmap. But this image doesn't look like icon - it hasn't a border. I think that icon is coded within NI.Lib.Icon tag - there is no NI_IconEditor tag in classes I made in 8.2
  5. By taking a subset of this data and reading it as RGB data I got following picture: There is also NI.Lib.Icon tag, but after unescaping its content its size is only 727 bytes and plain text coded. I have no idea how it may be coded.
  6. The name is editable in the listbox. Just like changing file names in Explorer - click on the new style to select it and after a while click again and the name becomes highlighted to edit (as opposed to item selection highlighting). I agree, it is not too intuitive... Any idea how it should look like?
  7. vugie

    Wired wires

    OK, I picked up some gloves thrown in this topic and here is Weird Wires RCF Edition: And little video. Rounding corners was quite challenging... This is for you, Jim License for this code is DWYL (do whatever you like). Weird Wires RCF Plugin.zip
  8. Please save in 8.2 - I'll try to check it out. Suggestion: swap geometries, not objects.
  9. Name: Label Manager Submitter: vugie Submitted: 05 Dec 2009 File Updated: 23 Dec 2010 Category: JKI Right-Click Framework Plugins Version: 1.0.0 LabVIEW Version: 8.2 License Type: BSD (Most common) Label Manager (RCF Plugin) Copyright © 2009, Wojciech Golebiowski All rights reserved. Author: Wojciech Golebiowski (w_golebiowski (at) tlen.pl) Name: Label Manager Type: Right Click Framework Plugin LabVIEW version: 8.2.1 Description: Label Manager is Right-Click-Framework plugin for quick and ergonomic management of text labels styles. Styles are defined as text properties combined with alignment against label owning objects. They may be applied to any text label at block diagram or front panel, also with multiple selection. Once style is set to the label, the assignment is being remembered and may be updated on any change. Installation Preferably install VIP package with VI Package Manager Alternatively you may download ZIP and extract Label Manager folder to <LabVIEW Folder>\resource\JKI\RCF\Plugins\ and restart RCF Dependencies: OpenG Variant Config JKI State Machine Functionality - Generate label style from selection (retrieves both text attributes and alignment to label owning object if any) - Apply any style to currently selected text labels (also finding labels belonging to selected objects and showing up hidden labels) - Labels remember their style - when any of text attributes or label relative position has changed, original style may be recovered with single click (even after closing VI and opening it again). This association may be also removed. - Works for both Block Diagram and Front Panel labels - Graphically manage label styles Not-so-short video Support: If you have any problems with this code or want to suggest features: http://lavag.org/ind...showtopic=11583 Version History: 1.0.0: Initial release of the code. License (BSD): Copyright © 2009 Wojciech Golebiowski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Click here to download this file
  10. 1,294 downloads

    Label Manager (RCF Plugin) Copyright © 2009, Wojciech Golebiowski All rights reserved. Author: Wojciech Golebiowski (w_golebiowski (at) tlen.pl) Name: Label Manager Type: Right Click Framework Plugin LabVIEW version: 8.2.1 Description: Label Manager is Right-Click-Framework plugin for quick and ergonomic management of text labels styles. Styles are defined as text properties combined with alignment against label owning objects. They may be applied to any text label at block diagram or front panel, also with multiple selection. Once style is set to the label, the assignment is being remembered and may be updated on any change. Installation Preferably install VIP package with VI Package Manager Alternatively you may download ZIP and extract Label Manager folder to <LabVIEW Folder>\resource\JKI\RCF\Plugins\ and restart RCF Dependencies: OpenG Variant Config JKI State Machine Functionality - Generate label style from selection (retrieves both text attributes and alignment to label owning object if any) - Apply any style to currently selected text labels (also finding labels belonging to selected objects and showing up hidden labels) - Labels remember their style - when any of text attributes or label relative position has changed, original style may be recovered with single click (even after closing VI and opening it again). This association may be also removed. - Works for both Block Diagram and Front Panel labels - Graphically manage label styles Not-so-short video Support: If you have any problems with this code or want to suggest features: http://lavag.org/ind...showtopic=11583 Version History: 1.0.0: Initial release of the code. License (BSD): Copyright © 2009 Wojciech Golebiowski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  11. Those kids who are going to browse RCF plugin code, most probably already know this token.
  12. Here is small utility VI to create system button with a given image. François, you have my blessing to include it in your UI Tools and modify as you like (particularly to include hover states) Create Button with Image.vi
  13. Ok, I made it with even simpler way and withouth the limitation of size: Respective VIs are located in: <LV_DIR>\resource\plugins\NewDialogFiles\ProjectWizards\IDNPA\CloneIDProject\dependencies\ResManager In this case I'm searching only for PNG's header (well, part of). If there are more PNGs within control you have to search for something more specific. Rolf, thanks for inspiration... buttontest2.zip
  14. Cross-post I found the way how to change image on boolean button without using control editor. Essentially you have to to manually insert a png as button image and then replace it with another png programmatically inside .ctl file. The only condition is that initial png file has to have greater filesize than new one. If you want to make a lot of buttons just create first one using biggest PNG (by file size not dimensions). Technically it should be possible to replace any image inside a control with this method. As .ctl file looks exactly like macintosh resource fork, it should be also possible to omit the limitation of smaller size, by updating respective offsets within a file, however I failed with first trials (not many). Example attached - LV8.2 buttontest.zip
  15. You may also pass substates as parameters: "State Name >> SubState Name"
  16. When browsing Code Repository, if an entry has a user rating (by number of stars in upper right corner) all of the stars appear grayed until you move mouse over them. Initially the only thing indicating that an entry has user rating is number of votes, but as all stars are initially gray one may think that it is a number of 0-stars votes. BTW it would be good if the stars are shown also at category level (in table). Firefox 2.0
  17. There is a lot of fun with shape memory (i.e. Nitinol) wires. You can make a knot on a wire, put it into hot water and wire becomes straight again. And I confirm that magnets are kind of magic: at my daughter's birthday party I filled very tall bottle with water, put some coins (I had to select them before) inside and gave children neodymium magnets. Getting the coins out using magnets attracted them for half an hour!
  18. Cat, are you able to access http://www.gametheory.net/?
  19. Check out Critterding project for artificial evolution...
  20. You may use common intensity graph but for the pixels outside circle (using circle equation) set value from outside your measurements range and on the color ramp set a different color for that value (gray for example). You'll also have to manually draw color ramp, not to show that color.
  21. I don't want to split a hair, but just to mention that as these methods require to load whole file to memory they'll work well for files not exceeding let's say 100-200 MB.
  22. Congratulations and best wishes! As an instance of child class she'll sooner or later call your "Decrease Sleeping Time" method... Up to now (my daugthers are 2 and 5) I haven't found another access method to my own Sleeping Time property - I just get used not to sleep
×
×
  • Create New...

Important Information

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