AnsweredAssumed Answered

vrf Vee serious error (was: DotNet event handling)

Question asked by paul.fowler on Jun 28, 2006

<font size=2 face="sans-serif">
Hi Shaun,</font>

<font size=2 face="sans-serif">You can certainly code around this problem,good practice or not, but that's not the point.</font>

<font size=2 face="sans-serif">VEE is a dataflow VPL - it's not supposedto flow if there isn't any data.</font>

<font size=2 face="sans-serif">In other words - VEE objects shouldonly execute if their input requirements are satisfied - this is a fundamental'rule' of VEE.</font>

<font size=2 face="sans-serif">In this case: the junction is executingeven though it has no data on its inputs; the object immediately followingthe junction is then attempting to execute, also with no data on its inputs,causing an error.</font>

<font size=2 face="sans-serif">In fact - it's not even an error inthis case. Errors are catchable. It actually throws what used to be describedas a BRB (Big Red Box), otherwise known as a "wobbly".</font>

<font size=2 face="sans-serif">Cheers</font>
<font size=2 face="sans-serif">Paul F.</font>



<table border width=100%><tr valign=top><td width=13% bgcolor=#004200><div align=center><font size=1 color=#004200 face="Arial"><b>"Harwood,Shaun" |shaun.harwood@siemens.com></b></font></div><td width=73% bgcolor=white><div align=center><font size=2 face="Times New Roman"><b>Document Markedas Unclassified</b></font></div><td width=12% bgcolor=#004200><div align=center></div></table>
<table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>"Harwood, Shaun"|shaun.harwood@siemens.com></b> </font><p><font size=1 face="sans-serif">28/06/2006 15:40</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to
"Harwood, Shaun" |shaun.harwood@siemens.com></font></div></table>
<td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">VRF |vrf@agilent.com></font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">RE: [vrf] Vee serious error (was: DotNetevent handling)</font></table>
<table><tr valign=top><td><td></table>
</table>


<font size=2 color=blue face="Arial">Hi</font>
<font size=3> </font>
<font size=2 color=blue face="Arial">I see the junction propagatingthe nil value but I'm afraid I am having a hard time understanding whythis would cause a problem.  The second error pin would(should?) behooked up to an error catching routine (bad practice to mask errors I think)to handle a situation where declared variables are not initialised (alsobad practice I think).  Unless I am totally missing the point (andthat has happened a few times) this would appear to be a problem whichgood programming practice would solve - after all, C, VB or any other languageI can think of will write good code on its own - I've had errors with DirectX graphics stuff which have required a full system reboot  - thatis until I got the error handlers catching everything.</font>
<font size=3> </font>
<font size=2 color=blue face="Arial">Just my 2 cents</font>
<font size=3> </font>
<font size=3> </font>
<font size=2 color=blue face="Arial">Shaun H</font>

<hr><font size=2 face="Tahoma"><b>From:</b> Soeren.Hedemand@nokia.com [mailto:Soeren.Hedemand@nokia.com]<b>
Sent:</b> Wednesday, June 28, 2006 9:45 AM<b>
To:</b> VRF<b>
Subject:</b> [vrf] Vee serious error (was: DotNet event handling)</font><font size=3>
</font>
<font size=2 color=blue face="Arial">Hi all.</font>
<font size=3> </font>
<font size=2 color=blue face="Arial">Attached is the worst demonstrationof the problem, that I've been able to design. It produces red boxes onall versions of Vee, that I've been able to get my hands on.</font>
<font size=3> </font>
<font size=2 color=blue face="Arial">/Sren</font>

<hr><font size=2 face="Tahoma"><b>From:</b> ext bounce-4398784-978992@it.lists.it.agilent.com[mailto:bounce-4398784-978992@it.lists.it.agilent.com] <b>
Sent:</b> 2006-06-27 17:42<b>
To:</b> VRF<b>
Cc:</b> vrf@agilent.com<b>
Subject:</b> RE: [vrf] DotNet event handling</font><font size=3>
</font>
<font size=2 face="sans-serif">
This was Soeren's bug originally - did you want to report it Soeren?</font><font size=3>
</font><font size=2 face="sans-serif">
If you haven't done so already, you can report it here...</font><font size=3>
</font><font size=2 face="sans-serif">
http://adn.tm.agilent.com/index.cgi?CONTENT_ID=881</font><font size=3>
</font><font size=2 face="sans-serif">
Cheers</font><font size=3> </font><font size=2 face="sans-serif">
Paul F.</font><font size=3>



</font><table border=4 width=100%><tr valign=top><td width=59% bgcolor=#004200><div align=center><font size=1 color=#004200 face="Arial"><b>"Street,Andy M" |andy.street@tycoelectronics.com></b></font></div><td width=38% bgcolor=white><div align=center><font size=2 face="Times New Roman"><b>Document Markedas Unclassified</b></font></div><td width=1% bgcolor=#004200></table>
<table width=100%><tr valign=top><td width=60%><font size=1 face="sans-serif"><b>"Street, Andy M"|andy.street@tycoelectronics.com></b> </font><p><font size=1 face="sans-serif">27/06/2006 14:05</font><font size=3></font><td width=39%>
<table width=100%><tr valign=top><td width=19%><div align=right><font size=1 face="sans-serif">To</font></div><td width=80%><font size=1 face="sans-serif">|Paul.Fowler@raytheon.co.uk></font><font size=3></font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">RE: [vrf] DotNet event handling</font></table>

<table width=100%><tr valign=top><td width=50%><td width=50%></table>
</table>
<font size=3>

</font><font size=2 color=blue face="Arial">
Wow...  Yes, I think this should be nailed up as a bug....!</font><font size=3>

</font><hr><font size=2 face="Tahoma"><b>From:</b> Paul.Fowler@raytheon.co.uk[mailto:Paul.Fowler@raytheon.co.uk] <b>
Sent:</b> Tuesday, June 27, 2006 9:02 AM<b>
To:</b> VRF<b>
Subject:</b> RE: [vrf] DotNet event handling</font><font size=3>
</font><font size=2 face="sans-serif">

Hi Andy,</font><font size=3> </font><font size=2 face="sans-serif">

Yes, looks like the junction is 'propagating' something when it shouldn't.

If you put another object that behaves itself after "Get DecVar2"then the junction doesn't execute.</font><font size=3> </font><font size=2 face="sans-serif">

Attached is a more impressive example.</font><font size=3> </font><font size=2 face="sans-serif">

I am running version 7.51.7801.0 here...</font><font size=3> </font><font size=2 face="sans-serif">

Cheers</font><font size=3> </font><font size=2 face="sans-serif">
Paul F.</font><font size=3>



</font><table border=4 width=100%><tr valign=top><td width=59% bgcolor=#004200><div align=center><font size=1 color=#004200 face="Arial"><b>"Street,Andy M" |andy.street@tycoelectronics.com></b></font></div><td width=38% bgcolor=white><div align=center><font size=2 face="Times New Roman"><b>Document Markedas Unclassified</b></font></div><td width=1% bgcolor=#004200></table>
<table width=100%><tr valign=top><td width=61%><font size=1 face="sans-serif"><b>"Street, Andy M"|andy.street@tycoelectronics.com></b> </font><p><font size=1 face="sans-serif">27/06/2006 13:28</font><font size=3></font>
<table border=4 width=100%><tr valign=top><td width=100% bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to
"Street, Andy M" |andy.street@tycoelectronics.com></font></div></table>
<td width=38%>
<table width=100%><tr valign=top><td width=20%><div align=right><font size=1 face="sans-serif">To</font></div><td width=79%><font size=1 face="sans-serif">VRF |vrf@agilent.com></font><font size=3></font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">RE: [vrf] DotNet event handling</font></table>
<font size=3>
</font>
<table width=100%><tr valign=top><td width=50%><td width=50%></table>
</table>
<font size=3>

</font><font size=2 color=blue face="Arial">

Hi Paul,</font><font size=3>
</font><font size=2 color=blue face="Arial">
I think you are right in that it is a problem with the junction objectfor the second thread.  If you put an asInt32(a) object between thedata output and the junction input (try to cast the nil output) for bothDecVar1 and DecVar2, then there is no error.....</font><font size=3>
</font><font size=2 color=blue face="Arial">
Andy</font><font size=3>

</font><hr><font size=2 face="Tahoma"><b>From:</b> Paul.Fowler@raytheon.co.uk[mailto:Paul.Fowler@raytheon.co.uk] <b>
Sent:</b> Tuesday, June 27, 2006 5:04 AM<b>
To:</b> VRF<b>
Cc:</b> VRF<b>
Subject:</b> RE: [vrf] DotNet event handling</font><font size=2 face="sans-serif">


How peculiar...</font><font size=3> </font><font size=2 face="sans-serif">

Could possibly be a problem with the junction object. I have attached afurther example to demonstrate.</font><font size=3> </font><font size=2 face="sans-serif">

This one could prove really annoying, Have you submitted a bug report yet?</font><font size=3></font><font size=2 face="sans-serif">

Cheers</font><font size=3> </font><font size=2 face="sans-serif">
Paul F.</font><font size=3>


</font><table border=4 width=100%><tr valign=top><td width=48% bgcolor=#004200><div align=center><font size=1 color=#004200 face="Arial"><b>|Soeren.Hedemand@nokia.com></b></font></div><td width=49% bgcolor=white><div align=center><font size=2 face="Times New Roman"><b>Document Markedas Unclassified</b></font></div><td width=1% bgcolor=#004200></table>
<table width=100%><tr valign=top><td width=50%><font size=1 face="sans-serif"><b>|Soeren.Hedemand@nokia.com></b></font><p><font size=1 face="sans-serif">27/06/2006 08:53</font><font size=3></font>
<table border=4 width=100%><tr valign=top><td width=100% bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to
|Soeren.Hedemand@nokia.com></font></div></table><p><td width=49%>
<table width=100%><tr valign=top><td width=20%><div align=right><font size=1 face="sans-serif">To</font></div><td width=79%><font size=1 face="sans-serif">VRF |vrf@agilent.com></font><font size=3></font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">RE: [vrf] DotNet event handling</font></table>
<font size=3>

</font>
<table width=100%><tr valign=top><td width=50%><td width=50%></table>
</table>
<font size=3>

</font><font size=2><tt>


Hi Shawn.

Unfortunately, this patch doesn't fix the "unconnected errorpin issue",
that I've written about earlier. See attached file, which runs fine with
Vee version 6.01, but gives a runtime error with version 7.5x

-----Original Message-----
From: ext Shawn Fessenden [mailto:shawnfess@comcast.net]
Sent: 2006-06-26 21:59
To: VRF
Subject: RE: [vrf] DotNet event handling

> or is Vee getting mixed up with the underscores, or am I missing
something.?

VEE's getting mixed up. Install the latest patch (7.52.8524.1, Jan
2006). And for goodness sake, *don't* forget to patch runtime like I
did!
-SHAWN-

---
You are currently subscribed to vrf as: Paul.Fowler@raytheon.co.uk
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".[attachment"Oink.vee" deleted by Paul Fowler/H9569/RAYTHEONUK] </tt></font><font size=3>
--- You are currently subscribed to vrf as: andy.street@tycoelectronics.comTo subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body. To unsubscribe send a blankemail to "leave-vrf@it.lists.it.agilent.com". To send messagesto this mailing list, email "vrf@agilent.com". If you need helpwith the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: Paul.Fowler@raytheon.co.uk
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
--- You are currently subscribed to vrf as: andy.street@tycoelectronics.comTo subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body. To unsubscribe send a blankemail to "leave-vrf@it.lists.it.agilent.com". To send messagesto this mailing list, email "vrf@agilent.com". If you need helpwith the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
--- You are currently subscribed to vrf as: Soeren.Hedemand@nokia.com Tosubscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body. To unsubscribe send a blankemail to "leave-vrf@it.lists.it.agilent.com". To send messagesto this mailing list, email "vrf@agilent.com". If you need helpwith the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: shaun.harwood@siemens.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: Paul.Fowler@raytheon.co.uk
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</font>
---You are currently subscribed to vrf as: rsb@soco.agilent.comTo subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list,  email "vrf@agilent.com".  If you need help with the mailing list send a message to"owner-vrf@it.lists.it.agilent.com".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".  

Outcomes