JKI Discussion Forums
  • (2 Pages) +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

JKI state string Editor

#1
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09
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.screencas.../t/OGZkNTM4NzIt

Attached File  EBC_rcf_JKIStateEditor_1.0_1.ogp (224.54K)
Number of downloads: 106
0 kudos

#2
User is offline   Philippe Guerit 

  • Group: JKI Team
  • Posts: 55
  • Joined: 15-March 06

View PostEric BOBILLIER, on Apr 26 2010, 08:39 AM, said:

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.screencas.../t/OGZkNTM4NzIt

Attachment EBC_rcf_...or_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
0 kudos

#3
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09
Some Things like that:
Attached File  EBC_rcf_JKIStateEditor_1.0_2.ogp (212.9K)
Number of downloads: 92

I don't know if i can personnalize system buttons and put arrow image inside.

Eric

This post has been edited by Eric BOBILLIER: 26 April 2010 - 10:26 PM

0 kudos

#4
User is offline   TiTou 

  • Group: Members
  • Posts: 45
  • Joined: 13-March 07
  • Gender:Male
  • Location:Geneva, Switzerland

View PostEric BOBILLIER, on Apr 26 2010, 11:57 PM, said:

Some Things like that:
Attachment EBC_rcf_...or_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!
_____________________________________
Antoine Châlons
A.K.A TiTou
0 kudos

#5
User is offline   Jim C 

  • Group: Members
  • Posts: 23
  • Joined: 01-November 08
  • Gender:Male
  • Location:North Carolina, USA, Earth
  • Interests:LabVIEW

View PostEric BOBILLIER, on Apr 26 2010, 10:39 AM, said:

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.
0 kudos

#6
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09

View PostTiTou, on Apr 27 2010, 08:12 AM, said:

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.


Attached File  JKI_State_Editor_8.5.zip (192.69K)
Number of downloads: 78

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

This post has been edited by Eric BOBILLIER: 27 April 2010 - 03:37 PM

0 kudos

#7
User is offline   TonP 

  • Group: Members
  • Posts: 104
  • Joined: 28-July 06
Here's a rather lengthy video showing that technique.

Ton

View PostEric BOBILLIER, on Apr 26 2010, 09:57 PM, said:

Some Things like that:
Attachment EBC_rcf_...or_1.0_2.ogp

I don't know if i can personnalize system buttons and put arrow image inside.

Eric

0 kudos

#8
User is offline   TonP 

  • Group: Members
  • Posts: 104
  • Joined: 28-July 06
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

Attached Image: JKI_state_editor_Main_FP.png
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.
Attached File  EBC_rcf_JKIStateEditor_1.1_1.ogp (229.85K)
Number of downloads: 84
Ton

This post has been edited by TonP: 28 April 2010 - 03:06 PM

0 kudos

#9
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09

View PostTonP, on Apr 28 2010, 05:05 PM, said:

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

This post has been edited by Eric BOBILLIER: 28 April 2010 - 04:10 PM

0 kudos

#10
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09
Hi Ton
I have find new bug on JKI State Editor - MenuSelection.Vi.
Please can you replace your vi by this :
Attached File  JKI_State_Editor_MenuSelection.vi (36.3K)
Number of downloads: 101

Regards
Eric
0 kudos

#11
User is offline   TonP 

  • Group: Members
  • Posts: 104
  • Joined: 28-July 06
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
0 kudos

#12
User is offline   Philippe Guerit 

  • Group: JKI Team
  • Posts: 55
  • Joined: 15-March 06

View PostEric BOBILLIER, on Apr 28 2010, 10:09 AM, said:

Hi Ton
I have find new bug on JKI State Editor - MenuSelection.Vi.
Please can you replace your vi by this :
Attachment JKI_Stat...election.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).

Attached Image: 4_28_2010_11_48_57_AM.png

Philippe
0 kudos

#13
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09

View PostTonP, on Apr 28 2010, 08:14 PM, said:

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
0 kudos

#14
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06
This is a great tool, Eric! I love that you used the JKI State Machine inside your JKI State Machine Editor.
0 kudos

#15
User is offline   Philippe Guerit 

  • Group: JKI Team
  • Posts: 55
  • Joined: 15-March 06

View PostEric BOBILLIER, on Apr 28 2010, 03:48 PM, said:

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

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
0 kudos

#16
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09

View PostPhilippe Guerit, on Apr 30 2010, 01:09 AM, said:

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

This post has been edited by Eric BOBILLIER: 30 April 2010 - 09:29 AM

0 kudos

#17
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09
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.

Attached File  modify_string.vi (10.22K)
Number of downloads: 71Attached File  test_string.vi (4.2K)
Number of downloads: 68

I don't see how modify my plugin to solve this issue.
Eric
0 kudos

#18
User is offline   Philippe Guerit 

  • Group: JKI Team
  • Posts: 55
  • Joined: 15-March 06
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
0 kudos

#19
User is offline   TonP 

  • Group: Members
  • Posts: 104
  • Joined: 28-July 06
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.

View PostEric BOBILLIER, on Apr 28 2010, 05:09 PM, said:

Hi Ton
I have find new bug on JKI State Editor - MenuSelection.Vi.

View PostPhilippe Guerit, on Apr 28 2010, 06:54 PM, said:

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:
Attached Image: JKI_state_editor_Main_FP.png

Ton

This post has been edited by TonP: 10 May 2010 - 10:24 AM

0 kudos

#20
User is offline   Eric BOBILLIER 

  • Group: Members
  • Posts: 19
  • Joined: 19-November 09
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
Attached Image: monthly_05_2010/post-2807-1273494862.jpg
0 kudos

Share this topic:


  • (2 Pages) +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic