AnsweredAssumed Answered

vrf AW: developing with libraries

Question asked by VRFuser on May 21, 2003
Rich,
I do not completly understand your problem.

If SUB1 and SUB2 are in the same library INST1, SUB1 can call SUB2 directly
by calling "SUB2"
This works from the main program of INST1 as well as from any program which
imports INST1, because SUB2 is called from a function in INST1 in every
case.

I found working with libraries is most effective if I first check the
functions of the libraries by calling them directly from the libraries own
main.
If I am done, I start using the library from another program's main with
qualified calls like "INST1.SUB1". Of course I have to change the calls, if
I copy objects from the libraries main to the new main.

Hartmut


-----Ursprngliche Nachricht-----
Von: Richard Kleinhenz [mailto:scubaman@us.ibm.com]
Gesendet: Mittwoch, 21. Mai 2003 14:20
An: VEE vrf
Betreff: [vrf] developing with libraries






I need some advice on working with libraries.  I would like to have
instrument dependent subroutines in separate libraries, to be loaded during
runtime.  If a specific instrument subroutine SUB1 needs to call another
instrument subroutine SUB2 in the same library INST1, I am running into
some gotchas during development.  For the call to work in the main program,
the call needs to be to INST1.SUB2.  But now, I can't play around in LIB1
directly, debugging, because if I call SUB1 in a test MAIN mdule, it calls
INST1.SUB2 which does not work.  It needs to call SUB2 directly.  So I
started making a SUB1local version also, for debugging.  But this quickly
gets out of hand, having each routine twice.

Maybe I am missing some basic feature.  How do others develop instrument
driver libraries?
--
Regards,
Rich
===================
Richard Kleinhenz
Wafer Engineering
845-892-2617
scubaman@us.ibm.com
===================


---
You are currently subscribed to vrf as: Hartmut.Gohdes@rfsworld.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".

If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes