Windows CR/LF and Linux CR

68 views
Skip to first unread message

carolyn

unread,
Mar 28, 2013, 11:48:05 AM3/28/13
to fb...@googlegroups.com
Has anyone used FBDK under Linux?
When I do a simple X+3 example from 4DIAC, enter works under Windows, but not under Ubuntu.
Generally return is CR/LF under windows and just CR under Linux.

Wonder where the enter key is accepted... via FBRT jar or user code 

Thanks

James Christensen

unread,
Mar 28, 2013, 12:20:28 PM3/28/13
to fb...@googlegroups.com
No guarantees on current version of FBDK. The old PC that I was using
for a Ubuntu test platform died.
Once the new version is fully tested and released under J2SE+Windows,
I will look at Ubuntu again.
In the meantime, what do you mean by "enter doesn't work"? Doesn't
trigger a button that has the focus, doesn't trigger an IND from an
IN_ANY text field, doesn't do a newline function in a text pane,
or...?
--
Best regards,
Jim Christensen

Carolyn Oates

unread,
Mar 28, 2013, 2:32:42 PM3/28/13
to fb...@googlegroups.com
Its x+3 4diac example.
Entry rmt_frame and output rmt_frame.
I enter a number like 5. No problem.
On windows I then press Enter key and the results shows.
On linux I then press Enter and nothing happens.

Thanks, Carolyn


--
You received this message because you are subscribed to the Google Groups "FBDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fbdk+uns...@googlegroups.com.
To post to this group, send email to fb...@googlegroups.com.
Visit this group at http://groups.google.com/group/fbdk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



James Christensen

unread,
Mar 28, 2013, 10:37:19 PM3/28/13
to fb...@googlegroups.com
source *.sys file?

Alois Zoitl

unread,
Mar 29, 2013, 2:16:11 PM3/29/13
to fb...@googlegroups.com
Hi,

I'm using both FBDK and 4DIAC under Linux. The mentioned 4DIAC example is working perfectly ok for me.

@Jim: This example has an IN_ANY configured to INT which sends via a PUBLISH_1 to a FORTE device there 5 is added to the number and the result is sent back via another PUBLISH_1 to the FBRT where it is displayed in an OUT_ANY FB.

Regarding your original problem. I would check if the communication FBs are sending and recieving. On FORTE you can use the Monitoring infrastructure. For the FBRT devcies I would add OUT_EVENT blocks to check if the events are happening. I hope this helps.

I hope this helps,
Alois

P.S.:  BTW the CR/LF and CR problem you are mentioning is only valid for text files.

James Christensen

unread,
Mar 29, 2013, 3:53:14 PM3/29/13
to FBDK
Thanks, Alois. I agree that the problem is most likely not with the Enter key. That could be checked by running the example in a single local Resource with connections from IN_ANY to ADD_INT to OUT_ANY. If that works, then the next step is to see if the Linux installation is correctly configured to handle the UDP communication used by the PUBLISH_x and SUBSCRIBE_x blocks.
-- 
Best regards,
Jim Christensen

Alois Zoitl

unread,
Apr 12, 2013, 2:48:03 AM4/12/13
to fb...@googlegroups.com
Jim,

if you need a tester on Linux I can offer myself.

Alois
Reply all
Reply to author
Forward
0 new messages