AnsweredAssumed Answered

vrf Direct I/O for dummies

Question asked by VRFuser on Nov 3, 2006
All is now fine with the world and the average function does all that it should. Problem solved by rebooting (!!) and now the DMM average and my average are in total agreement. No idea why except the old pc was running many programs and had been on a long time (months).

I hope this also fixed the direct I/O and component problems.
Wish I could unsend.
Thanks
Jim

JPM wrote:
> oops, sorry. I can't believe I hit send before finishing. Here is the
> "rest of the story".
>
>
> Hi all,
> I am using an Agilent 34401A DMM to measure frequency from VEE one lab
> (the same as VEE 6 I beleive, I haven't gotten around to installing
> VEE pro 7.0 on this machine).

> I am using a panel driver (I know thats old) to illustrate the issues.

> 1. From the panel driver I set to MATH AVERAGE (1 sec)  The panel
> driver outputs both READING (which matches the display) and AVERAGE

> First issue: The first AVERAGE output is always 0, yet when I have VEE
> calulate the mean from the READING output they two #'s disagree (and
> the reading mean  is often lower so the 0 has not had much impact, I
> am only taking 10 readings. The AVERAGE shows much smaller
> fluctuations than averging the readings so I prefer to use that (if it
> is correct).

> SO AVERAGE does not seem to work the way I expect. Any insight to what
> is really happening?

> The VEE issue.
> I neet to turn math off so that the average clears after 10 or so
> readings (the experiment measures counts at 1 angle before moving to
> another angle). One way to clear the memory is to turn "min-max off"
> so when I put an input MATH terminal and set the input to 4 (which
> means average) the AVERAGE output ALWAYS SHOWS 0.

> So whenever I have the software set AVERAGE on, it doesn't produce an
> output.

> Same thing happens with a componet driver.

> My klugy solution is to make a single reading with a panel driver with
> MATH OFF and then take the real readings with MATH ON, stripping out
> the first "0" reading of the AVERAGE output and averaging these
> readings. The trouble is that the panel driver is SLOW.

> Repacing it with a componet driver when I set MATH to 4 (AVERAGE)
> refuses to produce an average.
> I am attaching two versions of the VEE code if anyone wants to play
> with it.
> In version wmath I explicitly set MATH to average (and it never does)-
> ignore the panel view and see MAINE.

> In the plane version math average is set from the panel driver and all
> is fine (sort of).

> For both these versions I am averaging the readings (instead of the
> AVERAGE output) so you can more easily see the problem.

> Any wisdom? And thanks in advance.
> Jim

> --- You are currently subscribed to vrf as: mcclymer@maine.edu 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 "www.oswegosw.com/vrf_archive/".

--
Jim McClymer, PhD
Graduate Coordinator
Department of Physics and Astronomy
University of Maine



---

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 "www.oswegosw.com/vrf_archive/".

Outcomes