Jump to content

Mellroth

Members
  • Posts

    602
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by Mellroth

  1. QUOTE(dannyt @ May 2 2007, 12:41 PM)

    The particular thing I do not understand is the rules I should use to decide when to expect the ripple effect, whereby I change a sub-VI and not only does it's calling VI recompile but there is a ripple effect up the calling Hierarchy and often not for any reason that seems obvious or predicable to me.

    Hi Dannyt,

    I don't think anyone but NI could really answer this question, but I agree with you that recompilation is sometimes required for very strange reasons.

    LV5.1 would never recompile (as far as I remember), due to changes in the block diagram, but only if changes were made to the connector pane somehow.

    Since this version changes on the BD sometimes force a recompilation, e.g. adding a Case structure. I can only guess why we need to recompile due to an added case structure, but my guess is that the case structure is changing the way the compiler marks the wires connecting to the VI (e.g. if a copy is needed).

    But again, I don't think anyone outside NI, can really answer this question completely, and I'm looking forward or at least hoping to see some NI response on this.

    /J

  2. QUOTE(VDB @ Apr 23 2007, 08:56 AM)

    It's 8.2. Start LabVIEW, new VI, create a combobox (doesn't matter if modern, classic or system) and try to type a comma.

    Pasting a comma works. Maybe it's because of the German Windows...

    VDB

    Hi,

    I can reproduce this on WinXP (English).

    Defining the list of allowable values works with commas, but entering commas into the Combo box don't.

    I think you should report this to NI as a separate bug, and maybe start a new bug thread here at LAVA.

    /J

  3. QUOTE(Michael_Aivaliotis @ Apr 18 2007, 09:36 AM)

    Hmm, I think we should place some bets here. LAVA could use some donations ;) .

    My money goes on the queue.

    I haven't really tested performance of queues vs. FG's (at least not since queues became primitives).

    As long as the queue is only replacing a simple array memory, I think that the queue might be as fast as a FG. But when the functional global contains more than one array of data, my guess is that the FG would be faster.

    Anyway, a really interesting topic.

    /J

  4. QUOTE(tcplomp @ Apr 17 2007, 10:43 PM)

    Why don't you use a diagram disable structure with in the not active frame all the VIs?

    Ton

    Hi Ton,

    I had that as my workaround #2, but today I had time to do some more tests.

    It seems like the Source Distribution fails to include any VIs embedded in a diagram disable structure (which would be a bug report of its own).

    /J

  5. Hi,

    I have a bunch of VI-tree's (remember this old way of grouping VIs), that I'd like to add to a project in LabVIEW 8.2.

    The reason to keep the VI-Tree approach is that a user can get a graphical overview (i.e. Icon overview) instead of the listing used in the project explorer.

    Anyway...

    I tried to create a source distribution (preserve hierarchy) for all my VI-Trees, but as it turns out, the distribution only gives me the top-level VI's (no used sub-VIs are in the source build). It seems like the reason for this is that for a source distribution to go on and find all Sub-VIs, the top VI must be executable? (no VI's below a broken VI will be included in the source distribution).

    Since the bad VI itself is added to the source distribution, but no subVIs, it means that the bad subVI might be linking to VIs outside the source distribution target

    To require the top-VI (or any other VI) to be executable is fine as long as you are building an exe or dll, but for a source distribution this feels wrong.

    In LV7.1.1, I could open up the VI-Tree and save with options, then all VIs, regardless of execution state, would be saved in the target folder (possibly changing passwords, removing diagrams etc.).

    Workaround 1:

    If I drag all VIs found on the block diagrams of the VI-Tree's to the project explorer, the distribution contains all sub-VIs found in the hiearchies of the the top VI's (VI-Tree).

    This is not really a good way to do this, as I will have to manage both the VI-Tree and the project file to create a correct source distribution. At least compared to if I could only change the VI-Tree, and then just do a rebuild in the project file. This method will still fail, if any of the VIs are not executable

    Workaround 2:

    Open up all VI-Trees, then surround all VIs on each VI-Tree block diagram by a disable structure. At least this would give me the Top-level view, but VIs in bad execution state will still not be correctly included in the build.

    This has been reported to NI, but I have no CAR# for this one yet.

    /J

    PS. I know I can choose "Save As..." to save a complete VI Hierarchy, but this doesn't give me the options to remove BD's, set passwords etc, i.e. what you get from using the Source Distribution. The Source Distribution is also much better as it allows me to save how I would like the build to be, adding support files etc.

  6. QUOTE(kate @ Apr 16 2007, 02:27 PM)

    hello I am a new user of labview 7.1. I want convert image RGB to png format, because I want to do particle analysis for binary images.Is it possible to convert it using LV functions?

    Hi,

    it is possible to convert between different graphic formats using LabVIEW.

    You can find methods to read and write different formats in the Tools palette, just look in Functions->Graphics and Sound->Graphics formats.

    /J

  7. QUOTE(Jim Kring @ Apr 13 2007, 05:53 PM)

    I don't understand how typecasting would be used as a solution. Both wires would have the same data (the Event Registration Reference) -- just use the wire that has the correct type information (not the one that flows out of the right-side dynamic events terminal).

    I didn't mean to say that typecasting was the solution. I replied to Stephen's question if a typecast node would work, and it does.

    Anyway, in this case I would use solution #2 from my first reply.

    /J

  8. QUOTE(Aristos Queue @ Apr 13 2007, 04:41 PM)

    Does using the Type Cast node help?

    Yes it does.

    Sometimes I put a type cast node after the case structure, forcing the "correct" name.

    The "start" case in Tomi's first post, could then output a duplicate reference in an extra tunnel (set to "Use default if unwired"), and use this output to cast the reference passed around in the shift register.

    /J

  9. QUOTE(Sally @ Apr 13 2007, 01:43 PM)

    I have extra information in my VI I want to hide all of them , the user need them he can press in one button called " Extra information "to get those information...

    Please post what you have done so far... :blink:

    Is the "Extra information" front panel objects? If so, create control references for all the objects that you want to show/hide, and put all these references in an array.

    Then use a property node in a loop, to set the "Visible" property for all these objects.

    /J

  10. QUOTE(Sally @ Apr 13 2007, 11:09 AM)

    I have a graph , I want that graph to be displayed slowly in labview not directly , I mean I want to see it point by point , can I?

    Please add a VI to show what you have tried so far, or what you are trying to do... and what has the topic "Menu" to do with your question?

    I'm note sure I understand your request, but to display values point by point, you usually use a chart instead of a graph.

    The update speed is determined by the LabVIEW code, that updates the chart.

    /J

  11. QUOTE(Guenther @ Apr 11 2007, 03:27 PM)

    The key down event is the correct one, but instead of reading the table value you should capture the key itself and add up the consecutive keystrokes in a string indicator. In this string indicator you'll always have the current value of the table cell.

    To reset the value you can use the "value change" event, this means the user hit enter or clicked into another cell.

    This will only work as long as the user presses alpha-numeric keys on the keyboard.

    If the user presses backspace, delete etc., the resulting string would be different than the actual cell value.

    Ben's method would take care of all this, and also if the user moves the cursor with a mouse click and start editing inside the sting instead of at the end.

    /J

  12. QUOTE(Nullllll @ Apr 6 2007, 11:12 AM)

    Nullllll, please show some effort.

    Several members have requested that you should include some schematic and/or show us what you have done so far in terms of LabVIEW programming, but you ask basically the same question over and over again.

    QUOTE

    Why Do People Answer Stupid Questions More Than Good Ones?? http://ca.answers.yahoo.com/rss/question.p...01061627AAB6Ue6

    I do not mean to be rude, but you really have to read about how to ask questions in a better way.

    Now to your problem.

    1. What DAQ card do you use?

    2. How is the DAQ card connected to the circuit? (schematic)

    3. Show us a what you have done so far, in terms of VIs.

    4. Can you include a picture explaining what you intend to do?

    QUOTE(Tomi Maila @ Apr 6 2007, 01:14 PM)

    instead.

    I agree, but then I imagine all questions that could be asked (and how they could be asked)... Lets stay with your first camera solution :P

    /J

×
×
  • Create New...

Important Information

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