ramarquardt@ra.rockwell.com wrote:
> It's easier than you think....
>
Nice solution ... I was working toward it but you were a few
steps ahead of me.
One minor tweak, though: generate "now()" externally
to the To String object and feed it to an input pin, rather
than invoke it multiple times during the execution of
To String.
Only using a single "now()" value ensures that you don't
get into some funny once-in-a-blue moon problem where
the action takes place right at the stroke of midnight and
you end up with your timestamp off by about 24 hours.
[<>] regards -- gvg
> It's easier than you think....
>
Nice solution ... I was working toward it but you were a few
steps ahead of me.
One minor tweak, though: generate "now()" externally
to the To String object and feed it to an input pin, rather
than invoke it multiple times during the execution of
To String.
Only using a single "now()" value ensures that you don't
get into some funny once-in-a-blue moon problem where
the action takes place right at the stroke of midnight and
you end up with your timestamp off by about 24 hours.
[<>] regards -- gvg
> We recently purchased a HPE 5503A Phase Noise Measurement System
> and are using it over our building LAN. We have 6 test stations, each testing
> a different product. These test stations have a Test Executive, which allows the
> operator to select from a list of test programs. Each test station has a Phase Noise
> Measurement program. We move the Measurement System from station to station,
> as needed by the operator. All of this is programmed in HP VEE 4.01.
> ( This System costs 150K, so you can see why we only bought one)
>
> My question/problem is this :
>
> One test station is using the System.
>
> A second station tries to run it's Phase Noise program, also trying to acquire the System.
> This could be by accident, or operator error. This System can only be used by one station
> at a time.
>
> Will this second station's session interfere with the one which is currently running?
> How can you stop anyone else from trying to acquire the System over the LAN?
I'm not sure what you mean by "acquire the System" ... is this an HPIB-based device
and you are using it over a LAN-HPIB gateway?
If so, your VEE program can include a Direct I/O object with an EXECUTE LOCK
transaction to ensure unique access to the system. This lock will be released if you
do an EXECUTE UNLOCK or terminate the program.
[%%] regards -- gvg
>
>
> We are running VEE on Pentium 166 computers with Windows NT 4.0.
> The System is setup in a Win NT domain using the building LAN. We are controlling
> the System with Direct_IO and SCPI commands.
>
> This is the first time anyone in my building has tried this. The System and HP VEE
> works great ... I'm just not sure about possible interference from others on the network.
> Thanks in advance for any comments/suggestions.
>
> ------------------------------------------------------------------------
>
> Michael Sullivan <msullivan@fallschurch.esys.com>
> Test Engineer - K21Staff
> Raytheon Systems Company
>
> Michael Sullivan
> Test Engineer - K21Staff <msullivan@fallschurch.esys.com>
> Raytheon Systems Company
> 7700 Arlington Boulevard Work: 703-560-5000 x2902
> MS:ML09 Fax: 703-849-1616
> Falls Church Netscape Conference Address
> Virginia Netscape Conference DLS Server
> 22042
> Additional Information:
> Last Name Sullivan
> First Name Michael
> Version 2.1