AnsweredAssumed Answered

vrf Can someone explain this behavior?

Question asked by alexander.poulikakos on Jan 10, 2006
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.84"><TITLE>RE: [vrf] Can someone explain this behavior?</TITLE></HEAD><BODY><!-- Converted from text/rtf format --><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Hi Reiner</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Yes, this must be the reason</FONT><FONT SIZE=2 FACE="Arial">, thanks for pointing this out to me :o)</FONT></SPAN><BR><SPAN LANG="sv"><B><FONT SIZE=2 FACE="Arial">"While waiting for the next time period to begin, On Cycle "sleeps" allowing other objects on this or other threads to operate."</FONT></B></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">I still think the behavior is kind of confusing though…….</FONT></SPAN></P><BR><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">/Alex</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">-----Original Message-----</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">From: Schlieker, Reiner [</FONT></SPAN><A HREF="mailto:reiner.schlieker@siemens.com"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">mailto:reiner.schlieker@siemens.com</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">] </FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Sent: den 10 januari 2006 18:01</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To: VRF</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Subject: RE: [vrf] Can someone explain this behavior?</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial"> Alex,</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Well, in the second case the text boxes are attached to the output sequence pin of the ON CYCLE itself, not the Int32, so it behaves as you are expecting it to.  However, if you replace the ON CYCLE with a FOR COUNT in the first case, it works as expected.  I suspect the behaviour is due to the ON CYCLE and the event driven nature of this object.</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">...Yes, if you check the help for this object, it states:</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">"While waiting for the next time period to begin, On Cycle "sleeps" allowing other objects on this or other threads to operate."</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Strangely, if you set the input to 0 or -1 it still operates as before, even though it should now behave like an UNTIL BREAK.</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Reiner</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">-----Original Message-----</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">From: Alexander Poulikakos (KI/EAB)</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">[</FONT></SPAN><A HREF="mailto:alexander.poulikakos@ericsson.com"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">mailto:alexander.poulikakos@ericsson.com</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">]</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Sent: Tuesday, January 10, 2006 10:39 AM</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To: VRF</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Subject: RE: [vrf] Can someone explain this behavior?</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial"> </FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Hi VRF</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Yes, it seems as the input to the 'On Cycle' object is satisfied once the value is set. Why? Is this a bug within VEE?</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">See attachment. I would expect both threads to behave the same. 'A' and 'B' text objects should NOT execute, since the 'On Cycle' loop never stops. But for some reason in the first thread, the 'A' text object executes, without the 'On Cycle' loop has finished. The 'On cycle'</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">object must have some kind of bug on the input pin. OR???</FONT></SPAN></P><BR><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">/Alex</FONT></SPAN></P><BR><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">-----Original Message-----</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">From: Schlieker, Reiner [</FONT></SPAN><A HREF="mailto:reiner.schlieker@siemens.com"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">mailto:reiner.schlieker@siemens.com</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">]</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Sent: den 10 januari 2006 16:04</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To: VRF</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Subject: RE: [vrf] Can someone explain this behavior?</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial"> Well, I'm no expert in VEE program propagation, but, it would seem that it's because the input to the ON CYCLE is satisfied once the value is set.</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Since you're not connecting the sequence pin of the ON CYCLE to the text object, it's allowed to execute (as you can see, the text object that you do have connected to the sequence pin doesn't fire).</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Reiner</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">-----Original Message-----</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">From: Alexander Poulikakos (KI/EAB)</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">[</FONT></SPAN><A HREF="mailto:alexander.poulikakos@ericsson.com"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">mailto:alexander.poulikakos@ericsson.com</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">]</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Sent: Tuesday, January 10, 2006 7:35 AM</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To: VRF</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Subject: [vrf] Can someone explain this behavior?</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Hi VRF</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">See my attached example (VEE 7.03). I have an input to a "On Cycle"</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">object.</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">It seems as the input behaves as an asynchronous pin (somehow). How come??</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Is this correct? why has the last "Text Constant" executed while the Cycle loop is still on-going?</FONT></SPAN></P><BR><BR><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">/Alex</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">---</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">You are currently subscribed to vrf as: reiner.schlieker@siemens.com To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To unsubscribe send a blank email to</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">"leave-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To send messages to this mailing list,  email "vrf@agilent.com".  </FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Search the "unofficial vrf archive" at "</FONT></SPAN><A HREF="file://www.oswegosw.com/vrf_archive/"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.oswegosw.com/vrf_archive/</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">".</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">---</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">You are currently subscribed to vrf as:</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">alexander.poulikakos@ericsson.com To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To unsubscribe send a blank email to</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">"leave-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To send messages to this mailing list,  email "vrf@agilent.com".  </FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Search the "unofficial vrf archive" at "</FONT></SPAN><A HREF="file://www.oswegosw.com/vrf_archive/"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.oswegosw.com/vrf_archive/</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">".</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">---</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">You are currently subscribed to vrf as: reiner.schlieker@siemens.com To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To send messages to this mailing list,  email "vrf@agilent.com".  </FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Search the "unofficial vrf archive" at "</FONT></SPAN><A HREF="file://www.oswegosw.com/vrf_archive/"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.oswegosw.com/vrf_archive/</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">".</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">---</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">You are currently subscribed to vrf as: alexander.poulikakos@ericsson.com To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".</FONT></SPAN></P><P><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">To send messages to this mailing list,  email "vrf@agilent.com".  </FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</FONT></SPAN><BR><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">Search the "unofficial vrf archive" at "</FONT></SPAN><A HREF="file://www.oswegosw.com/vrf_archive/"><SPAN LANG="sv"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.oswegosw.com/vrf_archive/</FONT></U></SPAN></A><SPAN LANG="sv"><FONT SIZE=2 FACE="Arial">".</FONT></SPAN></P><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></HTML>  

Outcomes