Jump to content

Mark Balla

Moderators
  • Posts

    607
  • Joined

  • Last visited

  • Days Won

    41

Posts posted by Mark Balla

  1. anyone pls help

    within one block of data, the basic level trigger can detect the threshold value only once, but my question is how if whithin one sampled of block data , it consists of many curves that i need to detect many index/ time with the same threshold value.

    thanks

    regards

    I remember having this same problem a while back.

    My solution was to modify the Trigger Detection Vi so it used controls that were hidden.

    hope this works for you.

    Download File:post-584-1166593894.vi

    Download File:post-584-1166593914.vi

    Here is the 7.1 version

    Download File:post-584-1166594563.vi

    Download File:post-584-1166594577.vi

  2. Does anyone know of an easy method to get some sort of reference to a VI's icon? I'm not talking about the generic "I'm-a-VI" one you see from your OS, but the actual icon you create when you make your VIs. I know that I can get it from the VI's binary, but I'd much prefer loading it from a VI reference and displaying it in a picture control or the like, but I can't find an appropriate property...

    PS: actually, it'd be kind of cool if someone wrote some code that gets the subVI's icon from its' binary for the Code Repository...

    Your kidding right? :unsure:

    My Icon editor gets the Icon form a vi via the reference.

    And if I recall you were the one whom approved it for the CR. :P

  3. Congradulation Jeff!

    :thumbup:

    They offer the CLD at NI week you know. :shifty:

    I'm sure you would be much more likley to pass if you are able to hang out with

    so many LabVIEW Gurus.

    Let me know when you are ready to try for the CLA.

    I will need a study partner.

    And Thanks again for your help with the Icon editor.

  4. index.php?automodule=downloads&req=display&code=sst&id=56
    File Name: Mark Balla's Icon Editor Ver 2.1

    File Submitter: mballa

    File Submitted: 17 Nov 2006

    File Category: LabVIEW Development Environment

    File: Mark Balla Icon editor V2.1

    Author: Mark Balla

    mballa@sbcglobal.net

    Description:

    This is the second version of my vi icon editor and was created in LV8.2. The purpose is to help quickly create text base icons. The editor can be used in place of the standard NI icon editor or as a stand alone vi. see instructions. My original posting of the icon editor Ver. 1 can be found here

    LabVIEW 7.0,7.1 http://forums.lavag.org/index.php?s=&s...ost&p=19022

    LabVIEW 8.0 http://forums.lavag.org/index.php?s=&s...ost&p=12920

    Instructions:

    1: The icon editor was designed to be used as a replacement for the standard NI editor LV8.x only. To get LabVIEW 8.x to use the editor place the three files (lv_icon.vi, color templates.bin and the folder lv_icon_Subvis) in the LabVIEW 8.2\resource\plugins directory.

    The next time the icon editor is called LabVIEW will use the lv_icon.vi instead of the standard one.

    There is a button on the editor that will allow you to use NI

  5. Ok.... attached is my first try at using this OOP stuff.... can some of you look at it and tell me what i am doing wrong , this is based on hardware so you really wont be able to run it , but , you should get the idea.... it still needs lots of work , but , i figured i better stop now before i get too far into it and figure out that its all wrong...

    dont be too harsh :)

    Dan

    Neat way to call the do function.

    It still bugs me that when I open the Parent Do cmd vi it shows me a vi that does nothing and LabVIEW gives me no option to see the child vi's block diagrams.

    Unless I have the project open and know to look for vis of the same name, I have no clue what is going on.

    This will be confusing For users who are not familiar with OOP. It breaks idea that what you see in the block diagram at edit time is the same code used at run time. I know the argument has been raised about dynamic vis doing the same thing but a dynamic vi doesn't allow me to see any code. Where an override vi shows me one of many possible diagrams.

    I am going to avoid override vis in my OOP projects until LabVIEW can somehow indicate and show me all of the override vis that can be called.

    Maybe a selector similar to the one used for a polymorphic vi would work.

    :2cents:

  6. Thanks for your help , but it's a 7.1 but not 7.0 and i can open it.

    Can you convert it to 7.0 ? I have just look at Icon fixer.vi

    Regards

    Eric

    Sorry here is the 7.0 version

    Download File:post-584-1162306015.zip

    Download File:post-584-1162306071.zip

    How come your icon editor isn't in the CR?

    No good reason realy,

    I guess I wanted to make it a little more universal and include more template options before I submit it to the CR.

  7. Hi

    I want to no if it's possible and how calling the icon editor by program in labview 7.0.

    I try to create an llb editor more convenient and want put a possibity to modify icon.

    Perhapse some one have creat icon editor (in 7.0) that i can at to my program with is permission

    I want to send my program to Lavag community when i have finish.

    Regards

    Eric

    Here is an easlier version of my icon editor. It should be easily adaptable to the your icon version.

    Download File:post-584-1162306015.zip

    Download File:post-584-1162306071.zip

  8. Congratulation zen The winner of the MG coding challenge.

    Here is the final vote tally

    Morrie aka ALPHA: 8

    jsz aka BRAVO: 1

    yen aka CHARLIE: 7

    zen aka DELTA: 10

    Thank you to all the Members That Voted:

    Morrie, i2dx, mballa, Khalid Ansari, kennoncotton, Mads, bsvingen, jaegen, dstudwell, Dan Press, bwgames, jhoskins, alukindo

    SULLutions, didierj, PJM_labview, peteski, Urs Lauterburg, JoeLabview, jsz, yen, zen, jpdrolet, Mike Ashe, tcplomp, Michael_Aivaliotis, crelf

    Special thanks to the Challenge Committee, Morre, jsz, yen, and zen for all their work.

  9. Now, the connector order for each pattern (which one is the 0, the 1, etc) is pretty chaotic. Sometimes it starts from bottom-right, some from top-left... Is a mess when you are connecting dinamically created VIs :(

    Saludos,

    Aitor

    I've also created vis that figure this numbering system out in the Subvi Fixer

    Base on the position the index is placed in a cluster that represents the pattern.

  10. My trick for installing the SPC Toolkit is to copy the installer to my local hard drive and run it from there. Using this method, I have installed the SPC Toolkit to Windows XP with LabVIEW 8.2 with no problems.

    -D

    The whole toolkit installation process is kind of a pain if you want to have them installed in multiple versions on the same computer. The CD install only lets you install one version at a time.

    So What is the easiest way to install all the developer suite toolkits in versions 6.1 to 8.2 on the same computer?

  11. Voting Ended 10-15-06

    It's time to vote for the best Mouse Gestures submission.

    There were 4 submissions to the coding challenge that pass the minimum criteria.

    To eliminate any biased opinions we made the submission anonymous.

    Here are the submissions. The code is in LabVIEW version 7.1.x and 8.0.x.

    Download File:post-584-1157153745.zip Programmed by Morrie

    Download File:post-584-1157153772.zip Programmed by jsz

    Download File:post-584-1157153840.zip programmend by yen

    Download File:post-584-1157153882.zip programmed by zen

    (edit names updated 10-16-06)

    In the interest of fairness we have placed vote codes in the block diagrams of each submission.

    They look like this:

    post-2-1157320111.png?width=400

    This will help insure that everyone whom voted has viewed all the submissions.

    In order for a vote to count it must contain all 4 vote codes in the following format.

    I Vote for __________

    Alpha: "Alpha vote code"

    Bravo: "Bravo vote code"

    Charlie: "Charlie vote code"

    Delta: "Delta vote code"

    EXAMPLE: Note these are not the correct codes.

    I Vote for ECHO

    Alpha: 1111

    Bravo: BBBB

    Charlie: 2222

    Delta: CCCC

    To vote please send a LAVA PM to -> me mballa with the voting information.

    Any comments on the submissions should be posted to this thread. Please make sure your comments are constructive. All of the finalist will be emailed stating if they made it to the voting process.

    If your are one of the four submitters we ask that you DO NOT comment about the submissions here.

    Voting Ended 10-15-06

  12. If you have LV8.2, I offer a new twist on an old idea. You've heard of LV2-style globals? If not, go search LV's online help for "functional global variables." They're very useful and dataflow safe. For everyone else:

    I've put together what I'm calling a LV2OO-style global*. I'm not convinced that this implementation is ideal, but I want to get some conversation going about the possibilities. Basically, I suggest that classes make it possible to build a single LV2 functional global that doesn't need to be rewritten for every use, among other advantages.

    I like the Idea that the class is the way to select the function. A little more complicated and obscure than I would like but I get it.

    The override SubVI implementation in LVOOP is starting to scare me though :o

    My assumptions were that static wires were only about that class and you could only operate on it's data members.

    It seems like the override vis are kind of breaking encapsulation.

    The override SubVI is able to operate on child data even though every thing on the block diagram shows a parent wire and parent SubVI.

    post-584-1156565216.png?width=400

    post-584-1156565345.png?width=400

    I am seeing this as possibly a huge debugging problem.

    If there is a problem where a bad value gets written in a child class member do to an override vi how do find it since it happened in a vi I can't see or track down.

    There could be potentially hundreds of overide "Do it" SubVIs that I can't see or access on the block diagram.

    Unless I have the project open there is no way to know if the "Do it" SubVI is being overridden and no way to fix it if I did know.

    For classes it seems like can

  13. Man! do I Love this stuff.

    Ok here is something I've been working on since the Beta version but never got there until NI WEEK gave me an Idea.

    What if we create a class That uses both the by ref model and the by Value model and then inherit the class so any class can be run as a by reference.

    What I came up with was a class called Flip-Flop. Its purpose is to move the data to either a Variant stored in a Que (By Ref) or the Child class wire itself (By Value).

    In the Main Vis the class wire data is stored in the Que and when a public function receives the wire it transfers the data to the wire so it can process it. The power of this Idea is it takes full advantage of the new inheritance.

    Please check this new Idea Out. I'm calling it FLOOP for Flip-Flop OOP.

    Download File:post-584-1156262742.zip

  14. What I actually wanted was a confirmation that my submission was received, not that it was among the top 5. It also wouldn't hurt to know whether the entry meets the minimum requirements, so that it could be fixed.

    In any case, this quote is unclear. I didn't receive an email, so does that mean that my submission does not meet the requirements or that it is in the reviewing process? :blink:

    As you requested I have emailed all particitants stating the committee has received their submissions.

    We will put this on our list of "Things to do better next time."

    If anyone who submitted a MG Codding challenge did not get a reponce email please PM me to discuss.

    mballa

  15. I assume that MG Final indicator displays empty string in the very next loop after the mouse button is released. Is that right? Or MG Final should keep displaying the "R1R" in the following loops?

    Zen

    MG Final should retain the last MG sequence ("R1R") until the mouse button is pressed again.

  16. I would like to create a control that has Enum data type, but looks like this (menu ring):

    post-4274-1153940806.png?width=400

    The Enum does not have a drop-down arrow for the user to realize more options are available, and I find the Menu Ring control more clear.

    Is this possible?

    Thanks!

    With a little graphics manipulation using the control editor it's not that hard.

    First open the menu ring in the control editor and switch to the tweezer tool.

    Copy the rounded back decoration to the clipboard.

    post-584-1153972579.png?width=400

    Close and open the Enum in the icon editor and switch to tweezer.

    Make the text background transparent and replace the border with the clipboard Item.

    post-584-1153972553.png?width=400

    Download File:post-584-1153972571.vi

    Now do the same steps with the little triangle and you have a custom enum.

    post-584-1153972515.png?width=400

    post-584-1153972544.png?width=400

    post-584-1153972529.png?width=400

    post-584-1153972563.png?width=400

  17. So I can support my fellow LAVA members

    and so I don't have to read the conference program this year

    Will all the LAVA members presenting at NI WEEK 06 please tell us when and what you will be presenting.

    Also if anyone has any seminars that they would recommend.

  18. I can't seem to get a "Make Strict Reference" method from the VIRef invoke node.

    I was not aware of it until your question but the "Make Strict Reference" method is aparently a scripting function.

    For version 7.1 This is what you see if you don't have scripting enabled.

    post-584-1152838062.png?width=400

    And this is what will show up if you enable scripting.

    post-584-1152838117.png?width=400

    To enable scripting go to this post

    If you are not interested in scripting then just copy the method from the template and paste it into your code.

    I currently don't use this version of Goop any more. I have moved to a que based version. I have posted a possible core replacement to the original OpenG version here

    Hope this helps

×
×
  • Create New...

Important Information

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