Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Problem occurres when testing(Communication Problem: null)
Problem occurres when testing [message #1743254] Tue, 13 September 2016 15:25 Go to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Hello to all!

After I've started forte.exe and check my application an error occurred.
When I view all Inputs (INIT and so on) there is "N/A".
I'm now using the new version 1.8 - in 1.8M1 it works fine.

I get this:
The following report will be sent to Eclipse:

------
STATUS
------
pluginId org.fordiac.monitoring
pluginVersion 1.0.0.201608101255
code 0
severity 4
message HIDDEN
fingerprint 1675d76ef3f70815a623133dfca20cea

Exception:java.io.EOFException: null
at java.io.DataInputStream.readByte(null:-1)
at org.fordiac.monitoring.communication.TCPCommunicationObject.sendRequest(TCPCommunicationObject.java:121)
at org.fordiac.monitoring.communication.TCPCommunicationObject.addWatch(TCPCommunicationObject.java:210)
at org.fordiac.monitoring.SystemMonitoringData.sendAddWatch(SystemMonitoringData.java:124)
at org.fordiac.monitoring.EnableSystemMonitoringRunnable.addWatches(EnableSystemMonitoringRunnable.java:80)
at org.fordiac.monitoring.EnableSystemMonitoringRunnable.run(EnableSystemMonitoringRunnable.java:45)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

------
REPORT
------
anonymousId 6c2042d1-5c1a-4799-a34d-79acce1132c0
name
email
comment
eclipseBuildId 1.8.0
eclipseProduct org.fordiac.ide.product
javaRuntimeVersion 1.8.0_101-b13
osgiWs win32
osgiOs Windows10
osgiOsVersion 10.0.0
osgiArch x86_64
severity UNKNOWN

-------
BUNDLES
-------
name org.eclipse.jface
version 3.12.0.v20160518-1929

name org.fordiac.monitoring
version 1.0.0.201608101255

[Updated on: Wed, 14 September 2016 12:41]

Report message to a moderator

Re: Problem occurres when testing [message #1743322 is a reply to message #1743254] Wed, 14 September 2016 10:48 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
Hi,

thanks for reporting this. After looking at the code the error message itself my be a false positive. Does the monitoring in general work when ignoring it? If not do you have an example how I can reproduce the problem?

BTW: with the new error reporting you can also just press the submitt button and it will be send to a server at Eclipse.org where we can analyse, comment and generate Bugzilla issues from it. This may be even more convinient then posting it into the forum.

Alois
Re: Problem occurres when testing [message #1743325 is a reply to message #1743322] Wed, 14 September 2016 11:50 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Dear Alois,

thank you for your answer. I will use the error reporting next time.
For a better explaination of the issue I will turn to german language by telling step-by-step:

1) Ich habe in 4DIAC eine Applikation bestehend aus mehreren FBs (Basic, Composite, Subscriber/Publisher mit ID fbdk[].mqtt[tcp://localhost:1883, forte, xyz])
2) Die dazugehörigen FBs wurden exportiert, mit CMAKE generiert und VS kombiliert - keine Fehler forte.exe
3) Nun starte ich in 4DIAC die lokale Forte, wähle die Applikation und klicke auf Download.
4) Interessant dabei, im rechten unteren Bereich "Console", wo in der Version 1.8M1 immer in rot Text stand, kommt bei der Version 1.8 nichts - dies nur am Rande.
5) Ich wähle im Menu "Online" das System aus
6) In der Applikation klicke auf einen beliebigen Block - "Show all" - und bei den In- und Outputs steht N/A, was bis jetzt nie so war.
- es hat den Eindruck als ob die FORTE Probleme macht...

Best, Wolfgang
  • Attachment: example.jpg
    (Size: 241.20KB, Downloaded 72 times)

[Updated on: Wed, 14 September 2016 14:30]

Report message to a moderator

Re: Problem occurres when testing [message #1743368 is a reply to message #1743325] Wed, 14 September 2016 14:59 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Maybe the problem is the exported OSCAT library and so on? When compiling i get several errors!

..\..\..\src\modules\OSCAT\Control\FB_FT_PIWL2.cpp(59): error C3861: "T_PLC_US": Bezeichner wurde nicht gefunden.
4>..\..\..\src\modules\OSCAT\Control\FB_FT_PIWL2.cpp(69): error C3861: "T_PLC_US": Bezeichner wurde nicht gefunden.
4>..\..\..\src\modules\OSCAT\Control\FB_FT_PIWL2.cpp(75): error C3861: "T_PLC_US": Bezeichner wurde nicht gefunden.
odules\OSCAT\Control\F_CTRL_IN.cpp(43): error C2065: 'CTRL_IN': nichtdeklarierter Bezeichner
4>..\..\..\src\modules\OSCAT\Control\F_CTRL_IN.cpp(43): error C3861: "DEAD_ZONE": Bezeichner wurde nicht gefunden.
Re: Problem occurres when testing [message #1743372 is a reply to message #1743368] Wed, 14 September 2016 15:21 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
Hi,

this looks really like it is the issue. When you download your application are you getting no such type errors? Maybe there was some hand made adjustments in the OSCAT code. I have to talk with Monika who did most of the work. In the meantime a quick fix would be to just copy the OSCAT directory from the last 1.7 release to the 1.8 release. FB code has not changed and it should complie.

ALois
Re: Problem occurres when testing [message #1743373 is a reply to message #1743372] Wed, 14 September 2016 15:34 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
I will give it try.

Best, Wolfgang
Re: Problem occurres when testing [message #1743421 is a reply to message #1743373] Thu, 15 September 2016 10:06 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Hi Alois,

I copied the OSCAT directory from 1.7 to 1.8. No Errors! Neither in VS nor when downloading.
But when I'm starting to monitor the application the in- and outputs show grayed "N/A" - please see IMG.
  • Attachment: preview.jpg
    (Size: 186.03KB, Downloaded 92 times)

[Updated on: Thu, 15 September 2016 10:41]

Report message to a moderator

Re: Problem occurres when testing [message #1743473 is a reply to message #1743421] Thu, 15 September 2016 18:15 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
This is very strange. After my tests the new monitoring seemed to work much better then the old and not the other way round.

Could you be so kind and delete the .log file in your metadata directory and then perform the whole test again. Maybe then we can see somthing in the logfile that helps us to trace the issue down.

Thanks,
Alois
Re: Problem occurres when testing [message #1743509 is a reply to message #1743473] Fri, 16 September 2016 06:23 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
Hi Alois,

attached you can find the log.

Best,
Wolfgang
  • Attachment: log.txt
    (Size: 23.16KB, Downloaded 46 times)

[Updated on: Fri, 16 September 2016 06:23]

Report message to a moderator

Re: Problem occurres when testing [message #1743555 is a reply to message #1743509] Fri, 16 September 2016 10:34 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
Hi Wolfgang,

it looks like that the communication between the ide and your FORTE breaks down. Is your device crashing during monitoring or during download?

Alois
Re: Problem occurres when testing [message #1743562 is a reply to message #1743555] Fri, 16 September 2016 12:15 Go to previous messageGo to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 24
Registered: April 2016
Junior Member
As I can see, when I'm starting forte.exe and press download, I'm missing all lines in the console:
for example:
...
TRACE: T#02647ms: InputEvent: Function Block (SVR) got event: 1 (maxid: 1)
TRACE: T#02647ms: Starting ECTRACE: T#02647ms: CEventChainExecutionThread::startEventChain
TRACE: T#02647ms: InputEvent: Function Block (SVR) got event: 254 (maxid: 1)
TRACE: T#02647ms: OutputEvent: Function Block sending event: 1 (maxid: 1)
TRACE: T#02647ms: InputEvent: Function Block (MGR) got event: 1 (maxid: 1)
TRACE: T#02647ms: OutputEvent: Function Block sending event: 1 (maxid: 1)
and so on
....

forte is running and not breaking down.
Re: Problem occurres when testing [message #1743907 is a reply to message #1743562] Tue, 20 September 2016 14:09 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 617
Registered: January 2014
Senior Member
I spend over the weekend some time on testing this issue with different setup but so far I couldn't reproduce the issue. Do you have a simple test setup which would allow me to reproduce the problem?

thanks,
Alois
Previous Topic:How to program x ^ y in Structured Text
Next Topic:Broken download link?
Goto Forum:
  


Current Time: Mon Aug 20 06:56:25 GMT 2018

Powered by FUDForum. Page generated in 0.02665 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top