EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How to perform Loop in VDCT
From: priya tiwari <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 13 Nov 2014 12:21:22 +0530
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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·