Disappearing algorithm after Editing

10 views
Skip to first unread message

Pol Gleis

unread,
Jul 12, 2011, 4:23:33 AM7/12/11
to FBDK
Hy,

When I edit an existing algorithm in of a functionblock, (for example
the REQ algorithm of the Basic FB) and then save it in XML, the
algorithm disappears. (It disappears the XML window, and saving to
java says " cannot find symbol : method alg_REQ()" )

I guess i m doing something wrong.

can somebody help me?

Thanks,

(I m using XP SP3 and JDK 6 26)

James Christensen

unread,
Jul 12, 2011, 2:17:09 PM7/12/11
to fb...@googlegroups.com
Try exactly the following steps. Works for me.

1. Start a new BasicFB.
2. Double-click on the root node of the navigation tree and change the
FB name to "TEST_ALG_REQ" with an appropriate comment.
3. Edit the REQ algorithm to:
QO := NOT QI;
4. Save the algorithm by clicking the OK button in the editor window.
(At this point the REQ algorithm should be present in the XML, src
and Java tabs)
5. Change the header in CompilerInfo to:
package fb.rt.student;
(remember to hit the Enter key after changing the package and
before hitting the OK button)
6. Save as XML and Java.
7. Run.

Attached is the associated XML file.
--
Best regards,
Jim Christensen

TEST_REQ_ALG.fbt

Pol Gleis

unread,
Jul 13, 2011, 5:40:47 AM7/13/11
to FBDK
Hy,

I opened the algorithm editing dialogue via the context menu of the
navigation tree
When i open it with a double click it works

thank you

Pol


On Jul 12, 8:17 pm, James Christensen <james.h.christen...@gmail.com>
wrote:
>  TEST_REQ_ALG.fbt
> 3KViewDownload

James Christensen

unread,
Jul 13, 2011, 10:16:21 AM7/13/11
to fb...@googlegroups.com
Aha! You're right - the problem is in the context menu. It will be
fixed in the next FBDK release.
--
Schoenen Dank!
- Jim Christensen
Reply all
Reply to author
Forward
0 new messages