[time-nuts] OT: Anyone programmed HP 59306A relay actuator (or other old device)?
Didier Juges
didier at cox.net
Sun May 25 08:36:23 EDT 2008
David,
It appears as if exiting the program caused the unit to revert to local
mode, and assume the position selected by the switches.
Interesting, I had forgotten about that. I need to check if it does the same
with my controllers.
Thanks and congrats,
Didier
> -----Original Message-----
> From: time-nuts-bounces at febo.com
> [mailto:time-nuts-bounces at febo.com] On Behalf Of Dr. David Kirkby
> Sent: Sunday, May 25, 2008 2:42 AM
> To: Discussion of precise time and frequency measurement
> Subject: Re: [time-nuts] OT: Anyone programmed HP 59306A
> relay actuator (or other old device)?
>
> Dr. David Kirkby wrote:
> > I know this is a bit off-topic here, but has anyone here ever
> > programmed an HP 59306A relay actuator
> >
> >
> http://www.home.agilent.com/agilent/product.jspx?cc=US&lc=eng&nid=-536
> > 900193.536882169
> >
> > which consists of 6 SPDT relays programmable via GPIB?
> >
> >
>
> I eventually found the solution to this!
>
> My program sent the commands to the relay, then exited
> immediately. This does not work, but if one stays in the
> program then it works. I assumed that if the relays were set
> and the program exited, then they would remain in that state,
> which was an incorrect assumption. The following
> program:
>
> #include <sys/ugpib.h> /* Header file for GPIB commands on my
> Sun */ #include <unistd.h> /* Needed for sleep() */
>
> int main() {
> int device_descriptor;
>
> device_descriptor=ibdev(0,3,0,T3s,0,0);
> ibclr(device_descriptor);
> ibwrt(device_descriptor,"A123B4",6);
> sleep(20);
> }
>
> will set the relays 123 in position A and relay 4 in position
> B, then leave them there for 20 seconds. After 20s, the
> program will exit and they go back to whatever state is
> selected on the switches.
>
> Thanks to everyone that helped on this. I thought I'd post
> back, in case someone else has them and hits problems.
>
> Dave
>
Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.23.11/1422 - Release Date: 5/8/2008
5:24 PM
More information about the time-nuts
mailing list