Jump to content

Mike Ashe

Members
  • Posts

    1,626
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Mike Ashe

  1. I think the basics of what you are asking for can be done, as a one way operation. Several of the peices required are available here on the forums. Not the whole enchilada, but the meat is here, the tortillas there. Here are a couple of starting points: Self-reproducing Code This shows copying code from one VI (in this case itself, beware of this, it can be dangerous to your computer's health) into another VI. Tunnel Wiring Wizard (unlocked versions) This one shows getting references to various objects and then wiring inbetween them Set Alternating Diagram Colors This little gem by our Founding Forum Father (The FFF) uses recursion to traverse through every structure and get a reference to every object on a block diagram. With minor modifications you can use this as the framework to search through your target VI looking for your inline constants, etc, and use the techniques in the other stuff above to do the replacement part of your problem. If you do this, it would be interesting to me and I think to the group, to see you post an example and some benchmarks showing what some of your performance results were.
  2. Speaking of button groups and the libraries, I think I might have an update to those soon and some additions. I also thought I owed you a version that had the icons done properly. The current set, I thought, still have the generic LV icons for ctrls, which are not very aesthetically pleasing.
  3. I don't do accounting, I'm an engineer, not a suit ... Thrown out of the forums? Of course not! Thrown out of the Lounge, perhaps ...* Still, after you buy a round for the rest of us I'm sure we could come up with an appropriate substitute torture... Perhaps being forced to watch reruns of the Brady Bunch with headphones trilling Partridge Family songs in the background... *pun intended :beer:
  4. Maybe that's why they have a genre called "space opera" (E.E. "Doc" Smith, David Brin, etc) although RAH tended to write more character driven & harder SF. Part of the reason some of the LL novels after "Time Enough For Love" seemed to wander is because the author's head was wandering and I mean that with no disrespect. He was suffering from a lack of oxygen to the brain caused by blockage of an artery. Once this was properly diagnosed he was saved by an operation that included an ultrasound imaging technique that took it's roots, appropriately enough, from NASA's spaceship inspection program. So one might argue that the space program stories he wrote about and championed and which were eagerly soaked up by future NASA engineers, eventually saved his own life. Talk about casting your bread upon the waters ...
  5. I assume the flats above are from the package I sent. I hope the intension is to also include the button groups from that library. I find it really useful to put them down in clusters.
  6. I am pretty sure George Zou's G Toolbox has functions in it for setting a bitmap as the background of a Window (any window, not just a VI) and uses Windows system calls to do it. I got it once upon a time for the system tray functions and found it very reasonably priced. If you were desperate for the skin's function for free I think it would be fairly simple to look up the functions and do it with DLL calls to the system.
  7. It would be nice for reporting and documentation to have programmatic access to the FIND Dialog and it's output. I know we can do some of this using scripting, but until NI opens the 8.x+ goodie bag we are stuck with 7.x and kludgy porting up to 8. 1. Create report of locations of item X 2. Boolean searches of items near each other 3. Reporting of LV and DLL calls to cross reference with doc's on the C code in external libraries 4. Various other searches 5. Saving of these in text files, spreadsheets when modifying older code
  8. Hmm, I never knew which part of the world the term dinkum came from. I had read the term years ago in the novel "The Moon Is A Harsh Mistress" by Heinlein (one of the best scifi novels of all time in my opinion.) After looking through the Aussie wiki page I see a lot of other terms from the novel. For some reason I always thought RAH was portraying his protagonist as being of russian descent, but I now suspect he wrote this after a cruise to the land of Oz. Another of life's little dangling threads cleared up.
  9. Hi jdebuhr, Welcome to LAVA. I must say that it surprises me that someone who has been using LabVIEW as long as you have would just now learn about LAVA. I hope you get a lot out of it and that we can all benefit from your dozen or so years of experience. The SNR around here is usually pretty good, although we also have our share of fun and off topic follies. Cheers
  10. Is it just an American Urban Legend or is/was there an Aussie saying that, "I'm so thirsty I'd drink water..." ?
  11. Never thought I'd hear or read such an admission from any Aussie
  12. Depending on the speed you need you might consider using Queues, with or without semaphores.
  13. I agree that this would be a good idea, but what a chunk of work it would be. The only way I can think of to get it done would be to get a corporate sponsor or a grant from the gov or someplace.
  14. Since when? If you want to run a VI that isn't wired on the diagram of your VI you have to use one of the two VI Server methods to do it, either a "Call By Reference" node (strict typedef) or use the "RunVI" method (not strict). Actually, there is yet another method for some VIs, call LabVIEW using a system exec call and give it the path of the VI in the command line, but that is a hack and you can't get output data.
  15. For the higher numbers (just some of them, not all, yeech) couldn't we use scripting to make a sparse ring with just a hundred or so at a range? I'm not at a LV 8 machine right now or I'd try something.
  16. JdP, you're welcome. Yes, the .NET - WMI method works. Thanks for posting the VI you have, however, if you got this off of NI's site you may not be able to post it hear, depending on the license. Please check the applicable license or Terms Of Use agreement for where you got it from. It is permissible to post a link to the topic at NI's forums and that is the prefered method. If you did this VI yourself, kudo's. The only problem with the .NET method is the needed installation of the .NET framework, whereas the kernel32 call is simple and works as is. YMMV
  17. Look at some of the build and sort array examples in \examples\general folders, like the arrays.llb There is a simple ex: Separate Array Values.vi that you could modify by subindexing the array using the loop counters. You'd probably have to drag one more layer of loop around the example code, but this should get you started. If you get stuck, post your modified version of the VI along with your caller (or a subset saved as a scratchpad VI) and we'll see what we can do.
  18. You would be well advised to use the SMTP examples as crelf suggests. However, if you really want to use OutLook (not advised, Thunderbird ... well, lets not get into religious discussions...) you will have to educate yourself on the object models used by MS Office and Outlook. For a good simple example of this type of stuff look in the ..\LabVIEW x.x\Examples\Comm folder for the files in ExcellExamples.llb or smtpex.llb ActiveX Automation You cannot just use systemexec and throw a filename at OutLook, you'll have to get an application reference to OutLook, then create all the various objects, subitems, etc like a document, recipient, attachment(s), etc Once you have all this stuff created you have to assemble it properly and then run the OutLook method to send it. Since the coffee is pretty good this morning I've attached a scratchpad VI with a few of the object refs, methods and properties. This is by no means complete and isn't even wired up. Just loose tinker toys for you to play with. If you really want to do this, go knock yourself out, but I'm guessing you get bored or frustrated and go back to the built in email VIs/examples pretty quick. If not, be sure to post up here what you come up with for the benefit of others who will (then) have less experience than yourself. Download File:post-45-1149875032.vi Don't say we didn't warn you PS: Dispite the discouragement from "experts" like crelf and myself, please note my signoff block and take it to heart, I wouldn't mind seeing someone with lots of time and energy and determination grind through this problem, with OutLook and/or Thunderbird. If you actually finish this we'd be happy to doff our hats and hoist a foamy or two in your honor.
  19. Thanks for the Wiki page, this is better than learning how to cuss people out in front of them in Klingon ... Maybe we should have a Shiner Bock meeting at NI week sometime where only Aussie is allowed and if you flub a phrase you have the appropriate penalty ;-)
  20. Nice little technique. Thanks for posting this. Too bad we have to keep doing the 7.1 <-> 8.x switching. Hmm, gives me some ideas of things to test ...
  21. The Plot Point style numbers are mapped to the styles on the shortcut popup for point style. There are 17 total, one in the top line then a 4x4 grid. The numbers are from from top-left to bottom-right.
  22. Try posting some code of what you have tried and maybe a graphic of what you'd like to do and maybe we can give specific help. It you just want to change a background try the control editor. If you don't know about that, popup on the graph, selected Advanced and Customize... Then click the Window menu on the editor dialog that comes up and select Parts Window. You can select teh Frame, etc and then import a graphic or other items and save. Experiment, play around.
  23. Perhaps I should have asked for morphing vs fading ... I've got to agree with crelf ... I don't feel so good, sort of like someone who made a joke and a riot occured as a result Still, I steadfastly deny any responsibility and suggest Yen be subjected to the :beer: Shiner Bock Beer Torture :beer: at the earliest possible opportunity
  24. For events in general, have you looked at this topic? Dynamics Events
×
×
  • Create New...

Important Information

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