<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.2713.1100" name=GENERATOR></HEAD><BODY><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=48304019-30042002>I do something similar. I create two libraries, "HP-XYZ.vee" and "HP-ABC.vee" interface functions of the same name. At initialization, I load the library related to the test set where the program is. The same rule can be applied when you temporarily put an equivalent equipment in the test set while the original one is being repaired or calibrated.</SPAN></FONT></DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV><FONT face="Times New Roman" size=2>-----Message d'origine-----<BR><B>De:</B> OSSMANN,BILL (A-hsgAndover,ex1) [mailto:bill_ossmann@hsgmed.com]<BR><B>Date:</B> 30 avril 2002 15:20<BR><BR></FONT></DIV> <DIV><FONT face="Courier New" size=2><SPAN class=265431219-30042002>This is a great use of User Function Libraries. Think about the basic tasls your program needs the analyzer to do. Then each of these tasks becomes a User Function in a library. Your program interacts with the analyzers only by calling the User Functions. Then the parts of the code you have to modify to change analyzers are all collected in one place, and the tasks are well defined. The functions can be very simple. For example, you might write a single User Function to set the frequency scale on the analyzer. If you follow this approach rigorously and NEVER use instrument I/O anywhere except in the library functions, then changing instruments becomes much easier.</SPAN></FONT></DIV> <DIV><FONT face="Courier New" size=2><SPAN class=265431219-30042002></SPAN></FONT> </DIV> <DIV><FONT face="Courier New" size=2><SPAN class=265431219-30042002>Bill Ossmann</SPAN></FONT><FONT face="Courier New" size=2><SPAN class=265431219-30042002></DIV></SPAN></FONT> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Gangakhedkar, Deependra D. (MED) [mailto:Deependra.Gangakhedkar@med.ge.com]<BR><B>Sent:</B> Tuesday, April 30, 2002 3:03 PM<BR><BR></DIV></FONT> <DIV><SPAN class=795114018-30042002><FONT face=Arial size=2>Here's what I would like to do -</FONT></SPAN></DIV> <DIV><SPAN class=795114018-30042002><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=795114018-30042002><FONT face=Arial size=2>I have a VEE package running on 1 machine using say an HP-XYZ analyser. I would like to run the same software on another machine which uses an HP-ABC analyser(different analyser).</FONT></SPAN></DIV> <DIV><SPAN class=795114018-30042002><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=795114018-30042002><FONT face=Arial size=2>Could anyone help me achieve this without having to change the code completely???</FONT></SPAN></DIV> <DIV><SPAN class=795114018-30042002><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN style="COLOR: navy; FONT-FAMILY: Verdana; mso-bidi-font-size: 10.0pt"><STRONG> </STRONG> <MARQUEE scrollAmount=3 scrollDelay=55 behavior=slide width=351 height=20>Deependra Gangakhedkar</MARQUEE></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>