Jump to content

JDave

Members
  • Posts

    414
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by JDave

  1. QUOTE(Zalon @ Feb 25 2008, 06:14 AM) Another simple way of cleaning up an empty array constant is to hide the Index Display (right-click on it and de-select the Index Display in Visible Items). The array still has a border showing that it is an array. You have to use the data wire to verify how many dimensions it is, though.
  2. QUOTE(Dirk J. @ Feb 20 2008, 01:41 AM) But you would have to have something to distinguish it from controls that are set to display as the typedef icon, like a thick colored border around the whole thing. And when you hover your mouse over the "constant icon" you should, of course , have the actual cluster contents displayed like a tip-strip.
  3. QUOTE(PJM_labview @ Feb 12 2008, 05:17 PM) This does look very nice and promising. I'm glad you were able to extract it.
  4. QUOTE(Jim Kring @ Feb 5 2008, 03:14 PM) But you are allowed to resize the columns, which moves the glyphs...
  5. QUOTE(Aristos Queue @ Jan 29 2008, 09:33 AM) QUOTE(Gavin Burnell @ Jan 29 2008, 12:39 PM) Ouch ! That would have been something I would have certainly fallen foul of - I can easily imagine a system with two 'quick' events being broadcast to multiple event structures, but one of the event structures being busy doing a longer task when the events are fired and me wondering why *none* of my event structures got the second event in a timely fashion.... Which is just another very good reason to make the event structures complete as fast as possible. It would be best to use the event structures as simply structures that filter incoming events. Pass the work to a separate loop and leave the event structure nice and lean.
  6. QUOTE(jfazekas @ Jan 28 2008, 11:21 AM) I have had success with using User Events for this 'broadcast' type communication. However, the events are tied to user interaction. Like a "QUIT" event when the application shuts down or a "RUN" event when the main run button gets pressed. In this situation it seems that there is no speed concern. If the events were produced more regularly, without need of user interaction, then I can see how it could cause you some problems.
  7. QUOTE(JoeLabview @ Jan 24 2008, 03:36 PM) A thought that came to mind to accomplish your design with a different technique is to use Variant Attributes. You assign them by name and access them by name. So after you read in the column names from your table, you set the variant attributes using those names. See here and here.
  8. QUOTE(ASTDan @ Jan 18 2008, 01:43 PM) The ref class that you choose by manually navigating is still a "generic" version of that class. If you create a ref control from a control (by right clicking on it or Ctrl+dragging the control onto a ref) then the ref control now has access to the properties of that control (numeric representation, boolean mechanical action, etc.). These properties are what is referred to by this "Include Data Type". David
  9. QUOTE(ASTDan @ Jan 18 2008, 11:15 AM) I'm not sure. It is grayed out only sometimes. If it is a generic control ref, then there is no data type to include -- thus it is grayed out. If you drag a control onto the ref, then the option becomes checked and not grayed out. Is there a particular situation that you are looking at? David
  10. QUOTE(hfettig @ Jan 18 2008, 08:12 AM) This http://wiki.lavag.org/Tips_and_tricks#XControls' target="_blank">wiki link will help.
  11. QUOTE(Graeme @ Jan 4 2008, 03:09 PM) With regards to [1], the SubObj only applies to objects that do have sub-objects -- such as clusters.
  12. QUOTE(Graeme @ Jan 4 2008, 02:14 PM) [0] I believe starting in LV 8.0(?) you can just use a method on the listbox to retrieve the clicked row (and column) using the mouse coordinates. [1] SubObj refers to the control actually clicked on. May be a member of a cluster. http://zone.ni.com/reference/en-XX/help/371361D-01/lvprop/vi_shrtct_menu_activation/' target="_blank">See here. [2] The OS doesn't return anything to LabVIEW. I am not sure what you are referring to here. You can poll the mouse for movement and clicks, but you will not receive any event notifications from mouse events that occur outside LabVIEW windows. David
  13. QUOTE(venkatesh @ Jan 1 2008, 10:13 PM) Do you want to change the text in the listbox by selecting from a list when you click? or Do you want to have new menu options that you see when you right-click on the listbox? David
  14. JDave

    Tomi turns 1k!

    I always enjoy your posts, Tomi. Even the ones that make my brain hurt. Keep it up.
  15. QUOTE(NickKnatterton @ Jan 2 2008, 08:03 AM) You would want the VI containing the Subpanel to control loading and unloading of VIs within the Subpanel. So what I would suggest would be to have your subpaneled VI send a message to the hosting VI indicating what change is to be made. This could be via queue, notifier, user event, etc. This could allow navigation from the child VIs as well as from the parent (hosting) VI. David
  16. QUOTE(DaveKielpinski @ Dec 25 2007, 09:58 PM) or 3) Did read; Over my head 4) On vacation
  17. QUOTE(Justin Goeres @ Dec 13 2007, 01:18 PM) Who are YOU? Image: Copyright Disney 1951
  18. QUOTE(Aitor Solar @ Dec 13 2007, 05:06 AM) This does, indeed, rock. I created a scripting program to generate a wrapper VI to do the same thing, but what you made should just become a standard part of LabVIEW.
  19. QUOTE(phuzionz @ Dec 10 2007, 07:36 AM) It is not that rows are being added, rather the first row is being reset to the normal height. This seems to occur when the 'Names' property is set. You can reset the height each time you set the 'Names' property. If you see a jitter in the display, you need to insert a "Defer Panel Updates" property. There may be a better way, but I can't see one at the moment. Also it is unnecessary to set the height multiple times -- the entire row has the same height. Remove the 'For' loop entirely and remove the second 'Height' property in your property node. http://lavag.org/old_files/monthly_12_2007/post-1519-1197517805.gif' target="_blank"> David
  20. QUOTE(neB @ Dec 12 2007, 06:19 AM) I don't even have to think. A simple "I concur" suffices. Except I started thinking... You only need one subpanel, and wouldn't need any 'tabs'. The different VIs that are loaded into the subpanel serve as the different tab views.
  21. QUOTE(phuzionz @ Dec 11 2007, 08:27 AM) There is a VI that is missing (to initialize the array). I tried to reproduce what you were seeing, but I think if you included the Init VI it may help.
  22. QUOTE(JDave @ Dec 5 2007, 05:01 PM) I figured out how to do this. I believe it requires the use of a separate daemon VI to monitor the events. At least it works. When I get some more stuff worked out I will post the code. David
  23. I have my LabVIEW settings set to automatically add labels to my constants. This forces me to hide it if I don't want to document it, and encourages me to document as I go. However, when I create a constant on the block diagram I almost always want to change the label. So the label text should be selected to allow text entry as the constant is created. This avoids double clicking to change the label and mimics the behavior of controls created on the front panel. David
  24. QUOTE(Dan Bookwalter @ Dec 6 2007, 08:42 AM) You could ask your Sales Rep. They can most likely help you out before late January.
  25. QUOTE(Jo-Jo @ Dec 5 2007, 03:34 PM) Sorry. I didn't recognize what you were referring to. And I haven't used the 3D picture yet, so hopefully someone else will be able to help out. David
×
×
  • Create New...

Important Information

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