If you can locate the hardware I/O port for the the battery meter and read
back a binary status word that makes sense, you could implement that with
the PeekPoke DLL available from the HP VEE FTP site. That would save you
from writing a DLL yourself. Don't expect it to generate an interrupt -
you'll have to poll it continuously.
With software development so expensive and hardware so cheap, you could use
a $1000 DMM to hang across the mains that has limit tests. Set it up to
generate an SRQ when the voltage falls below spec. VEE can interrupt on an
SRQ
If you are only using the speaker to warn the operators, you could write a
background program to run alongside VEE and have it work completely
independently.
I haven't tried any of this, so you can dismiss this as clueless chatter...
Jim Kneale
(standard disclaimer)
______________________________ Reply Separator _________________________________
Subject: Vrf: Portable Computers accessing the Battery Meter
Author: Alasdair Wilkie <as04@dial.pipex.com> at BALT.SMTP
Date: 1/2/97 3:36 PM
Hi,
Happy New Year to everyone.
A small problem but one that I believe someone out there can overcome for me.
I am using a portable pc (Panasonic CF62), together with a PCMCIA GPIB card,
Win95 and VEE 3.21.
My pc is accessing a number of instruments and is being used unattended.
My problem is how can I get HP VEE to access the battery meter that is on the
system tray to tell me when the mains power has been lost and warn the
operators, via the soundcard and external speakers.
I believe that the driver being used is powercfg.dll but am not 100% sure.
Does anybody have any ideas?
Many thanks
Alasdair Wilkie
back a binary status word that makes sense, you could implement that with
the PeekPoke DLL available from the HP VEE FTP site. That would save you
from writing a DLL yourself. Don't expect it to generate an interrupt -
you'll have to poll it continuously.
With software development so expensive and hardware so cheap, you could use
a $1000 DMM to hang across the mains that has limit tests. Set it up to
generate an SRQ when the voltage falls below spec. VEE can interrupt on an
SRQ
If you are only using the speaker to warn the operators, you could write a
background program to run alongside VEE and have it work completely
independently.
I haven't tried any of this, so you can dismiss this as clueless chatter...
Jim Kneale
(standard disclaimer)
______________________________ Reply Separator _________________________________
Subject: Vrf: Portable Computers accessing the Battery Meter
Author: Alasdair Wilkie <as04@dial.pipex.com> at BALT.SMTP
Date: 1/2/97 3:36 PM
Hi,
Happy New Year to everyone.
A small problem but one that I believe someone out there can overcome for me.
I am using a portable pc (Panasonic CF62), together with a PCMCIA GPIB card,
Win95 and VEE 3.21.
My pc is accessing a number of instruments and is being used unattended.
My problem is how can I get HP VEE to access the battery meter that is on the
system tray to tell me when the mains power has been lost and warn the
operators, via the soundcard and external speakers.
I believe that the driver being used is powercfg.dll but am not 100% sure.
Does anybody have any ideas?
Many thanks
Alasdair Wilkie
Need Help: Execute HP83000/HP82000 Firmware commands thru "Call Function"
in VEE
From: Ricky Lai / Compaq Computer Corp.
ricky@sleepy.mat.hou.compaq.com
Date: Thursday, Dec 26 1996 1730 CST
*************************************************************************
On the HP83000 (as well as HP82000) testers, the firmware commands can be
executed by merging the /hp83000/vee/lib/tpi_llv/HpFwTask module into a
Veeflow. A HP83000 firmware command, like "SPRM 1,1,1,1", can be passed
into the "HpFwTask" module thru the task_str input terminal.
This works fine as long as the "HpFwTask" module is stand-alone or inside
an UserObject in the Veeflow. It also works fine if it is inside an
UserFunction.
However, if there are two "HpFwTask" modules in a Veeflow with the first
"HpFwTask" module being stand-alone (or inside an UserObject) and the second
"HpFwTask" module being inside an UserFunction, then the second "HpFwTask"
module will fail to run and will generate the following error message:
Error during 'seek' of file
In Transaction number 2
Object title: Write Command/Read Size
Object Type: Named Pipe
In UserFunction: xxx
Error number: 726
Since the "HpFwTask" module was a Secured UserObject, there is no way I can
Unpack it in order to understand what Transaction number 2 is doing.
If anyone can help, please responds to my email address above.
Thanks!