I ported forte onto QNX and feel very glad. As a newbie, the good simple
example Xplus3 is used to test for me. And MICROCONTROLLER is the QNX
device, the PC is 4DIAC-IDE host.
Because the example is configured with localhost environment. I change
the MGR_ID of MICROCONTROLLER to be "10.144.114.178:61499" and do the
test as following:
Although the answer is correct, I have a question.
I check the captured datagram using Wireshark. It turns to to have two
datagrams sent from 10.144.114.81(localhost) to 126.96.36.199. One is the
input value, i.e. 3, and the other is output value, i.e. 6. I have
thought that firstly the input value should be sent from 10.144.114.81
to 10.144.114.178, and the output value should be sent from
10.144.114.178 to 10.144.114.81. But I did not find these datagrams. Why?
I can't take a look on the Xplus3 example right now, but based on the IP address you reported I am quite positive that the example uses Publish/Subscribe FBs and the IP address 188.8.131.52 is the used multicast address for the Publish/Subscribe pair.
You can check this by opening tha application and check the PARAMS data input of the FBS
How did you start the FORTE on your QNX device? A thing that is a little misleading in the documentation (we plan to improve it) is that you can not use the deployment perspective to remotely start FORTE on a remote device.
So in oder that you can download an application part from the 4DIAC-IDE to a remote device you need to set the MGR_ID in the system configuration as you did it.
Then you need to ensure that FORTE is running on your device. This is device specific. Some devices will start FORTE on boot for others you have to manually start it (e.g. connect with a remote shell or telnet). Then you can go to the deployment perspective, id needed launch an FBRT for the GUI and then deploy the system.
From the numbers you are reporting it seams that your FORTE is running on your PC.
I hope this helps,
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.