Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Francois Normandin

  1. QUOTE (km4hr @ Oct 15 2008, 08:41 AM) You're welcome. You can continue your findings about those functions by using the context help of LabVIEW. Press Ctrl-H and hover your mouse over any functions in the palettes to find out what they are, what they do and what it takes to wire them. A more detailed help link is provided with all native LabVIEW icons.
  2. QUOTE (Minh Pham @ Oct 14 2008, 06:03 PM) Hi Minh, you're right, you can't change it programatically. However, you can trick the eye by inserting a decoration inside and making the cluster border transparent. The decoration can be accessed through property nodes. http://lavag.org/old_files/monthly_10_2008/post-10515-1224023110.png' target="_blank">
  3. Hi km4hr, there are more efficient ways to deal with arrays and matrices in LabVIEW than to use a Formula Node. I've simulated a Scaled Data stream with two channels (Black Box) and the video shows you where to look for when you want to play with nD-arrays. There is a lot to learn in the Array and Numeric palettes alone, and my demo is just the tip of the iceberg. Break out your individual streams using "Index Array", apply a customized function to each streams and put them back together by "building arrays".
  4. QUOTE (TG @ Oct 12 2008, 02:45 PM) Be careful though with my screenshot, as the OpenG "Get VI reference" is for the current VI: you should put a reference to the VI you wish to call, not to the one that is calling. I only wanted to show the property nodes and I Code Captured it too quickly...
  5. If you launch your VI with a subVI call, then use Ben's solution. If you use Invoke Node, you can transfer the reference owner to the subvi by setting AutoDispose Ref = TRUE. QUOTE
  6. QUOTE (HChandler @ Oct 10 2008, 01:52 PM) You can have a list of refnums to all decorations, so yes indexing would work.
  7. Just a side note to point out that comma are used in some countries instead of points...
  8. QUOTE (Aristos Queue @ Oct 7 2008, 12:26 PM) Interesting story. Thanks I'll try it on my nephew next time I want to put him to bed.
  9. QUOTE (awkh1001 @ Oct 7 2008, 07:15 AM) There are a number of ways to do that. Not sure which one is best for video. (Depends on streaming rate). You have a host and a client... does that mean you have an Ethernet network? You could setup a TCPIP Server-Client. Search the LabVIEW examples for that, and send your images as strings. You could also use shared variables, remote panel, a queue, etc.
  10. QUOTE (Ton @ Oct 7 2008, 07:05 AM) How can you patent a "for loop"? Is it the actual algorithm or its graphical representation?
  11. QUOTE (ragglefrock @ Oct 6 2008, 12:15 PM) This is absolutely true. However the initial question was to get it inside a SubVI. (But I see your point: Why wrap it up in a subVI if it works with a single drop from a palette? :thumbup: )
  12. Hi Carlos, a few things. 1- To append horizontally, just Transpose your 2D array before appending images. After you're done, transpose again to get final result. 2- Please post JPGs or PNGs... BMPs are really huge.
  13. QUOTE (shoneill @ Oct 6 2008, 06:08 AM) If she left Romania, then she might be in the 2%...
  14. QUOTE (Paul_at_Lowell @ Oct 3 2008, 05:26 PM) You sure can. Notice that I use the VIReference property of "ProjectItem" class to get a reference to the "ClassName.lvclass:ClassName.ctl" VI. This is the only way I found you could access the class Private Data control. Don't forget that ctl files are VIs too... PS: Not only will adding ":ClassName.ctl" not work, but using the full path ".lvclass\ClassName.ctl" will not work either.
  15. QUOTE (HChandler @ Oct 3 2008, 02:44 PM) Check out one post up... I edited it with the VI saved in version 8.2. However, you'll need OpenG. Do you have the librairies installed? If not, get VIPM and install the packages.
  16. QUOTE (HChandler @ Oct 3 2008, 01:37 PM) I'm working on LV8.6 so I won't put the VI... but your example doesn't work either way (see error message on FP). You don't have the same datatype. You're going to need to use references to do this. The Stacked Sequence I show will do it for both cases, as long as you use a reference to your control. http://lavag.org/old_files/monthly_10_2008/post-10515-1223056616.png' target="_blank"> EDIT: ned has a point. You can extract your strings from Variant, but not convert it to an empty enum.
  17. QUOTE (HChandler @ Oct 3 2008, 11:56 AM) You can cast to a more generic class inside or outside a subVI. See attached picture. http://lavag.org/old_files/monthly_10_2008/post-10515-1223053663.png' target="_blank">
  18. QUOTE (Minh Pham @ Oct 1 2008, 11:33 PM) Hi Minh, I see you're very enthusiastic about LAVAG and that's real great... but this topic is 4 years old.
  19. QUOTE (jlokanis @ Oct 1 2008, 06:45 PM) Hi John, Have a look at this topic where I asked exactly the same question. AQ was generous enough to change the VI and allow for an input for # of lvproj wanted. Then, PJM suggested we could write our own and replace it. There is a method for Recently Opened VIs and LVproj (which just accesses the INI file).
  20. QUOTE (Paul_at_Lowell @ Oct 1 2008, 06:37 PM) I'm glad you think it's a good start. I don't use SVN myself (not yet anyway, but when I have time I'll install it and play a little.) I don't think it currently exists in 8.6 (but I've been proven wrng before!) That would make a good suggestion for NI. BTW: Thanks for the wiki on SVN. It's gonna be useful.
  21. QUOTE (pdc @ Oct 1 2008, 12:52 PM) In my dreams!!!
  22. QUOTE (TobyD @ Oct 1 2008, 11:27 AM) You're right, but normally my block diagram takes the whole screen... and Ctrl-E doesn't work when you have something selected.
  23. QUOTE (JFM @ Oct 1 2008, 09:04 AM) Well, a simplified version of the front panel decoration palette... http://lavag.org/old_files/monthly_10_2008/post-10515-1222874087.png' target="_blank">
  24. QUOTE (JasonD @ May 28 2003, 07:46 AM) Some people use a one-frame Stacked Sequence Structure to wrap a piece of code and put some text. Not my favorite, but that could do the trick. I'm not sure a free-hand sketchpad would increase readability of the block diagrams. But the draw tools might be useful I agree, although it's that sort of thing that might be nice to have, but how many times will you really need something like this? For the moment, decorations can be dropped on the front panel and copied to the diagram.
  25. QUOTE (Paul_at_Lowell @ Sep 30 2008, 03:14 PM) Hi Paul, I managed to retrieve the Class Private Data in variant form. If you use two versions of your lvclass, you will see the difference. The actual values are those set by default in the class private data. Download File:post-10515-1222830838.vi (LV 8.6)
×
×
  • Create New...

Important Information

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