AnsweredAssumed Answered

VRF- Controlling HP82000 from VEE

Question asked by VRFuser on Mar 17, 1997
>
> Dear Juan Carlos Martin:
>
> Thank you for your such fast respond. I also want to use socket object from VEE.
> But could you give your more detail explaination? I do not know whether you are familiar with the HP82000, What I want to do on the VEE side is
>
> * remote controlling HP382 workstation to download pin, timing, vectors to the hardware
> * remote controlling hp382 workstation to execute the test rountine
>
> I do not know whether I can implement the above function by using socket object. I think I must implement the server on workstation to reply respond of VEE, right?
>
> Welcome further suggestions
>
> Yin
>

Dear Yin,

We have a lot of experience with controlling the HP82000
from VEE. The models from HP don't work and they probably never will.
The current models are for VEE version 2.something and by the time
they upgrade to HP 3.something, we will be on HP 17.something.
(notice a lot of frustration !!!!!).  

Our solution:

Use the HP82000 shared library /hp82000/pws/lib/libTFc.sl
and connect it to VEE.
Put this interface in a file, for example interface.h:

void ExecTfFile  (char* filename, double* tf_result, int* tf_state);
void ExecTfParam (char* parameter, double* tf_result, int* tf_state);
void Hp82000Task (char* hpib_str, int* hpib_len, char* answ_str, int* answ_len, int* ret_state);
void GetHp82000State (int *state_p);
void GetDevPath  (char* dev_path_p);
void GetTesterModel (char *model_p);

The three first function are the most important,
and should be familiar to you.
The attached model contains an example.

KInd regards,

Frank Bouwman

--
+-------------------------------------------------------------+
| Frank Bouwman                 |                             |
|                               |                             |
| Philips Research Labs         | Phone +31 40 27 43640       |
| VLSI Design Automation & Test | Fax   +31 40 27 44657       |
| WAY4.101, BOX WAY41           |                             |
| Prof. Holstlaan 4     |-------------------------------------+
| 5656 AA Eindhoven     | bouwman@natlab.research.philips.com |      
| The Netherlands       | bouwman@nlwayhp (Philips SERI)      |
+-------------------------------------------------------------+
| http://130.139.187.36:8080/home/bouwman ... lcome.html    |
+-------------------------------------------------------------+

#! /nfs/maticora/usr/lib/veetest/veetest -r
(saveFormat "1.2")
(date "Mon 17/Mar/1997")
(SaveCF "no")
(filterNAN 0)
(component 0 "ROOTCONTEXT"
(name "Untitled")
(interface
)
(implementation
  (locked no)
  (trigMode rad)
  (nextID 7)
  (component 1 "START25"
   (interface
    (sequence out)
   )
   (implementation
   )
   (views
    (icon
    )
    (detail
     (origin 336 110)
     (extent 49 20)
    )
    (title off)
    (active detail)
   )
  )
  (component 2 "IMPORT"
   (name "Import libTFc library")
   (interface
    (sequence in)
    (sequence out)
   )
   (implementation
    (component libType "DLL")
    (component libName "tf_digital")
    (component fileName "/hp82000/pws/lib/libTFc.sl")
    (component defnFileName "/home/bouwman/interface.h")
   )
   (views
    (icon
     (origin 207 281)
     (extent 163 19)
    )
    (detail
     (origin 192 166)
     (extent 336 109)
    )
    (active detail)
   )
  )
  (component 4 "CALL"
   (name "Call Function")
   (interface
    (sequence in)
    (sequence out)
    (input 1
     (name "state_p")
     (requires
      (datatype Int32)
     )
     (optional yes)
    )
    (output 1
     (name "state_p")
     (lock name constraints)
     (optional yes)
    )
   )
   (implementation
    (component callFunc "tf_digital.GetHp82000State")
    (component parmMode "rev30")
   )
   (views
    (icon
    )
    (detail
     (origin 252 335)
     (extent 216 51)
    )
    (terminals on)
    (active detail)
   )
  )
  (component 5 "CONSTANT"
   (name "Integer")
   (subType "Integer")
   (interface
    (sequence in)
    (sequence out)
    (output 1
     (name "Int32")
     (lock name constraints)
    )
   )
   (implementation
    (component value Int32
     (data  0     )
    )
    (component initValue Int32
     (data  0     )
    )
   )
   (views
    (icon
    )
    (detail
     (origin 74 346)
     (extent 92 29)
     (showFormat int)
    )
    (active detail)
   )
  )
  (component 6 "TEXTDISPLAY"
   (interface
    (sequence in)
    (sequence out)
    (input 1
     (name "Data")
    )
   )
   (implementation
    (component clearAtPrerun 1)
    (component clearAtActivate 1)
   )
   (views
    (icon
    )
    (detail
     (origin 587 358)
     (extent 146 25)
    )
    (active detail)
   )
  )
  (configuration
   (connect D0:0 D1:0)
   (connect D1:0 D2:0)
   (connect D3:1 D2:1)
   (connect D2:1 D4:1)
  )
)
(views
  (detail
   (origin 0 47)
   (extent 900 453)
   (configuration
    (connect D0:0 D1:0
     (Point 360 132)
     (Point 360 145)
    )
    (connect D1:0 D2:0
     (Point 360 277)
     (Point 360 314)
    )
    (connect D3:1 D2:1
     (Point 168 360)
     (Point 189 360)
    )
    (connect D2:1 D4:1
     (Point 530 360)
     (Point 550 360)
     (Point 550 370)
     (Point 584 370)
    )
   )
   (stackingOrder 0 1 2 3 4)
  )
  (active detail)
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
)
)



Outcomes