diff --git a/src/tutorials/distribute4diac.adoc b/src/tutorials/distribute4diac.adoc index c489c76..a94fda5 100644 --- a/src/tutorials/distribute4diac.adoc +++ b/src/tutorials/distribute4diac.adoc @@ -104,19 +104,13 @@ The first is a UDP multi-cast address use to send messages between devices, and == [[startDevices]]Start Both Devices -Change to the Deployment Perspective. - -. Set the Port to 61499 (the same as defined before, remember localhost:61499 in the System Configuration Editor?). -. Launch Local 4diac FORTE. -. You should see the location of your 4diac FORTE and the Terminate button enabled in the Console. -. Set the Port to 61500 (the same as defined before, remember localhost:61500 in the System Configuration?) -. Launch Local 4diac FORTE -. You should see the the location of your 4diac FORTE and the Terminate button enabled in the Console. -. Select the elements to deploy. For this tutorial select our devices _Counter_ and _Testee_. -. Click the [.button4diac]#Deploy# button. -. Check that the _Deployment Console_ shows some output, and that no red warning appears on the right nor left of it. If you get something red, something went wrong. +Open two local consoles -image:./img/Step2/deployCounter.png[deploying of the application] +. Navigate to the folder where the forte executable is saved. +. Open Forte with port 61499 and in the other cmd window with port 61500. +. The command looks like this: forte.exe -c localhost:port +. Select the elements to deploy. For this tutorial select our devices _Counter_ and _Testee_. +. Start the program by clicking the green execute button. == [[testApplication]]Test it! diff --git a/src/tutorials/img/Step1/deploymentExample.png b/src/tutorials/img/Step1/deploymentExample.png deleted file mode 100644 index f88f61d..0000000 Binary files a/src/tutorials/img/Step1/deploymentExample.png and /dev/null differ diff --git a/src/tutorials/img/Step2/deployCounter.png b/src/tutorials/img/Step2/deployCounter.png deleted file mode 100644 index 2508cc4..0000000 Binary files a/src/tutorials/img/Step2/deployCounter.png and /dev/null differ diff --git a/src/tutorials/img/clearDeploymentConsole.png b/src/tutorials/img/clearDeploymentConsole.png deleted file mode 100644 index b09a154..0000000 Binary files a/src/tutorials/img/clearDeploymentConsole.png and /dev/null differ diff --git a/src/tutorials/use4diacLocally.adoc b/src/tutorials/use4diacLocally.adoc index c16094a..e622503 100644 --- a/src/tutorials/use4diacLocally.adoc +++ b/src/tutorials/use4diacLocally.adoc @@ -118,7 +118,7 @@ Drag and Drop a from the Palette. Connect them by clicking on one and dragging to the other. -The segment is divided in two areas, the left is for moving, the right for connections. +The segment is divided in two areas, the upper area is for moving and the lower area for connections. The device can be connected by clicking on the device type (second row). One `EMB_RES` resource is already present in the device. The `MGR_ID` value of `localhost:61499` specifies the `IP:PORT` where the device will run. @@ -217,27 +217,10 @@ You can either build your own 4diac FORTE as xref:..//installation/install.html You can save the .exe wherever you like, we have chosen `F:\4diac\4diac IDE\`. Go to [.menu4diac]#Windows → Preferences → 4diac IDE → FORTE Preferences#, and in [.addressDoc]#FORTE Location# look for the 4diac FORTE executable and then click _Apply and Close_. + image:./img/Step1/selectForte.png[select your 4diac FORTE,width=600] -. Change to the _Deployment Perspective_ using the image:./img/perspective/deploymentButton.gif[Deployment Perspective Button] button. -. Set the port to 61499 (the same define before, remember [.address]#localhost:61499# in the System Configuration?) -. [.button4diac]#Launch Local 4diac FORTE# -. You should see the the location of your 4diac FORTE and the *Terminate* button enabled in the Console. -. Select the elements to deploy. For this tutorial select our device `Testee`. - In case you have many devices with many resources, you can select the devices to deploy and even which resources to deploy. -. Click the [.button4diac]#Deploy# button -. Check that the _Deployment Console_ shows some output, and that no red warning appears on the right nor left of it. - If you get something red, something went wrong. - -image:./img/Step1/deploymentExample.png[deploying of the application] - -NOTE: With the runtime launcher you can only start run-time environments on your local development computer. -It is not possible to start run-time environments on remote computers or control devices. -In order to perform this task device specific means to start the run-time environment have to be performed. - -The _Deployment Console_ is automatically cleared before each download. -Furthermore, with the icon image:./img/clearDeploymentConsole.png[Clear Deployment Console] in the upper right corner of the _Deployment Console_ the deployment messages can be cleared. - -By selecting a Device or Resource the corresponding IEC 61499 element can be cleaned. -This means that the Device or Resource configuration are cleaned and reset to the default configuration without any Function Block Network. +. Start Forte locally on your computer and then simply run the program by clicking on the green arrow. (If you don't have a configuration yet, you can edit/create it with run configuration.) +. The console in 4diac should show the following output + + [.menu4diac]#Delete All Resources# leaves the Device empty, and [.menu4diac]#Kill Device# stops 4diac FORTE. You can deploy again after cleaning the Device.