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: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED] 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 -- [email protected]
> To unsubscribe, go to 
> https://www.febo.com/cgi-> bin/mailman/listinfo/time-nuts
> and 
> follow the instructions there.
> 


_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to