Experimental Physics and Industrial Control System
|
How to perform "for loop" in VDCT?
I want to try this program in VDCT . float avg;
int sum=0;int i,j;
for (i=0;i<20;i++) {
for(j=0;j<10;j++) {
if(j%2==0) {
sum=sum+100;
}
else {
diff=-100;
}
avg=(sum+diff)/10;
printf("%f",avg);
}
}
what type of record and field is used for this program in VDCT?
please provide me solution?
Thanks in advance......
- Replies:
- RE: How to perform Loop in VDCT Dalesio, Leo
- RE: How to perform Loop in VDCT Mooney, Tim M.
- Navigate by Date:
- Prev:
Problem Related to X-Y graph priya tiwari
- Next:
RE: How to perform Loop in VDCT Dalesio, Leo
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Problem Related to X-Y graph priya tiwari
- Next:
RE: How to perform Loop in VDCT Dalesio, Leo
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|