AnsweredAssumed Answered

Vrf - RUNNING A MULTITHREADED APPLICATION USING VEE

Question asked by VRFuser on Jun 10, 1999
>From what I've seen:
You couldn't just take any old program and run it that way. It would have to
be written with the fact that the interface at anytime may be locked by
another application. The SRQ object will timeout if it cannot aquire a lock
for (timeout).

Transaction boxes on the other hand don't do that. I'm not sure how they
work exactly as far as aquiring locks, but in a single application no two
transaction boxes can fire at once since vee timeslices at the object level.
You would have to use INIT:MEAS and SRQ's instead of MEAS:VOLT taking care
that if the SRQ's timed out it would have to be handled for it to work.


-----Original Message-----
From: Moses_Juwillie@racalcomm.com [mailto:Moses_Juwillie@racalcomm.com]
Sent: Friday, June 11, 1999 9:11 AM
To: hpvxd_xc@hpislsup.lvld.hp.com
Subject: VRF: RUNNING A MULTITHREADED APPLICATION USING VEE


I am running VEE 5.01 on a Pentium with Windows 98.
I currently have a VEE program that sends instructions to a device on Com1
and reads back a voltage from an HP 3478A connected to a national instrument
GPIB card. This test takes 4 hours to complete so I am trying to run another
test simultaneously for a second device on Com2 and another HP 3478A
connected to the same GPIB card. My goal is to test up to 8 devices at the
same time. Here's my situation:
I was able to launch each test separately from the desktop. I always got
SERIOUS VEE ERRORS after a while.
I was able to launch each program from within another VEE program using
execute program (PC). This method also caused SERIOUS VEE ERRORS.
I have a time out of 15 seconds on both serial ports and for the DMM's.
Is it impossible to implement in VEE what I am trying to do OR am I doing
something wrong?
PLEASE HELP.

Moses Juwillie
Test Engineer
RACAL Communications, Inc.
moses_juwillie@racalcomm.com

Outcomes