Jump to content

Yair

Members
  • Posts

    2,870
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by Yair

  1. To expand on Adam's first point, LV does automatic memory management, but it can only free the memory used by the COM object automatically when you completely stop the VI, so you have to close references explicitly. In addition, working with .net and ActiveX is a bit cumbersome, because you have to use a lot of property and invoke nodes and the code to screen-real-estate ratio sucks. Be sure to make plenty of subVIs and set the boundaries properly (each VI should be responsible for closing the references it opens). Go read Brian Tyler's blog (Lycangeek). Brian used to head the .net team and his blog mostly dealt with that, but you should also find some ActiveX related stuff. There was an entry on the blog showing how to use scripting languages text directly in LV through .net. Maybe the same will be applicable for ActiveX. Do a search here, in the NI forums and in Info LabVIEW to see what you can find.
  2. Interaction with the serial port is done through the VISA API. If you open the example finder (Help>Find Examples) you should be able to find as many examples as you want. You should probably go through some tutorials first and try searching online before posting.
  3. QUOTE(Jim Kring @ Mar 25 2007, 02:11 AM) How about your other siblings, Kim and Dim?
  4. Using the Windows API to do MDI using the parenting functions is very simple and will save you all the hassle of having to deal with subpanels, but in my experience (with some of the older versions) it used to have some display problems under certain conditions. Also, obviously, it's Windows specific. You can find some examples by searching the NI forums for MDI.
  5. QUOTE(Jim Kring @ Mar 24 2007, 11:12 PM) Aren't you the guy who made http://www.imdb.com/title/tt0813715/' target="_blank">Heroes? :laugh: Very nice, Stephen.
  6. QUOTE(Aristos Queue @ Mar 24 2007, 08:30 AM) We also need this for events like mouse move. It would be nice if we could define something like "Only fire the event after moving x pixels or after staying still for y msec". BTW, if I understand your description correctly, this won't work when using the keyboard. :headbang: There is actually a surprisingly simple way to handle this - you just need to compare the value of the control to the value coming out of the NewVal terminal. If they're not equal, don't run your code. It's as simple as that, since the value of the terminal will usually be updated with the latest value by the time the event code runs.
  7. Yair

    Hi there..

    Ahalan wasahalan. Welcome. :thumbup: Feel free to look around and read what's going on here. You can find some interesting stuff. Are you doing anything interesting in your DAQ applications?
  8. Yair

    UserInput

    You can do it using clusters. See here for an example. Also, if after searching you didn't find what you were looking for, you should give your topics better titles.
  9. QUOTE(SciWare @ Mar 23 2007, 07:01 AM) Note that the current version of the variant config VIs does not handle array persistance in a case where your array becomes smaller (the old element values are not deleted) so if you have arrays in your example, you will need to do something to work around that. Looking forward to seeing your example.
  10. QUOTE(Aristos Queue @ Mar 1 2007, 07:54 AM) After some reflection, I don't think I'm that curious anymore.
  11. QUOTE(Michael_Aivaliotis @ Mar 18 2007, 09:42 PM) That would explain it. I looked at the watchlist section instead of the user profile section. Thanks. Now I just need to see whether this applies to all subtopics as well.
  12. Is it just me or does LV R&D have waaaaay too much time for playing games in the arcade? http://forums.lavag.org/index.php?act=attach&type=post&id=5230 Stephen, you should try this one.
  13. QUOTE(Michael_Aivaliotis @ Mar 18 2007, 12:01 AM) I guess both, but changes is probably something which would probably need the alerting option more. In any case, I noticed the watch option, but didn't find a way of getting alerts for it. Is there one?
  14. Is there any way to monitor changes to all the wikis (or even for individual ones)? I noticed that there is a watchlist for the main page, but it is not clear whether this will monitor changes for all the wikis and whether there is any way to receive the notification in email or the new version in RSS.
  15. I thought you weren't supposed to reveal features available in beta releases, but I guess now you know why it's called the package manager instead of Commander.
  16. :thumbup: :thumbup: :thumbup: :thumbup:
  17. QUOTE(Jeff Plotzke @ Mar 15 2007, 10:23 PM) Not a tablet PC, but I often deploy my programs on touch screen PCs (with XP). The touch screen on these things does not usually have the refined accuracy needed to do LV work.
  18. QUOTE(LV Punk @ Mar 12 2007, 05:21 PM) No, but it reminds me of the saying that PERL looks like an explosion in an ASCII factory.
  19. QUOTE(orko @ Mar 12 2007, 12:12 AM) :laugh: :laugh: :laugh: :laugh: Thank you. I needed a good laugh very much just now. :thumbup:
  20. QUOTE(bogdani @ Mar 11 2007, 03:32 PM) http://forums.lavag.org/The-Knack-t6095.html' target="_blank">No... :laugh:
  21. I tried it now too and it wouldn't save the vi.lib VI either. Not that it would help, since 6.1 did not have the flattened pixmap data type anyway. I also checked, and the Get Image method does exist (and doesn't seem to be private).
  22. QUOTE(Aristos Queue @ Mar 11 2007, 04:19 AM) :laugh: QUOTE In LV, each control has a default value. Each data type has a default default value. Not to get nitpicky, but shouldn't that be the other way around (each data type has a default value [e.g. numeric is 0] and each control has a default value [which is 0 by default for numerics])? Or is this just a matter of semantics?
  23. QUOTE(Aristos Queue @ Mar 11 2007, 01:22 AM) You gotta love modern LV.
  24. QUOTE(Aristos Queue @ Mar 11 2007, 01:13 AM) Doesn't MS's famous backward compatibility (WoW in Vista) which still allows you to run DOS programs on modern versions of Windows allow you to run most XP programs without problems (as long as you don't have to deal with hardware)? I'm assuming that's what Tomi refered to and not the changes that will be needed to make the IDE itself fully "Vista compatible" or whatever it's called. I don't remember who it was, but one blogger gave the example of being able to run a program they wrote in 1983 or so on XP or Vista simply by running the executable.
  25. I agree on the why? part. I think that the 7.0 or 7.1 installations should not be any more complex. Anyway, two additional suggestions: Can you try using Mike's method, but simply use the control's Get Image method? Also, can't you backsave the Picture to Pixmap VI from LV 7.0? It's password protected, which I assume means that its diagram is still there. Or does LV consider that a system VI and does not allow backsaving it?
×
×
  • Create New...

Important Information

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