05-18-2016 03:05 PM
Hello
I am following the tutorial
http://www.ni.com/tutorial/11199/en/
in step 21
21. To complete the real-time application, place a copy of each variable in the startup frame with default values wired to them as shown. Also place a Wait (ms) function in the regular while loop with a value of 100 to time the network publishing.
Would you please elaborate on this step
Also in the below photo at the left frame flat structure they add shared variabled called loop comm which is not in the project
any explaination?
Thanks
05-18-2016 03:13 PM
See below. If it doesn't answer you questions, then please be more specific in your questions.
@Ihab wrote:
Hello
I am following the tutorial
http://www.ni.com/tutorial/11199/en/
in step 21
21. To complete the real-time application, place a copy of each variable in the startup frame with default values wired to them as shown. Also place a Wait (ms) function in the regular while loop with a value of 100 to time the network publishing.
Right click. Create Constant on the shared variables.
Would you please elaborate on this step
Also in the below photo at the left frame flat structure they add shared variabled called loop comm which is not in the project
any explaination?
Thanks
It is in the project under the library RTComm.lvlib under the RT target.
05-18-2016 04:00 PM
Ok
Thanks I accept part one as solution for default values for shared variables
But part two No,
It was named "Data Buffer " not "comm Loop" as below - please check
05-18-2016 04:15 PM
I saw it in the project in the "Scan Mode" directory in the download from the page you linked to.
How did you get that image if you didn't download the code?
05-18-2016 04:33 PM
It is very simple
I did not download the code
I build it following the steps
in the pdf file
I copied the photo from the browser
Now \I downloaded the code and I have seen it
It means it needs to be corrected in the tutorial pdf
and also
one more part
is to add shared variable access mode read or write must also be added
Thanks