Jump to content

BChandler

Members
  • Posts

    33
  • Joined

  • Last visited

    Never

Posts posted by BChandler

  1. you always end up with a minimum of 8 pixels between elements in your cluster.

    PJM

    True. I can't see anyway around it. Of cource the reason for a forced gap is to allow the mouse access to the cluster functions, like Reorder elements.

    What is a user interface that is so sensitive to an 8 pixels gap?

    (and must use a cluster-array not a simple array).

    -WDC

  2. While this is nice, I wish that we could reduce the border thickness at will. Not beeing able to do so pretty much render array of cluster as user interface object useless (because every items inside the cluster is spaced 8 pixels apart).

    post-121-1138600919.gif?width=400

    Note: if someone figured out a way around this, please speak up ;)

    PJM

    I guess my reply got lost in the recent site crash.

    I was wondering if your objection to this was because of the wasted 8 pixels or because of the visable border around each element in the array?

    The border problem can be solved by coloring the Array container before putting an element into it.

    As in the attached example, which shows your method, system box method of this messgae and (smaller boarder)

    and method with no visable box at all. (written in LV6.1)

    Download File:post-2910-1139792348.vi

  3. built in by NI somewhere.

    It is sort of: See attached vi for a completly polymorphic version

    that can easily be expaned to multi-dimensional arrays.

    Uses a reference to the array's element.

    But indexing is clumsy, so maybe room for improvment.

    Interesting problem. I've never had a use for this operation before.

    I can usally make an array with the maximum expected elements first.

    -WDC

    Download File:post-2910-1131208048.llb

  4. The editor doesn't seem to check units consistency on a few of the array primitives.

    For example, an array of doubles with units of 'Hz' can be wired to an 'Insert Into Array', then a scalar double with units of 'psi' can be wired to the element terminal of the same primitive. No complaint from the editor; when the VI is run, it appears that the base unit values are used to perform the insert. (Incompatible units also includes the case where one input carries no units.) The primitive 'Replace Array Subset' seems to behave similarly.

    Shouldn't the editor flag the VI as broken? :unsure:

    Dave

    LV6.1 flaged this as an error. This bug is new to LV7. Anyone know what LV8 does?

    WDC

  5. :angry: When you press the alt key the CPU usage goes to 100% until another key is pressed.

    NI acknowledges this is a bug and has corrected the problem but the fix will not show up until the next full release.

    Anyone else having this problem or found a solution?

    Problem exist on Windows 2000 & XP with LV 7.0

    I realize this is a very old topic, but no one ever addresed it. So maybe you are still angry. I see this same bug in LV6.1 WinXP. But untill I read this topic I didn't even know the Alt shortcut was an option, and I use menus a lot. (note to self: RTFM) I have only used the Ctrl key for shortcuts. I noticed the Alt key has no effect on the CPU if there are no Alt shortcuts in the menu. So that's one option. And I guess in this case ignorence was bliss.

    Also, now that LV8 is out, I wonder if anyone has noticed if NI remembered to fix this bug?

    (if not move this topic to LV8 bug list)

    -WDC

  6. OpenG?

    Of course, no problem.

    I also ment to ask if I can make more than one submission?

    (first-try-in-case-I-don't-have-time-later submission, possibly followed by a refinement)?java script:emoticon(':clock:', 'smid_13')

    smilie

    Would all submissions count or only the last one? (can one person get first and second prize?)java script:emoticon(' :rolleyes: ', 'smid_22')

    smilie

  7. A. Because it allows you to manipulate each control individually.

    B. Because to import those settings into an EXE you need to redefine them or put them into the INI file, which is annoying.

    But mostly because of A.

    I agree, this would definitely be a nice feature. In fact, I think that almost anything that can be set through menus should also be set through property nodes.

    You can do this now by writting your own code to periodicly change the Color or invert the Visible property. (or make it dance around and scream LookAtMe etc.) I've done this before (invert Visible each loop) to bring attention to a major alarm. You could even hide it all a sub-vi with just the control's reference for an input. More flexible and more fun than waiting for NI to get around to it.

    I agree with the last statement. The program should be able to do anything the operator can do. Should be one of NIs golden rules.

    -WDC

  8. Something I'm always having to deal with is having to find front panel controls and indicators that are currently not visible and make them visible so that I can rearrange some aspect of the front panel with consideration for the invisible objects. I thought that it would be nice if Labview had a "reveal all" option (and not just on a temporary basis like the "Find Control/Indicator" function currently works).

    It then occured to me that while Labview may not provide the immediate function, it does at least provide the tools to build that function. I have attached a VI that provides most of what I need for the moment. At some point I may see if I can figure out how to modify the panel order (which control is on top and which is underneath) of front panel objects so that they are not hidden under other FP objects but this is enough for the moment.

    One note - the attached (v7.1.1) VI assumes that target VI is already open. If that is not the case then the function provided is pretty much a No-Op.

    6133[/snapback]

    When I want to see all hidden controls I use "Set Tabbing order" which temprarily shows everything.

    But you have the right idea, with a vi reference you can force everthing to be visable.

    I would be espically interested in a programatic way to change the panel order, if you find one.

    So I could alphabetize the the contents of some large Globals in an old program I need to mantain.

    But I think your looking at the z-order not the panel order. isn't their a Make-top-most property?

    -Bill

  9. A question on Info-LV prompted me to answer with an example here on the Forums:

    You need to register the Mouse Up event dynamically on the indicator that will receive the drop:

    5996[/snapback]

    True, but this works too (see attachment) You where playing with the wrong end of the drag'n

    (The tails bad but the heads even worse)

    You can ignore undefined Mouse Up events, just clear undefined Mouse Down events.

    Control Mouse-Down's take priority over the vi Mouse-Down.

    So your orignial, simpler idea was almost right.

    -Bill

    Download File:post-2910-1126465573.vi

  10. I know that you can right click a button to show/hide the decal but can this be done with code?

    Seems like there should be a property for this...

    Thanks,

    Roger

    6090[/snapback]

    I couldn't find one. But you can make a forground version of the control without a decal

    and a background version (right under it) with a decal, and turn on/off the background control.

    It looks the same.

    Or you can extract the decal and use it as a decoration and a Vi reference to find and control it.

    But that seems like the long way around.

    Maybe vi scripting has somthing but that's even longer, and can only be used on an inactive vi (not at run time) and is not offically supported by NI.

    see attached vi for options 1 and 2.

    What is your application? I can't think of one.

    -Bill

    Download File:post-2910-1126462756.vi

  11. It all sounds very interesting. Especially the Transparent window functions. I wonder if someone with LV 7.0 could convert the Clock.llb back to LV6.1 and drop a copy here.

    -Thanx.

    By the way I have Nova Clock now. Very nice. Also I found a bit of freeware called Glass Effect (installer attached) That can pop-up over any program and adjust its transparency. Also very nice. Good for unplanned, temporary uses, like comparing two similar graphs or documents by loading both and making one transparent. An electronic version of holding the printouts up to the light on top of each other.

    Back on topic, on my desktop now I like a very large Digital NovaClock set to 95% transparent, always on top, and with Click through. It makes an almost subliminal time and date display in the background of whatever you're doing, like this:

    post-2910-1126458456.png?width=400

    -Bill

    (are .exe attachments blocked?)

    Download File:post-2910-1126458706.zip

  12. Here's a wierd one (a "bug") that I discovered while experimenting with typedefs and diagram terminals that you may want to try out (in LV7.0-7.1.1).

    It's possible to create constants on the diagram that are impossible to remove.  Here's how.

    Create a typedef and place a constant of it on the diagram.  Right-click on the constant and select "Advanced"..."Hide Control".  Once you do you permanently have this typedef constant affixed to your VI.  It isn't possible to move or select the typedef constant anymore and you can't delete it.  You can still wire it however.

    Bruce Moyer

    3651[/snapback]

    That's a new bug too. In LV 6.1 the Advanced tab is grayed out on a type def constant.

  13. It's interesting how this bug only appears when you delete the TRUE case. If you remove the FALSE case and  leave only a TRUE then you get a broken VI which is the expected behavior.

    5912[/snapback]

    Also if you retype the False label, it becomes broken. (at least in LV 6.1)

    Seems the error check is in there , just doesn't run right after deleting True.

  14. Icons on desktop are bad form in my opinion.

    I hide them all, How can you find anything like that? Very messy and useless. How many applications do you really use on a daily basis? Put those in the root of your start menu. It's hard to think clearly and you can easily click on them by accident when programming. I like a clean slate. No need to delete them, just turn them off globaly:

    6067[/snapback]

    Ah, then you're a type A, closet Icon user! :ninja:

    You have them but you won't show them, else you wouldn't need to turn them off. ;)

    ( Sometimes it is nice just to see the picture as it was intended)

    -Bill

×
×
  • Create New...

Important Information

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