You can get the last 50 records by specifying that section of the
array as follows:
+----------------------+
| |
+--------------+ | +--------------+ | +------------------------+
| From DataSet | | | totSize(x) | | | Formula |
+--------------+ | +--------------+ | +------------------------+
| |--+--|x| totSize(x) |-+ +--|A| |
+--------------+ +--------------+ | |-| A[max([0,B-50]):B-1] |
+-----|B| |
+------------------------+
The max() function ensures that when there's less than 50 records,
you'll get all of the records.
Regards,
Bruce Wenner
HP St. Paul
______________________________ Reply Separator _________________________________
Subject: Question about records and datasets
Author: Non-HP-rdm (rdm@granville.com) at HP-USA/o2=mimegw3
Date: 9/8/97 1:26 PM
I'm new to HP VEE 4.0 so hopefully there is a simple solution to my
problem.
I want to search a dataset and "grab" the most recently added 50 records
within it. Then I want to extract the values of ONE of the fields of
all 50 records and compute the average value.
I don't know what search specifier to use in the "From Data Set" box so
that I will always get the last 50 records. (The total number of
records will continually increase.) One of the fields will be a time
stamp; perhaps there is some way to "grab" the 50 records with the
"smallest" time stamp?
Thanks for any help
Roger Martin
rmartin@granville.com
problem.
I want to search a dataset and "grab" the most recently added 50 records
within it. Then I want to extract the values of ONE of the fields of
all 50 records and compute the average value.
I don't know what search specifier to use in the "From Data Set" box so
that I will always get the last 50 records. (The total number of
records will continually increase.) One of the fields will be a time
stamp; perhaps there is some way to "grab" the 50 records with the
"smallest" time stamp?
Thanks for any help
Roger Martin
rmartin@granville.com
Date: Thu, 4 Sep 97 13:06 +0100
From: m.nass@t-online.de (Michael Nass)
Subject: RE: VRF- VEE as HPIB client?
To: stanb@hpnmrsb2.sr.hp.com (Stan Bischof)
Hello Stan
I have a simillar Problem, by using VEE as a HPIB client.
I want to communicate with an other VEE Computer by using the HPIB.
But I cant acess the HPIB if VEE works as an client.
Would you tell me the solution, if you found once?
Many thanks
Christian Loos
Ch.Loos@ce-sys.de
CE-SYS GmbH
Am Hammergrund 1
98693 Ilmenau
Germany
From: Greg Goebel <gvg@hpislsup.lvld.hp.com>
Subject: Re: VRF?
To: stanb@hpnmrsb2.sr.hp.com (Stan Bischof)
Date: Mon, 8 Sep 97 8:36:23 MDT
>
> Hi Greg
>
> I thought for sure that information e the Vee Reflector was on the web,but for the life of me I can't seem to find it.
>
> In particular I've been asked how to subscribe, how to unsubscribe, and I figured that this just must be on the wbe somewhere. Please oint me th right way!
Not that I know of. I'll have to put a link on the website.
> thanks
> Stan Bischof
> stanb@sr.hp.com
[<>] regards -- gvg
From: Greg Goebel <gvg@hpislsup.lvld.hp.com>
Subject: Re: I/O
To: stanb@hpnmrsb2.sr.hp.com (Stan Bischof)
Date: Mon, 8 Sep 97 8:52:16 MDT
> Hi Greg
>
> I note in the September "Exchange" that there are no plans to do I/O libraries
> for HPUX 10.3 and 11. Does that mean that 10.2 is the end of the line for any
> instrument I/O from HP workstations?
No. 10.3 is not going to be supported on Workstations and there are a few
dicey things about 11 as well (something about a 64-bit OS). They don't see
a problem, but I am trying to get clarification from them.
> Or are there plans for the future other than NT? Perhaps when Merced hits?
>
> thanks for anything you can share
>
> Stan
>
>
> ----------------------------------------------------------------------
> Stan Bischof Hewlett Packard Company 707-577-3994 stanb@sr.hp.com
> ----------------------------------------------------------------------
>
From: Greg Goebel <gvg@hpislsup.lvld.hp.com>
Subject: Re: VRF- VEE as HPIB client?
To: stanb@hpnmrsb2.sr.hp.com (Stan Bischof)
Date: Mon, 8 Sep 97 8:54:20 MDT
>
> Hello
>
> This one is new to me so I'm hoping that someone else has tackled it before:
>
> What I would like to do is to simulate using VEE the front end of an instrument.
> That is VEE will control some hardware but will in turn be controlled over an
> HPIB bus by an external program.
>
> The question then is- how do I configure VEE to be an HPIB "client" rather than
> the normal action of being a controller?
Stan:
You can't. When you don't have controller privileges you cannot read or
write HPIB data with VEE.
If you have more questions, please let us know.
[<>] regards -- gvg
From: Chris Plumb <chrisp@sapphire.sr.hp.com>
Subject: Re: VEE controlled via HPIB
To: stanb@hpnmrsb2.sr.hp.com (Stan Bischof)
Date: Mon, 8 Sep 1997 08:58:33 -0700 (PDT)
Hello Stan,
Thank you for checking into using vee as an HP-IB slave. If I end up writing
a program to accept HP-IB commands and pipe them to vee, I will let you know.
Later,
Chris.