AnsweredAssumed Answered

vrf Some VEE code that works, and then doesn't...

Question asked by VRFuser on Oct 30, 2007
Kevin,

Looking at your code again - it could be that the "a div 8" path is not executed prior to the gate being fired from the "a mod 8"
path.  If this happens, when you get to the last formula it will sit there because there was no data available on the module pin thus program will hang.

Connect a sequence line from the bottom of the "a div 8" object to the top of the "a mod 8" object.  This will ensure that all the gates have data in them prior to your decision object "a ==-1" firing.  Vee executes in a top to bottom - left to right priority, so where the objects are on the page affects execution order. I have seen cases where the logic seems right in debug mode, but the computer chooses to execute in a different order when you run at full speed, hence the reason for connecting sequence pins.

Mike

***********************************************************
Michael N. Asbery                (202)404-3014, DSN 754
US Naval Research Laboratory      fax (202)404-7661
Code 5733.20                    michael.asbery@nrl.navy.mil
4555 Overlook Ave SW
Washington DC 20375                                    
***********************************************************
-----Original Message-----
From: Kevin Nievaart [mailto:Kevin.Nievaart@eng.monash.edu.au]
Sent: Monday, October 29, 2007 11:01 PM
To: VRF
Subject: Re: [vrf] Some VEE code that works, and then doesn't...

Les,
The full program requires an int32 input - hence my use of the slider.
Cheers,

Micheal,
Just to get the thing working, I placed all possible addresses (100 -
607) into a text array and I'm now using the int32 input to address the array.  However cheers for showing me the multiple formuli in a single box - that'll make alot of my programs look alot nicer...  I'll try that method out of curiousity and I'll let you know if I have the same issues.  Gotta run now though so I'll let you know how I go tomorrow.
Cheers everyone,

--
Kevin Nievaart
Materials Testing Officer

Dept. Civil Engineering
Monash University, Clayton Campus
Ph.  (03) 9905-1165
Fax  (03) 9905-1483


"It is known that there is an infinite number of worlds, simply because there is an infinite amount of space for them to be in.
However, not every one of them is inhabited. Therefore, there must be a finite number of inhabited worlds. Any finite number divided by infinity is as near to nothing as makes no odds, so the average population of all the planets in the universe can be said to be zero. From this it follows that the population of the universe is also zero, and that any people you may meet from time to time are
merely the product of a deranged imagination."   -   Douglas Adams



Les Hammer wrote:
>  >  When I put everything (except the int32 slider and the until
> break) into
>
>  
>> a user object and feed the output from the slider into the object,
>> again
>>    
> everything executes perfectly.
>  
>>  I only get incorrect execution when this very same user object is
>> placed into the program that communicates with the hpe1326,
>>    
>
> Is it still being fed by an int32 or is it getting some other type of
> data then?
>
> ~~Les Hammer
>
>
> ---
> You are currently subscribed to vrf as:
> kevin.nievaart@eng.monash.edu.au 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 "http://www.vrfarchive.com/vrf_archive".
> Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
>  

---
You are currently subscribed to vrf as: michael.asbery@nrl.navy.mil 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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".



---
You are currently subscribed to vrf as: ming_meng@agilent.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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes