Eric BOBILLIER 0 Posted April 26, 2010 Report Share Posted April 26, 2010 Hi JKI team I have develop a editor for string used in jki state machine. I have made it like rcf plugin. Please tell me what you think about it before i propose it to community. Regards Eric http://www.screencast.com/t/OGZkNTM4NzIt EBC_rcf_JKIStateEditor_1.0_1.ogp Quote Link to post Share on other sites
Philippe Guerit 0 Posted April 26, 2010 Report Share Posted April 26, 2010 Hi JKI teamI have develop a editor for string used in jki state machine. I have made it like rcf plugin. Please tell me what you think about it before i propose it to community. Regards Eric http://www.screencast.com/t/OGZkNTM4NzIt EBC_rcf_JKIStateEditor_1.0_1.ogp Whoa, I love it! One comment: Can you replace all control with system one and use the system color as a background color? Thanks Philippe Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 26, 2010 Author Report Share Posted April 26, 2010 (edited) Some Things like that: EBC_rcf_JKIStateEditor_1.0_2.ogp I don't know if i can personnalize system buttons and put arrow image inside. Eric Edited April 26, 2010 by Eric BOBILLIER Quote Link to post Share on other sites
Antoine Chalons 10 Posted April 27, 2010 Report Share Posted April 27, 2010 Some Things like that:EBC_rcf_JKIStateEditor_1.0_2.ogp I don't know if i can personnalize system buttons and put arrow image inside. Eric That looks really cool Eric! Any chance you save it back to LV 8.5? :-o Cheers! Quote Link to post Share on other sites
Jim C 4 Posted April 27, 2010 Report Share Posted April 27, 2010 Please tell me what you think about it before i propose it to community. Very nice. It fills a need mentioned in the LAVA forum. Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 27, 2010 Author Report Share Posted April 27, 2010 (edited) That looks really cool Eric!Any chance you save it back to LV 8.5? :-o Cheers! Hi Antoine I have convert it to 8.5 , but don't pack it in ogp . please copy the folder JKI State Editor 8.5 in your JKI\RCF\Plugins\JKI State Editor folder. JKI_State_Editor_8.5.zip I have add 2 files in my zip to creat a . ogp. Please can you do this package in 8.5 using the tool : OpenG Package Builder. Before you need be sure to have remove 8.5 in the previous folder name.In OpenG Package Builder, you need modify in Platform tab the version from 9.0 to 8.5 and modify the default package directory in Option Tab. And post a copy to this forum. Regards Eric Edited April 27, 2010 by Eric BOBILLIER Quote Link to post Share on other sites
TonP 1 Posted April 28, 2010 Report Share Posted April 28, 2010 Here's a rather lengthy video showing that technique. Ton Some Things like that:EBC_rcf_JKIStateEditor_1.0_2.ogp I don't know if i can personnalize system buttons and put arrow image inside. Eric Quote Link to post Share on other sites
TonP 1 Posted April 28, 2010 Report Share Posted April 28, 2010 (edited) Hi Eric, Nice tool. However I wonder why you used a table to create the lists? I have redesigned your tool and replaced them with listboxes and added a drop down menu instead of the radio-buttonsd One nice thing of listboxes is the build in drag and drop support. See this video with the new features: Screencast video Eric, I hope you like my changes and that I pronounced your last name correctly. EBC_rcf_JKIStateEditor_1.1_1.ogp Ton Edited April 28, 2010 by TonP Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 28, 2010 Author Report Share Posted April 28, 2010 (edited) However I wonder why you used a table to create the lists? Hi Ton Great , your modification is best. The only reason i don't use listBox, it's because they are a bit mysterious for me. But you have made the right choise, they have lots of features than table. Just one thing. Please can you modify one property on "Parameter" control . The property about "see modification instanteanously" ( i don't know exactely the name of this property because my LV version is in french) . I have modify it on my PC , but like you don't give me the .ogpb file , i can't upgrade it. Another thing, If all is ok about this tool, please can you propose it (for you and me) to LAVAG. I prefer you do it than me, it's not because i'm lazy, but like you can see in this email i made lot of translation errors (i'm just a poor French boy). ;) I think it will be better if you save it in previous LV version than 9.0 (I don't remenber the minimal version for using JKI_RCF tool). Antoine Chalons request me that. I'm really happy for this collaborative work. Regards Eric Edited April 28, 2010 by Eric BOBILLIER Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 28, 2010 Author Report Share Posted April 28, 2010 Hi Ton I have find new bug on JKI State Editor - MenuSelection.Vi. Please can you replace your vi by this : JKI_State_Editor_MenuSelection.vi Regards Eric Quote Link to post Share on other sites
TonP 1 Posted April 28, 2010 Report Share Posted April 28, 2010 Hi Eric, I will try to get it to LAVA standards, then I will sent it to you so you can submit it. It's your code for the most part. Do you mean 'Update value while typing'? You want that activited, correct? Ton Quote Link to post Share on other sites
Philippe Guerit 0 Posted April 28, 2010 Report Share Posted April 28, 2010 Hi Ton I have find new bug on JKI State Editor - MenuSelection.Vi. Please can you replace your vi by this : JKI_State_Editor_MenuSelection.vi Regards Eric I was about to tell you about that bug. Glad you found it. Here is another one for you. You should use the option that was read from the ini file and not the hard coded constant (in the menu activation frame). Philippe Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 28, 2010 Author Report Share Posted April 28, 2010 Do you mean 'Update value while typing'? You want that activited, correct? Correct Ton Have you see the post of Philippe about Plugin option. Can you modify code like propose by Philippe. Ok i submit to LAVA when you send me it, but i think that your work in this tool is really a great part too. Many thanks to you and Philippe for your help and suggestions. Regards Eric Quote Link to post Share on other sites
Jim Kring 138 Posted April 29, 2010 Report Share Posted April 29, 2010 This is a great tool, Eric! I love that you used the JKI State Machine inside your JKI State Machine Editor. Quote Link to post Share on other sites
Philippe Guerit 0 Posted April 29, 2010 Report Share Posted April 29, 2010 Correct TonHave you see the post of Philippe about Plugin option. Can you modify code like propose by Philippe. Ok i submit to LAVA when you send me it, but i think that your work in this tool is really a great part too. Many thanks to you and Philippe for your help and suggestions. Regards Eric Eric, I found another bug. Here is the work flow to reproduce it: Edit a String (in the JKI state editor) Update the string on the BD Close the JKI state editor Undo the editing in the BD (CTRL+Z) Reopen the JKI State Editor --> You see the previous content (prior to undoing) Expected behavior: You should see the current content. Philippe Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 30, 2010 Author Report Share Posted April 30, 2010 (edited) Eric, I found another bug. Here is the work flow to reproduce it: Edit a String (in the JKI state editor) Update the string on the BD Close the JKI state editor Undo the editing in the BD (CTRL+Z) Reopen the JKI State Editor --> You see the previous content (prior to undoing) Expected behavior: You should see the current content. Philippe Hi Philippe Thanks to be beta tester. I verify bug and it's true, but i see it's the undo who not running . When you do undo , the square border size of string constant is modify (minimise) but the string inside isn't undo. It's like the undo in JKI_Rcf Lost the "Data modify " action. I think perhapse it's arround the JKI_Rcf undo gestion , but i don't see why. Perhaps have you one idea. Eric Edited April 30, 2010 by Eric BOBILLIER Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted April 30, 2010 Author Report Share Posted April 30, 2010 Finaly it's a bug of LV scripting on the undo of string constant. But like scripting isn't maintain, i don't know if i can report it and how solve my issue. I have made two vi's for explain the bug. 1)Open Test string.vi diagram, and see free string constant. 2)Run modify string.vi. 3)Go back to Test string.vi diagram 4)The string constant are modify correctly 5)Undo 6) See the bug, like in in my Rcf. The square is modify, but the text is always here. modify_string.vitest_string.vi I don't see how modify my plugin to solve this issue. Eric Quote Link to post Share on other sites
Philippe Guerit 0 Posted April 30, 2010 Report Share Posted April 30, 2010 It look like you are correct. The undo transaction does not works on string constant that were modified via scripting (even in the case of the RCF plugin the string re sizes itself and it appears that the undo worked, but it actually did not). You might want to report this on the LabVIEW API group. Correction: I see that you already did it. PJM Quote Link to post Share on other sites
TonP 1 Posted May 10, 2010 Report Share Posted May 10, 2010 (edited) I have uploaded the code to Sourceforge, on a Mercurial repository. The projectname is LabVIEW code Wiki, you can download the source by running: hg clone http://labviewcodewiki.hg.sourceforge.net:8000/hgroot/labviewcodewiki/labviewcodewiki the code is created in LabVIEW 8.2.1, you can browse it using the hgweb interface. The OGP is downloadable from Sourceforge. Hi Ton I have find new bug on JKI State Editor - MenuSelection.Vi. I was about to tell you about that bug. Glad you found it. Here is another one for you. You should use the option that was read from the ini file and not the hard coded constant (in the menu activation frame). Eric, Philippe, could you verify that the bugs are removed? Finally here's a screenshot: Ton Edited May 10, 2010 by TonP Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted May 10, 2010 Author Report Share Posted May 10, 2010 Hi Ton Thanks for your help But there is always my first bug in JKI State Editor -MenuSelection. You must remove the close reference in the false case of the last case structure. Perhapse i can cleanup and comment a bit the Vi's and resend it you for packaging and 8.2 conversion. Regards Eric Quote Link to post Share on other sites
TonP 1 Posted May 10, 2010 Report Share Posted May 10, 2010 (edited) I have uploaded the code to Sourceforge, on a Mercurial repository. But there is always my first bug in JKI State Editor -MenuSelection. You must remove the close reference in the false case of the last case structure.Perhapse i can cleanup and comment a bit the Vi's and resend it you for packaging and 8.2 conversion. Yes, I was afraid the bug was still in the code, I didn't had it clear (and i save all the VI's allreay back to 8.2. But please edit the code based in the Sourceforge Mercurial repository. You will need a Sourceforge account-name. If you have one please email me your username so I can add you as a developer. I will fix this and rebuild the package. Edit: I see that in the 'True' case you delete the reference as well. Is that fine? I filed a bug-report: Bug No1 Ton Edited May 10, 2010 by TonP Quote Link to post Share on other sites
TonP 1 Posted May 10, 2010 Report Share Posted May 10, 2010 Version 1.2.1 released. Quote Link to post Share on other sites
Eric BOBILLIER 0 Posted August 19, 2010 Author Report Share Posted August 19, 2010 (edited) The last version (1.5.0) is publish on LAVAG (here). This version have few new features (like undo and replace buttons, direct comment edition,....) And completely rewrite with a JKI state machine obviously. Enjoy Cheers Eric Edited August 19, 2010 by Eric BOBILLIER Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.