[time-nuts] OT: Test for NI IEEE-488 interface

Ulrich Bangert df6jb at ulrich-bangert.de
Sun Oct 7 05:04:43 EDT 2007


John,

you are saying that the first device detected by the dll is always named
"GPIB0"? That would make life easy.

73s and my best regards
Ulrich

> -----Ursprungliche Nachricht-----
> Von: time-nuts-bounces at febo.com 
> [mailto:time-nuts-bounces at febo.com] Im Auftrag von John Miles
> Gesendet: Samstag, 6. Oktober 2007 20:27
> An: Discussion of precise time and frequency measurement
> Betreff: Re: [time-nuts] OT: Test for NI IEEE-488 interface
> 
> 
> ); SAEximRunCond expanded to false
> Errors-To: time-nuts-bounces+df6jb=ulrich-bangert.de at febo.com RETRY
> 
> Hi, Ulrich --
> 
> I only support the GPIB0 device name in my package, so it's 
> easy enough in my case to do an ibfind("GPIB0").  If that 
> returns >= 0 (and the ERR flag is not set in the returned 
> value), then I do an ibonl(GPIB0,0) to close the handle, and 
> assume that a valid National Instruments interface is present.
> 
> If you wanted to support other device names, you'd need to 
> repeat that procedure for all of them, I imagine.
> 
> -- john, KE5FX
> 
> 
> > -----Original Message-----
> > From: time-nuts-bounces at febo.com 
> [mailto:time-nuts-bounces at febo.com]On
> > Behalf Of Ulrich 
> Bangert
> > Sent: Saturday, October 06, 2007 5:23 AM
> > To: Time nuts
> > Subject: [time-nuts] OT: Test for NI IEEE-488 interface
> >
> >
> > ); SAEximRunCond expanded to false
> > Errors-To: time-nuts-bounces+jmiles=pop.net at febo.com RETRY
> >
> > Gentlemen,
> >
> > I know this is a bit OT but otherwise I also know that some 
> of you are 
> > well acquainted to IEEE-488 data acqusition:
> >
> 
> 
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to 
> https://www.febo.com/cgi-> bin/mailman/listinfo/time-nuts
> and 
> follow the instructions there.
> 




More information about the time-nuts mailing list