Jump to content

Bobillier

Members
  • Posts

    222
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Bobillier

  1. Hi Jonathon

    Few days ago,I have propose similar tools on JKI Forum Here . Have you see it ? It's really near your tool but run like JKI RCF PlugIn.

    Like you, i have find same issue arround break arrow. Certainly a scripting issue. Perhapse solve in LV2010 ?

    My solution is to save automaticaly the vi before quit tool.( only possible if the vi is all ready save on hard drive)

    Eric

    • Like 1
  2. I don't know what my hands are doing when that happens but I have been suprised to come back to a icon and find the header has been flipped upside down.

    Ben

    1) Open Icon editor.

    2) Select symbol tab.

    3) Click left on one symbol.

    4) Move it under icon drawing windows to see it.

    5)Press R or F key to rotate or flip.

    6)Release left mouse click to fix symbol on layer.

    Eric

  3. Eric,

    one easy way for an undo functions is storing the current table after every edit in a shift register

    Each array should be packed into a cluster, which will be stored inside an array shift register.

    Ton

    hi Ton

    Thanks for your reply . i know how do undo function. But the problem is not how , but when.

    You said " one easy way for an undo functions is storing the current table after every edit", but in my program, there is few

    way for modify current table value ( double click, drag and drop, modification of each caracter of comment and argument, right click option,,...)

    lot of them creat event but not all (Drag and drop) . Each caracters modification of comment and argument creat one modificationof table but i just whant only one undo for restore all previous value ( and not few).

    I have try with LIFO structure but with few errors. If you have any simple solution to slove my undo problem i'm receiver .

    Eric

  4. Hi Bjarne

    When you want to add a JKI state(also in the JKI argument list) it would be nice if you could rightClick :lol: at the JKI state and chose between 'Add before' or 'Add after' to place the new state compare to the state your standing at in the States list :thumbup1:

    I have add this feature in my new version , but not like right click, but like a specific button. Now i work arround add one undo functionality. I send you one copy quickly.

    PS: Have found a solution for 8.2 support?

    Not now , but if you find solution i will be happy.I think it's attound one event structure condition you not run in 8.2 and 8.5.

    Regards

    Eric

  5. Hi Ton

    It's good idea, but i don't know how modify programmaticaly different text colors in a same element of a list (or between different element of this list) .

    I have try to set a different color of one control (Ex argument) but the color is lost when i send it to list.

    Any idea ?

    Eric

    It might be nice if comments were a different color (like syntax highlighting), but that is just a super silver lining request.

  6. Hi Ton & Bjarne

    I have update my Plugin with your comments and more. (see revision note inside source folder) Please can you test it . Unfortunately, i just achieve a 8.6 convertion. When i try 8.2 & 8.5 convertion, the event structure in JKI state editor-Main.vi lost all is parameters. I don't see what's wrong.

    Eric

    EBC_rcf_JKIStateEditor-1.3-1.zip

  7. Hi Ton

    I don't see where is problem . When you select one item in the right listbox and right click on it and select delete, the state is delete.

    Do you whant a specific button for do that ?

    • 'Delete' button should delete the current selected state

    For double click copy , i see for update.

    Regards

    Eric

    Hi Bjarne

    For case 1 and 3 you are rigth and i try to correct this.

    For case 2 , the comment and uncomment function can be usefull if you when made test ,and temporaly unactive one or few states, without remove those states of string list.

    Regards Eric

  8. index.php?app=downloads&module=display&section=screenshot&id=135

    Name: State Editor for JKI State Machine 1.6.0 LV8_6

    Submitter: Bobillier

    Submitted: 02 Jun 2010

    File Updated: 21 Jul 2011

    Category: JKI Right-Click Framework Plugins

    LabVIEW Version: 8.6

    License Type: BSD (Most common)

    JKI State Editor v1.6.0

    Copyright © 2010, BOBILLIER ERIC

    All rights reserved.

    Author: BOBILLIER ERIC & Ton Plomp

    LAVA Name: BOBILLIER ERIC

    Contact Info: Contact via PM on lavag.org

    LabVIEW Versions:

    8.5

    Dependencies:

    JKI Right Click Framework

    oglib_array & oglib_string

    Description:

    This tool is a right click framework plug_in. it's use for edit easily string constant in in JKI state machine.

    How use it:

    Select one string constant in jki STM structure , run JKi RCF and choose JKI State Editor.

    Installation and instructions:

    This tool is package in .ogpb file. Please use VIPM for installation.

    Examples of use:

    First release.

    http://www.screencas.../t/OGZkNTM4NzIt

    Ton modification.

    http://www.screencas...4c-33af05e59625

    Known Issues:

    If after using this tool, Undo action to return to initial string constant,is impossible.

    It's bug of scripting feature.

    Please look this tread for more details.

    http://decibel.ni.co...d/7131?tstart=0

    Acknowledgements:

    all jki Team especialy PJM , and of course Ton Plomp, and Bjarne Joergensen

    Version History:

    v1.0.0: Initial release of the code.

    v1.0.1: bug correction

    v1.1.0: bug correction

    v1.2.1: Ton modification

    v1.2.2: Cleanup code for submission.(8.2 and up)

    v1.3.1: New features and bugs correction (sorry only compatible with LV8.6 and up)

    v1.4.1: New features and bugs correction (sorry only compatible with LV8.6 and up) see Revision Note

    v1.4.2: New features and bugs correction (sorry only compatible with LV8.6 and up) see Revision Note

    v1.5.0: New features and bugs correction (sorry only compatible with LV8.6 and up) see Revision Note

    v1.6.0: New features.

    * Now String States constant always grow at left and justify left when modify.

    * Now only case structure connect to argument tunnel populate arguments list.

    * You can right click on arguments list and add one case not previously define.

    Run only if one case structure allready exist and connect to argument tunnel.

    * Now String constant is colorize with different colors for arguments, comments

    and lock states when you update it. Like that string constant text become more readable.

    Colors can be configure in Rcf options.

    License:

    Copyright © 2010, Eric BOBILLIER All rights reserved.Redistribution

    and use in source and binary forms, with or withoutmodification,

    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright

    notice, this list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright

    notice, this list of conditions and the following disclaimer in the

    documentation and/or other materials provided with the distribution.

    3. All advertising materials mentioning features or use of this

    software must display the following acknowledgement:

    This product includes software developed by the INRA.

    4. Neither the name of the INRA nor the names of its contributors

    may be used to endorse or promote products derived from

    this software without specific prior written permission.THIS SOFTWARE

    IS PROVIDED BY Eric BOBILLIER ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,

    INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR

    A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL Eric BOBILLIER BE LIABLE FOR ANY

    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING,

    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE, DATA,

    OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE)

    ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    Support:

    If you have any problems with this code or want to suggest features:

    please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and

    search for the "JKI State Editor" support page.

    Distribution:

    This code was downloaded from the LAVA Code Repository found at lavag.org

    Click here to download this file

    • Like 1
  9. Hi

    In fact i think it's a half load cell. and it's run like potentiometer. 1) Power (or ref) red, 2) signal (white) 3) Gnd (black).

    If you want use it with straingage amplfier, you must put the positive input to your white wire. For the negative input you must add external resistor divider , made with to equal value resistors. Connect like this. one resitor between Power (or ref)and negative input, and the other between negaztive input and gnd

    Eric

    post-5178-12753834548_thumb.jpg

  10. Thanks JG

    You are right again , my solution is really bad for speed, 5.3s for 100000 points. Better than "add to front" but worst than the others.

    Finaly it's bad trick :wacko:

    If i compare with your buildArray_reverseArray.vi (who are like the classic solution in my previous post), i obtein a 18ms of time versus 5.3s :frusty: . I don't know why normally those two solutions don't preallocate memory.

    If we thinks that feedback Node is not equal to shift register, we have a good exempl of why :cool:

    I send you my test vi, perhapse you can add it to your bible of filling array, like exempl to not use ;).

    Bye

    Eric

    buildArray_FillingArray with feedback node.vi

  11. Hi Bob

    Cool trick!

    (Although in this case you have used a while loop)

    I personally prefer OpenG Conditional Auto Indexing Tunnel over preallocating arrays.

    All the performance, non of the hassle tongue.gif

    Have you seen this VI?

    post-10325-126109128268_thumb.png

    Hi JG

    Yes it's true, the limitation of this solution is than there isn't any memory preallocating and for this reason it's better to use it with small size array.

    Yes i know OpenG Conditional Auto Indexing Tunnel , but with it you must before have one booleen array (elements to keep)to filter the array in).

    Perhapse it will be interesting that you show us, how you made the same exempl ( even array) with OpenG Conditional Auto Indexing Tunnel . wink.gif

×
×
  • Create New...

Important Information

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