AnsweredAssumed Answered

vrf Execute Program (PC) "Wait for prog exit"

Question asked by VRFuser on Jul 16, 2002
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><TITLE>Execute Program (PC) "Wait for prog exit"</TITLE><META content="MSHTML 5.50.4915.500" name=GENERATOR></HEAD><BODY><DIV><SPAN class=263460517-17072002><FONT face=Arial color=#0000ff size=2>Hello Edward,</FONT></SPAN></DIV><DIV><SPAN class=263460517-17072002><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=263460517-17072002><FONT face=Arial color=#0000ff size=2>One way around this may be to convert the other programs being selected into libraries and then import and delete them on command.  This way when you exit the selected program you are still in the original one, plus instead of saving the data to a file to be read you can save it to a variable to be used whenever you wish.  This should not eat up the resources as you have mentioned.</FONT></SPAN></DIV><DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><DIV><SPAN class=263460517-17072002><FONT face=Arial color=#0000ff size=2>Maybe this will spark an idea that will work, good luck.</FONT></SPAN></DIV><P><FONT face=Verdana color=#000000 size=2>Scott Anderson<BR>Quality Analyst II<BR>ADC</FONT> <FONT face=Verdana size=2>Worldwide Operations<BR></FONT><FONT face=Verdana color=#000000 size=2>Tel : 952.403.8311</FONT> <BR><FONT face=Verdana color=#000000 size=2>Fax :</FONT> <FONT face=Verdana size=2>952.403.8520</FONT> <BR><FONT face=Verdana color=#000000 size=2>MS : 509</FONT> </P><P><FONT face=Verdana color=#000000 size=2></FONT> </P><P><B><FONT face=Verdana size=2>Learn about ADC - The Broadband Company at</FONT></B> </P><P><FONT face=Verdana size=2>Mailing Address:  P.O. Box 1101, Minneapolis, MN  55440-1101</FONT> <BR><FONT face=Verdana size=2>Office Address:  1187 Park Place, Shakopee, MN  55379</FONT> </P><BLOCKQUOTE>  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma   size=2>-----Original Message-----<BR><B>From:</B> Shaw, Edward   []<BR><B>Sent:</B> Wednesday, July 17, 2002   11:52 AM<BR><B>To:</B> ''<BR><B>Subject:</B> vrf Execute   Program (PC) "Wait for prog exit" <BR><BR></FONT></DIV>  <P><FONT face="Times New Roman">Hello,</FONT> </P>  <P><FONT face="Times New Roman">I wrote a VEE.vxe program that has a file   selection box that allows the operator to select and run other VEE.vxe   programs. The file selection program is continually running, so when the   selected program is done the operator can then select another program. In the   file selection program, I use the Execute Program (PC) to run the selected   programs. If I have the Execute Program (PC) property "Wait for prog exit" set   to "Yes", the operator selected program eats up all the system resources as it   is running. The individual programs all run fine on their own.</FONT></P>  <P><FONT face="Times New Roman">Each of the selected programs create a file   that is read by the file selection program, so I have to wait for the selected   program to finish before I read in the file. I had to work around this,   "eating up system resource problem", by setting the Execute Program (PC)   property "Wait for prog exit" set to "NO", and then adding a delay and a   message box to pause the file selection program to allow time for the selected   program to finish.</FONT></P>  <P><FONT face="Times New Roman">It's running on a Vee 6.0.1 Pentium II 128Mb   Ram with Windows98 system. </FONT></P>  <P><FONT face="Times New Roman">I'm curious about what is happening to the   system resources when the  Execute Program (PC) property "Wait for prog   exit" is set to "Yes" </FONT></P>  <P><FONT face="Times New Roman">Thanks,</FONT> </P>  <P><FONT face=Arial color=#000000 size=2>Ed Shaw </FONT><BR><FONT face=Arial   color=#000000 size=2>ATE Design Engineer </FONT></P>  <P><FONT face=Arial color=#000000 size=2>Comtech EFData Corporation   </FONT><BR><FONT face=Arial color=#000000 size=2>2114 West Seventh Street   </FONT><BR><FONT face=Arial color=#000000 size=2>Tempe, Arizona 85281   </FONT><BR><FONT face=Arial color=#000000 size=2>Tel. 480-333-2107   </FONT><BR><FONT face=Arial color=#000000 size=2>Fax 480-333-2161   </FONT><BR><FONT face=Arial color=#000000 size=2>   </FONT><BR><FONT face=Arial color=#000000 size=2><A target=_blank   href=""></A></FONT>   </P><BR><BR></BLOCKQUOTE></BODY></HTML>